diff --git a/ceph.ini b/ceph.ini deleted file mode 100644 index 5989846107d2acd1921b93ce01a87bd25cecfcee..0000000000000000000000000000000000000000 --- a/ceph.ini +++ /dev/null @@ -1,145 +0,0 @@ -; ====================================================================== -; -; CEPH GRAPHS -; - Ceph-diskfree -; - Ceph-osd -; -; ---------------------------------------------------------------------- -; 2020-03-25 <axel.hahn@iml.unibe.ch> initial version -; ====================================================================== - - -; ====================================================================== -; -; CEPH DISKFREE -; -; show usage for USED and AVAILABLE diskspace as -; - stacked graph and -; - pie -; -; ====================================================================== - - -; ---------------------------------------------------------------------- -; graph -; ---------------------------------------------------------------------- - -[cephdiskfree.graph] -check_command = "Ceph-diskfree" - - -[cephdiskfree.urlparams] -areaAlpha = "0.2" -areaMode = "stacked" -colorList = "6699aa,66cc88,d0d8da" -; ^ ^ ^ -; used avail total -lineWidth = "2" -min = "0" -yUnitSystem = "binary" - - -[cephdiskfree.metrics_filters] -used = "$service_name_template$.perfdata.global-used.value" -avail = "$service_name_template$.perfdata.global-avail.value" -; total = "$service_name_template$.perfdata.global-total.value" - - -[cephdiskfree.functions] -used = "alias($metric$, 'Used')" -avail = "alias($metric$, 'Available')" -; total = "alias($metric$, 'Total')" - - -; ---------------------------------------------------------------------- -; PIE chart -; ---------------------------------------------------------------------- - -[cephdiskfreepie.graph] -check_command = "Ceph-diskfree" - - -[cephdiskfreepie.urlparams] -; colorList = "6699aa,66cc88,6699aaAA,6699aa88,6699aa44,88ccdd" -colorList = "6699aa,ddddee" -; ^ ^ -; used avail -graphType = "pie" -title = "Average amount of used vs. free space" - - -[cephdiskfreepie.metrics_filters] -used = "$service_name_template$.perfdata.global-used.value" -avail = "$service_name_template$.perfdata.global-avail.value" - - -[cephdiskfreepie.functions] -used = "alias($metric$, 'Diskspace Used')" -avail = "alias($metric$, 'Diskspace Available (stacked)')" - - - -; ====================================================================== -; -; CEPH OSD -; -; show OSDs UP and DOWN as -; - stacked graph and -; - pie -; -; ====================================================================== - -; ---------------------------------------------------------------------- -; graph -; ---------------------------------------------------------------------- - -[cephosd.graph] -check_command = "Ceph-osd" - - -[cephosd.urlparams] -areaAlpha = "0.2" -areaMode = "stacked" -colorList = "ff3333,6699aa" -; ^ ^ -; down up -lineWidth = "2" -min = "0" -yUnitSystem = "binary" - - -[cephosd.metrics_filters] -down = "$service_name_template$.perfdata.osd-down.value" -up = "$service_name_template$.perfdata.osd-up.value" -; total = "$service_name_template$.perfdata.global-total.value" - - -[cephosd.functions] -down = "alias($metric$, 'down')" -up = "alias($metric$, 'up')" -; total = "alias($metric$, 'Total')" - - -; ---------------------------------------------------------------------- -; PIE chart -; ---------------------------------------------------------------------- - -[cephosdpie.graph] -check_command = "Ceph-osd" - - -[cephosdpie.urlparams] -colorList = "ff3333,ddddee" -; ^ ^ -; down up -graphType = "pie" -title = "OSDs up vs. down" - - -[cephosdpie.metrics_filters] -down = "$service_name_template$.perfdata.osd-down.value" -up = "$service_name_template$.perfdata.osd-up.value" - -[cephosdpie.functions] -down = "alias($metric$, 'down')" -up = "alias($metric$, 'up')" \ No newline at end of file diff --git a/file_age.ini b/file_age.ini deleted file mode 100644 index 7be72adab6ac984389c2be03e837baf08603b563..0000000000000000000000000000000000000000 --- a/file_age.ini +++ /dev/null @@ -1,32 +0,0 @@ -[file_age-age.graph] -check_command = "file_age" - -[file_age-age.metrics_filters] -value = "$service_name_template$.perfdata.age.value" - -[file_age-age.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "sec" - -[file_age-age.functions] -value = "alias(color($metric$, '#1a7dd7'), 'File age (s)')" - - -[file_age-size.graph] -check_command = "file_age" - -[file_age-size.metrics_filters] -value = "$service_name_template$.perfdata.size.value" - -[file_age-size.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "binary" - -[file_age-size.functions] -value = "alias(color($metric$, '#1a7dd7'), 'File size (bytes)')" diff --git a/fping.ini b/fping.ini deleted file mode 100644 index 0b2b41d190a82ba9bc9ca4377007af0fa2f33bcc..0000000000000000000000000000000000000000 --- a/fping.ini +++ /dev/null @@ -1,32 +0,0 @@ -[fping-rta.graph] -check_command = "fping, fping4, fping6" - -[fping-rta.metrics_filters] -rta.value = "$service_name_template$.perfdata.rta.value" - -[fping-rta.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[fping-rta.functions] -rta.value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Round trip time (ms)')" - - -[fping-loss.graph] -check_command = "fping, fping4, fping6" - -[fping-loss.metrics_filters] -loss.value = "$service_name_template$.perfdata.loss.value" - -[fping-loss.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[fping-loss.functions] -loss.value = "alias(color($metric$, '#1a7dd7'), 'Packet loss (%)')" diff --git a/icinga.ini b/icinga.ini deleted file mode 100644 index b178fb2eb3ae0d5abbda83de4f62e7715d93f36f..0000000000000000000000000000000000000000 --- a/icinga.ini +++ /dev/null @@ -1,302 +0,0 @@ -[icinga-uptime.graph] -check_command = "icinga" - -[icinga-uptime.metrics_filters] -uptime.value = "$service_name_template$.perfdata.uptime.value" - -[icinga-uptime.urlparams] -title = "Uptime" -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "sec" - -[icinga-uptime.functions] -uptime.value = "alias(color($metric$, '#1a7dd7'), 'Uptime (s)')" - - -[icinga-host-checks.graph] -check_command = "icinga" - -[icinga-host-checks.metrics_filters] -active_host_checks.value = "$service_name_template$.perfdata.active_host_checks.value" -passive_host_checks.value = "$service_name_template$.perfdata.passive_host_checks.value" - -[icinga-host-checks.urlparams] -title = "Host Checks" -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-host-checks.functions] -active_host_checks.value = "alias(color($metric$, '#1a7dd7'), 'Active/s')" -passive_host_checks.value = "alias(color($metric$, '#0b3c68'), 'Passive/s')" - - -[icinga-service-checks.graph] -check_command = "icinga" - -[icinga-service-checks.metrics_filters] -active_service_checks.value = "$service_name_template$.perfdata.active_service_checks.value" -passive_service_checks.value = "$service_name_template$.perfdata.passive_service_checks.value" - -[icinga-service-checks.urlparams] -title = "Service Checks" -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-service-checks.functions] -active_service_checks.value = "alias(color($metric$, '#1a7dd7'), 'Active/s')" -passive_service_checks.value = "alias(color($metric$, '#0b3c68'), 'Passive/s')" - - -[icinga-hosts-state.graph] -check_command = "icinga" - -[icinga-hosts-state.metrics_filters] -num_hosts_up.value = "$service_name_template$.perfdata.num_hosts_up.value" -num_hosts_down.value = "$service_name_template$.perfdata.num_hosts_down.value" -num_hosts_unreachable.value = "$service_name_template$.perfdata.num_hosts_unreachable.value" -num_hosts_pending.value = "$service_name_template$.perfdata.num_hosts_pending.value" - -[icinga-hosts-state.urlparams] -title = "Host States" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-hosts-state.functions] -num_hosts_up.value = "alias(color($metric$, '#44bb77'), 'Up')" -num_hosts_down.value = "alias(color($metric$, '#ff5566'), 'Down')" -num_hosts_unreachable.value = "alias(color($metric$, '#c70fff'), 'Unreachable')" -num_hosts_pending.value = "alias(color($metric$, '#1a7dd7'), 'Pending')" - - -[icinga-hosts-condition.graph] -check_command = "icinga" - -[icinga-hosts-condition.metrics_filters] -num_hosts_flapping.value = "$service_name_template$.perfdata.num_hosts_flapping.value" -num_hosts_in_downtime.value = "$service_name_template$.perfdata.num_hosts_in_downtime.value" -num_hosts_acknowledged.value = "$service_name_template$.perfdata.num_hosts_acknowledged.value" - -[icinga-hosts-condition.urlparams] -title = "Host Conditions" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-hosts-condition.functions] -num_hosts_flapping.value = "alias(color($metric$, '#c70fff'), 'Flapping')" -num_hosts_in_downtime.value = "alias(color($metric$, '#1a7dd7'), 'In Downtime')" -num_hosts_acknowledged.value = "alias(color($metric$, '#0b3c68'), 'Acknowledged')" - - -[icinga-services-state.graph] -check_command = "icinga" - -[icinga-services-state.metrics_filters] -num_services_ok.value = "$service_name_template$.perfdata.num_services_ok.value" -num_services_warning.value = "$service_name_template$.perfdata.num_services_warning.value" -num_services_critical.value = "$service_name_template$.perfdata.num_services_critical.value" -num_services_unknown.value = "$service_name_template$.perfdata.num_services_unknown.value" -num_services_pending.value = "$service_name_template$.perfdata.num_services_pending.value" -num_services_unreachable.value = "$service_name_template$.perfdata.num_services_unreachable.value" - -[icinga-services-state.urlparams] -title = "Service States" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-services-state.functions] -num_services_ok.value = "alias(color($metric$, '#44bb77'), 'Ok')" -num_services_warning.value = "alias(color($metric$, '#ffaa44'), 'Warning')" -num_services_critical.value = "alias(color($metric$, '#ff5566'), 'Critical')" -num_services_unknown.value = "alias(color($metric$, '#595959'), 'Unknown')" -num_services_pending.value = "alias(color($metric$, '#1a7dd7'), 'Pending')" -num_services_unreachable.value = "alias(color($metric$, '#c70fff'), 'Unreachable')" - - -[icinga-services-condition.graph] -check_command = "icinga" - -[icinga-services-condition.metrics_filters] -num_services_flapping.value = "$service_name_template$.perfdata.num_services_flapping.value" -num_services_in_downtime.value = "$service_name_template$.perfdata.num_services_in_downtime.value" -num_services_acknowledged.value = "$service_name_template$.perfdata.num_services_acknowledged.value" - -[icinga-services-condition.urlparams] -title = "Service Conditions" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-services-condition.functions] -num_services_flapping.value = "alias(color($metric$, '#c70fff'), 'Flapping')" -num_services_in_downtime.value = "alias(color($metric$, '#1a7dd7'), 'In Downtime')" -num_services_acknowledged.value = "alias(color($metric$, '#0b3c68'), 'Acknowledged')" - - -[icinga-latency.graph] -check_command = "icinga" - -[icinga-latency.metrics_filters] -min_latency.value = "$service_name_template$.perfdata.min_latency.value" -avg_latency.value = "$service_name_template$.perfdata.avg_latency.value" -max_latency.value = "$service_name_template$.perfdata.max_latency.value" - -[icinga-latency.urlparams] -title = "Check Latency" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "sec" - -[icinga-latency.functions] -min_latency.value = "alias(color($metric$, '#61aaed'), 'Min (s)')" -avg_latency.value = "alias(color($metric$, '#1a7dd7'), 'Avg (s)')" -max_latency.value = "alias(color($metric$, '#0b3c68'), 'Max (s)')" - - -[icinga-execution-time.graph] -check_command = "icinga" - -[icinga-execution-time.metrics_filters] -min_execution_time.value = "$service_name_template$.perfdata.min_execution_time.value" -avg_execution_time.value = "$service_name_template$.perfdata.avg_execution_time.value" -max_execution_time.value = "$service_name_template$.perfdata.max_execution_time.value" - -[icinga-execution-time.urlparams] -title = "Check Execution Time" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "sec" - -[icinga-execution-time.functions] -min_execution_time.value = "alias(color($metric$, '#61aaed'), 'Min (s)')" -avg_execution_time.value = "alias(color($metric$, '#1a7dd7'), 'Avg (s)')" -max_execution_time.value = "alias(color($metric$, '#0b3c68'), 'Max (s)')" - - -[icinga-api-endpoints.graph] -check_command = "icinga" - -[icinga-api-endpoints.metrics_filters] -api_num_endpoints.value = "$service_name_template$.perfdata.api_num_endpoints.value" -api_num_conn_endpoints.value = "$service_name_template$.perfdata.api_num_conn_endpoints.value" -api_num_not_conn_endpoints.value = "$service_name_template$.perfdata.api_num_not_conn_endpoints.value" - -[icinga-api-endpoints.urlparams] -title = "API Endpoints" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-api-endpoints.functions] -api_num_endpoints.value = "alias(color($metric$, '#61aaed'), 'All')" -api_num_conn_endpoints.value = "alias(color($metric$, '#1a7dd7'), 'Connected')" -api_num_not_conn_endpoints.value = "alias(color($metric$, '#0b3c68'), 'Not Connected')" - - -[icinga-api-http-clients.graph] -check_command = "icinga" - -[icinga-api-http-clients.metrics_filters] -api_num_http_clients.value = "$service_name_template$.perfdata.api_num_http_clients.value" - -[icinga-api-http-clients.urlparams] -title = "API" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-api-http-clients.functions] -api_num_http_clients.value = "alias(color($metric$, '#1a7dd7'), 'HTTP Clients')" - - -[icinga-checker.graph] -check_command = "icinga" - -[icinga-checker.metrics_filters] -checkercomponent_checker_idle.value = "$service_name_template$.perfdata.checkercomponent_checker_idle.value" -checkercomponent_checker_pending.value = "$service_name_template$.perfdata.checkercomponent_checker_pending.value" - -[icinga-checker.urlparams] -title = "Checker" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-checker.functions] -checkercomponent_checker_idle.value = "alias(color($metric$, '#61aaed'), 'Idle')" -checkercomponent_checker_pending.value = "alias(color($metric$, '#1a7dd7'), 'Pending')" - - -[icinga-ido-mysql-queries.graph] -check_command = "icinga" - -[icinga-ido-mysql-queries.metrics_filters] -idomysqlconnection_ido-mysql_queries_rate.value = "$service_name_template$.perfdata.idomysqlconnection_ido-mysql_queries_rate.value" - -[icinga-ido-mysql-queries.urlparams] -title = "IDO MySQL" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-ido-mysql-queries.functions] -idomysqlconnection_ido-mysql_queries_rate.value = "alias(color($metric$, '#1a7dd7'), 'Queries/s')" - - -[icinga-ido-mysql-queue.graph] -check_command = "icinga" - -[icinga-ido-mysql-queue.metrics_filters] -idomysqlconnection_ido-mysql_query_queue_items.value = "$service_name_template$.perfdata.idomysqlconnection_ido-mysql_query_queue_items.value" -idomysqlconnection_ido-mysql_query_queue_item_rate.value = "$service_name_template$.perfdata.idomysqlconnection_ido-mysql_query_queue_item_rate.value" - -[icinga-ido-mysql-queue.urlparams] -title = "IDO MySQL Queue" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-ido-mysql-queue.functions] -idomysqlconnection_ido-mysql_query_queue_items.value = "alias(color($metric$, '#1a7dd7'), 'Items')" -idomysqlconnection_ido-mysql_query_queue_item_rate.value = "alias(color($metric$, '#0b3c68'), 'Items/s')" - - -[icinga-graphite-queue.graph] -check_command = "icinga" - -[icinga-graphite-queue.metrics_filters] -graphitewriter_graphite_work_queue_items.value = "$service_name_template$.perfdata.graphitewriter_graphite_work_queue_items.value" -graphitewriter_graphite_work_queue_item_rate.value = "$service_name_template$.perfdata.graphitewriter_graphite_work_queue_item_rate.value" - -[icinga-graphite-queue.urlparams] -title = "Graphite Queue" -areaMode = "none" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icinga-graphite-queue.functions] -graphitewriter_graphite_work_queue_items.value = "alias(color($metric$, '#1a7dd7'), 'Items')" -graphitewriter_graphite_work_queue_item_rate.value = "alias(color($metric$, '#0b3c68'), 'Items/s')" diff --git a/icmp.ini b/icmp.ini deleted file mode 100644 index cb606550e011d7e952c0491b556ff37fd62088cc..0000000000000000000000000000000000000000 --- a/icmp.ini +++ /dev/null @@ -1,36 +0,0 @@ -[icmp-rt.graph] -check_command = "icmp" - -[icmp-rt.metrics_filters] -rtmin.value = "$service_name_template$.perfdata.rtmin.value" -rta.value = "$service_name_template$.perfdata.rta.value" -rtmax.value = "$service_name_template$.perfdata.rtmax.value" - -[icmp-rt.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icmp-rt.functions] -rtmin.value = "alias(color(scale($metric$, 1000), '#44bb77'), 'Min. round trip time (ms)')" -rta.value = "alias(color(scale($metric$, 1000), '#ffaa44'), 'Avg. round trip time (ms)')" -rtmax.value = "alias(color(scale($metric$, 1000), '#ff5566'), 'Max. round trip time (ms)')" - - -[icmp-pl.graph] -check_command = "icmp" - -[icmp-pl.metrics_filters] -pl.value = "$service_name_template$.perfdata.pl.value" - -[icmp-pl.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[icmp-pl.functions] -pl.value = "alias(color($metric$, '#1a7dd7'), 'Packet loss (%)')" diff --git a/apache-requests.ini b/iml_apache-requests.ini similarity index 100% rename from apache-requests.ini rename to iml_apache-requests.ini diff --git a/ceph-diskfree.ini b/iml_ceph-diskfree.ini similarity index 100% rename from ceph-diskfree.ini rename to iml_ceph-diskfree.ini diff --git a/cpu.ini b/iml_cpu.ini similarity index 100% rename from cpu.ini rename to iml_cpu.ini diff --git a/default.ini b/iml_default.ini similarity index 100% rename from default.ini rename to iml_default.ini diff --git a/disk-io.ini b/iml_disk-io.ini similarity index 100% rename from disk-io.ini rename to iml_disk-io.ini diff --git a/disk-ticks.ini b/iml_disk-ticks.ini similarity index 100% rename from disk-ticks.ini rename to iml_disk-ticks.ini diff --git a/disk.ini b/iml_disk.ini similarity index 100% rename from disk.ini rename to iml_disk.ini diff --git a/eol.ini b/iml_eol.ini similarity index 100% rename from eol.ini rename to iml_eol.ini diff --git a/haproxy-status.ini b/iml_haproxy-status.ini similarity index 100% rename from haproxy-status.ini rename to iml_haproxy-status.ini diff --git a/hostalive.ini b/iml_hostalive.ini similarity index 100% rename from hostalive.ini rename to iml_hostalive.ini diff --git a/load.ini b/iml_load.ini similarity index 100% rename from load.ini rename to iml_load.ini diff --git a/memory.ini b/iml_memory.ini similarity index 100% rename from memory.ini rename to iml_memory.ini diff --git a/mysqlserver-commands.ini b/iml_mysqlserver-commands.ini similarity index 100% rename from mysqlserver-commands.ini rename to iml_mysqlserver-commands.ini diff --git a/mysqlserver-connections.ini b/iml_mysqlserver-connections.ini similarity index 100% rename from mysqlserver-connections.ini rename to iml_mysqlserver-connections.ini diff --git a/mysqlserver-connects.ini b/iml_mysqlserver-connects.ini similarity index 100% rename from mysqlserver-connects.ini rename to iml_mysqlserver-connects.ini diff --git a/mysqlserver-qcache-blocks.ini b/iml_mysqlserver-qcache-blocks.ini similarity index 100% rename from mysqlserver-qcache-blocks.ini rename to iml_mysqlserver-qcache-blocks.ini diff --git a/mysqlserver-qcache-hits.ini b/iml_mysqlserver-qcache-hits.ini similarity index 100% rename from mysqlserver-qcache-hits.ini rename to iml_mysqlserver-qcache-hits.ini diff --git a/netio.ini b/iml_netio.ini similarity index 100% rename from netio.ini rename to iml_netio.ini diff --git a/netstat.ini b/iml_netstat.ini similarity index 100% rename from netstat.ini rename to iml_netstat.ini diff --git a/php-fpm-status.ini b/iml_php-fpm-status.ini similarity index 100% rename from php-fpm-status.ini rename to iml_php-fpm-status.ini diff --git a/response-time.ini b/iml_response-time.ini similarity index 100% rename from response-time.ini rename to iml_response-time.ini diff --git a/snmp-cpu.ini b/iml_snmp-cpu.ini similarity index 100% rename from snmp-cpu.ini rename to iml_snmp-cpu.ini diff --git a/update-available.ini b/iml_update-available.ini similarity index 100% rename from update-available.ini rename to iml_update-available.ini diff --git a/interfacetable.ini b/interfacetable.ini deleted file mode 100644 index 359d2019573b67447617955d53e3905761cecf14..0000000000000000000000000000000000000000 --- a/interfacetable.ini +++ /dev/null @@ -1,52 +0,0 @@ -[interfacetable-traffic.graph] -check_command = "interfacetable" - -[interfacetable-traffic.metrics_filters] -bpsin = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.BpsIn.value" -bpsout = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.BpsOut.value" - -[interfacetable-traffic.urlparams] -min = "0" -title = "Interface $interface$" -lineWidth = "2" -yUnitSystem = "si" - -[interfacetable-traffic.functions] -bpsin = "alias(color($metric$, '#1a7dd7'), 'Traffic in (B/s)')" -bpsout = "alias(color($metric$, '#0b3c68'), 'Traffic out (B/s)')" - - -[interfacetable-discard.graph] -check_command = "interfacetable" - -[interfacetable-discard.metrics_filters] -ppsindiscard = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.PpsInDiscard.value" -ppsoutdiscard = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.PpsOutDiscard.value" - -[interfacetable-discard.urlparams] -min = "0" -title = "Interface $interface$" -lineWidth = "2" -yUnitSystem = "si" - -[interfacetable-discard.functions] -ppsindiscard = "alias(color($metric$, '#edb017'), 'Discard in (B/s)')" -ppsoutdiscard = "alias(color($metric$, '#ad7d05'), 'Discard out (B/s)')" - - -[interfacetable-error.graph] -check_command = "interfacetable" - -[interfacetable-error.metrics_filters] -ppsinerr = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.PpsInErr.value" -ppsouterr = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.PpsOutErr.value" - -[interfacetable-error.urlparams] -min = "0" -title = "Interface $interface$" -lineWidth = "2" -yUnitSystem = "si" - -[interfacetable-error.functions] -ppsinerr = "alias(color($metric$, '#ff5566'), 'Error in (B/s)')" -ppsouterr = "alias(color($metric$, '#a80000'), 'Error out (B/s)')" diff --git a/mailq.ini b/mailq.ini deleted file mode 100644 index 76b8a94c8f9302d4bd35edd75d17987db9ef8a41..0000000000000000000000000000000000000000 --- a/mailq.ini +++ /dev/null @@ -1,15 +0,0 @@ -[mailq.graph] -check_command = "mailq" - -[mailq.metrics_filters] -unsent = "$service_name_template$.perfdata.unsent.value" - -[mailq.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mailq.functions] -unsent = "alias(color($metric$, '#1a7dd7'), 'Unsent mails')" diff --git a/mysql.ini b/mysql.ini deleted file mode 100644 index 625c87342ef12fcb5f42d5ae974fda66da7ac98b..0000000000000000000000000000000000000000 --- a/mysql.ini +++ /dev/null @@ -1,270 +0,0 @@ -[mysql-Connections.graph] -check_command = "mysql" - -[mysql-Connections.metrics_filters] -value = "$service_name_template$.perfdata.Connections.value" - -[mysql-Connections.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Connections.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Connections')" - - -[mysql-Open_files.graph] -check_command = "mysql" - -[mysql-Open_files.metrics_filters] -value = "$service_name_template$.perfdata.Open_files.value" - -[mysql-Open_files.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Open_files.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Open files')" - - -[mysql-Open_tables.graph] -check_command = "mysql" - -[mysql-Open_tables.metrics_filters] -value = "$service_name_template$.perfdata.Open_tables.value" - -[mysql-Open_tables.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Open_tables.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Open tables')" - - -[mysql-Qcache_free_memory.graph] -check_command = "mysql" - -[mysql-Qcache_free_memory.metrics_filters] -value = "$service_name_template$.perfdata.Qcache_free_memory.value" - -[mysql-Qcache_free_memory.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "binary" - -[mysql-Qcache_free_memory.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Query cache free memory (Bytes)')" - - -[mysql-Qcache_hits.graph] -check_command = "mysql" - -[mysql-Qcache_hits.metrics_filters] -value = "$service_name_template$.perfdata.Qcache_hits.value" - -[mysql-Qcache_hits.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Qcache_hits.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Query cache hits')" - - -[mysql-Qcache_inserts.graph] -check_command = "mysql" - -[mysql-Qcache_inserts.metrics_filters] -value = "$service_name_template$.perfdata.Qcache_inserts.value" - -[mysql-Qcache_inserts.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Qcache_inserts.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Query cache inserts')" - - -[mysql-Qcache_lowmem_prunes.graph] -check_command = "mysql" - -[mysql-Qcache_lowmem_prunes.metrics_filters] -value = "$service_name_template$.perfdata.Qcache_lowmem_prunes.value" - -[mysql-Qcache_lowmem_prunes.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Qcache_lowmem_prunes.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Query cache lowmem prunes')" - - -[mysql-Qcache_not_cached.graph] -check_command = "mysql" - -[mysql-Qcache_not_cached.metrics_filters] -value = "$service_name_template$.perfdata.Qcache_not_cached.value" - -[mysql-Qcache_not_cached.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Qcache_not_cached.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Not cached queries')" - - -[mysql-Qcache_queries_in_cache.graph] -check_command = "mysql" - -[mysql-Qcache_queries_in_cache.metrics_filters] -value = "$service_name_template$.perfdata.Qcache_queries_in_cache.value" - -[mysql-Qcache_queries_in_cache.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Qcache_queries_in_cache.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Queries in cache')" - - -[mysql-Queries.graph] -check_command = "mysql" - -[mysql-Queries.metrics_filters] -value = "$service_name_template$.perfdata.Queries.value" - -[mysql-Queries.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Queries.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Queries')" - - -[mysql-Questions.graph] -check_command = "mysql" - -[mysql-Questions.metrics_filters] -value = "$service_name_template$.perfdata.Questions.value" - -[mysql-Questions.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Questions.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Questions')" - - -[mysql-Table_locks_waited.graph] -check_command = "mysql" - -[mysql-Table_locks_waited.metrics_filters] -value = "$service_name_template$.perfdata.Table_locks_waited.value" - -[mysql-Table_locks_waited.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Table_locks_waited.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Table locks waited for')" - - -[mysql-Threads_connected.graph] -check_command = "mysql" - -[mysql-Threads_connected.metrics_filters] -value = "$service_name_template$.perfdata.Threads_connected.value" - -[mysql-Threads_connected.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Threads_connected.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Threads connected')" - - -[mysql-Threads_running.graph] -check_command = "mysql" - -[mysql-Threads_running.metrics_filters] -value = "$service_name_template$.perfdata.Threads_running.value" - -[mysql-Threads_running.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql-Threads_running.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Threads running')" - - -[mysql-Uptime.graph] -check_command = "mysql" - -[mysql-Uptime.metrics_filters] -value = "$service_name_template$.perfdata.Uptime.value" - -[mysql-Uptime.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "sec" - -[mysql-Uptime.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Uptime (s)')" - - -[mysql-seconds_behind_master.graph] -check_command = "mysql" - -[mysql-seconds_behind_master.metrics_filters] -value = "$service_name_template$.perfdata.seconds_behind_master.value" - -[mysql-seconds_behind_master.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "sec" - -[mysql-seconds_behind_master.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Seconds behind master')" diff --git a/mysql_health.ini b/mysql_health.ini deleted file mode 100644 index 711338c576632da07fecc5a9cba0a2dd714cfad1..0000000000000000000000000000000000000000 --- a/mysql_health.ini +++ /dev/null @@ -1,456 +0,0 @@ -[mysql_health-bufferpool_hitrate.graph] -check_command = "mysql_health" - -[mysql_health-bufferpool_hitrate.metrics_filters] -value = "$service_name_template$.perfdata.bufferpool_hitrate.value" -now.value = "$service_name_template$.perfdata.bufferpool_hitrate_now.value" - -[mysql_health-bufferpool_hitrate.urlparams] -areaAlpha = "0.5" -areaMode = "first" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-bufferpool_hitrate.functions] -value = "alias(color($metric$, '#1a7dd7'), 'InnoDB buffer pool hitrate (%)')" -now.value = "alias(color($metric$, '#ff5566'), 'InnoDB buffer pool hitrate (now, %)')" - - -[mysql_health-bufferpool_wait_free.graph] -check_command = "mysql_health" - -[mysql_health-bufferpool_wait_free.metrics_filters] -value = "$service_name_template$.perfdata.bufferpool_free_waits_rate.value" - -[mysql_health-bufferpool_wait_free.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-bufferpool_wait_free.functions] -value = "alias(color($metric$, '#1a7dd7'), 'InnoDB buffer pool waits/s')" - - -[mysql_health-clients_aborted.graph] -check_command = "mysql_health" - -[mysql_health-clients_aborted.metrics_filters] -value = "$service_name_template$.perfdata.clients_aborted_per_sec.value" - -[mysql_health-clients_aborted.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-clients_aborted.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Clients aborted/s')" - - -[mysql_health-cluster_ndbd_running.graph] -check_command = "mysql_health" - -[mysql_health-cluster_ndbd_running.metrics_filters] -ndbd_nodes.value = "$service_name_template$.perfdata.ndbd_nodes.value" -ndb_mgmd_nodes.value = "$service_name_template$.perfdata.ndb_mgmd_nodes.value" - -[mysql_health-cluster_ndbd_running.urlparams] -areaAlpha = "0.5" -areaMode = "first" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-cluster_ndbd_running.functions] -ndbd_nodes.value = "alias(color($metric$, '#1a7dd7'), 'Ndbd nodes')" -ndb_mgmd_nodes.value = "alias(color($metric$, '#ff5566'), 'Ndb_mgmd nodes')" - - -[mysql_health-mysqld_nodes.graph] -check_command = "mysql_health" - -[mysql_health-mysqld_nodes.metrics_filters] -value = "$service_name_template$.perfdata.mysqld_nodes.value" - -[mysql_health-mysqld_nodes.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-mysqld_nodes.functions] -value = "alias(color($metric$, '#1a7dd7'), 'MySQLd nodes')" - - -[mysql_health-connection_time.graph] -check_command = "mysql_health" - -[mysql_health-connection_time.metrics_filters] -value = "$service_name_template$.perfdata.connection_time.value" - -[mysql_health-connection_time.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-connection_time.functions] -value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Connection time (ms)')" - - -[mysql_health-connects_aborted.graph] -check_command = "mysql_health" - -[mysql_health-connects_aborted.metrics_filters] -value = "$service_name_template$.perfdata.connects_aborted_per_sec.value" - -[mysql_health-connects_aborted.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-connects_aborted.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Connects aborted/s')" - - -[mysql_health-index_usage.graph] -check_command = "mysql_health" - -[mysql_health-index_usage.metrics_filters] -value = "$service_name_template$.perfdata.index_usage.value" -now.value = "$service_name_template$.perfdata.index_usage_now.value" - -[mysql_health-index_usage.urlparams] -areaAlpha = "0.5" -areaMode = "first" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-index_usage.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Index usage (%)')" -now.value = "alias(color($metric$, '#ff5566'), 'Index usage (now, %)')" - - -[mysql_health-keycache_hitrate.graph] -check_command = "mysql_health" - -[mysql_health-keycache_hitrate.metrics_filters] -value = "$service_name_template$.perfdata.keycache_hitrate.value" -now.value = "$service_name_template$.perfdata.keycache_hitrate_now.value" - -[mysql_health-keycache_hitrate.urlparams] -areaAlpha = "0.5" -areaMode = "first" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-keycache_hitrate.functions] -value = "alias(color($metric$, '#1a7dd7'), 'MyISAM keycache hitrate (%)')" -now.value = "alias(color($metric$, '#ff5566'), 'MyISAM keycache hitrate (now, %)')" - - -[mysql_health-log_waits.graph] -check_command = "mysql_health" - -[mysql_health-log_waits.metrics_filters] -value = "$service_name_template$.perfdata.innodb_log_waits_rate.value" - -[mysql_health-log_waits.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-log_waits.functions] -value = "alias(color($metric$, '#1a7dd7'), 'InnoDB log waits/s')" - - -[mysql_health-long_running_procs.graph] -check_command = "mysql_health" - -[mysql_health-long_running_procs.metrics_filters] -value = "$service_name_template$.perfdata.long_running_procs.value" - -[mysql_health-long_running_procs.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-long_running_procs.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Long running processes')" - - -[mysql_health-open_files.graph] -check_command = "mysql_health" - -[mysql_health-open_files.metrics_filters] -value = "$service_name_template$.perfdata.open_files.value" - -[mysql_health-open_files.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-open_files.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Open files')" - - -[mysql_health-qcache_hitrate.graph] -check_command = "mysql_health" - -[mysql_health-qcache_hitrate.metrics_filters] -value = "$service_name_template$.perfdata.qcache_hitrate.value" -now.value = "$service_name_template$.perfdata.qcache_hitrate_now.value" - -[mysql_health-qcache_hitrate.urlparams] -areaAlpha = "0.5" -areaMode = "first" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-qcache_hitrate.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Query cache hitrate (%)')" -now.value = "alias(color($metric$, '#ff5566'), 'Query cache hitrate (now, %)')" - - -[mysql_health-selects_per_sec.graph] -check_command = "mysql_health" - -[mysql_health-selects_per_sec.metrics_filters] -value = "$service_name_template$.perfdata.selects_per_sec.value" - -[mysql_health-selects_per_sec.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-selects_per_sec.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Selects/s')" - - -[mysql_health-qcache_lowmem_prunes.graph] -check_command = "mysql_health" - -[mysql_health-qcache_lowmem_prunes.metrics_filters] -value = "$service_name_template$.perfdata.qcache_lowmem_prunes_rate.value" - -[mysql_health-qcache_lowmem_prunes.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-qcache_lowmem_prunes.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Query cache lowmem prunes/s')" - - -[mysql_health-slave_lag.graph] -check_command = "mysql_health" - -[mysql_health-slave_lag.metrics_filters] -value = "$service_name_template$.perfdata.slave_lag.value" - -[mysql_health-slave_lag.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "sec" - -[mysql_health-slave_lag.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Seconds slave is behind master')" - - -[mysql_health-slow_queries.graph] -check_command = "mysql_health" - -[mysql_health-slow_queries.metrics_filters] -value = "$service_name_template$.perfdata.slow_queries_rate.value" - -[mysql_health-slow_queries.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-slow_queries.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Slow queries/s')" - - -[mysql_health-table_lock_contention.graph] -check_command = "mysql_health" - -[mysql_health-table_lock_contention.metrics_filters] -value = "$service_name_template$.perfdata.tablelock_contention.value" -now.value = "$service_name_template$.perfdata.tablelock_contention_now.value" - -[mysql_health-table_lock_contention.urlparams] -areaAlpha = "0.5" -areaMode = "first" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-table_lock_contention.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Table lock contention (%)')" -now.value = "alias(color($metric$, '#ff5566'), 'Table lock contention (now, %)')" - - -[mysql_health-tablecache_hitrate.graph] -check_command = "mysql_health" - -[mysql_health-tablecache_hitrate.metrics_filters] -value = "$service_name_template$.perfdata.tablecache_hitrate.value" - -[mysql_health-tablecache_hitrate.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-tablecache_hitrate.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Table cache hitrate (%)')" - - -[mysql_health-tablecache_fillrate.graph] -check_command = "mysql_health" - -[mysql_health-tablecache_fillrate.metrics_filters] -value = "$service_name_template$.perfdata.tablecache_fillrate.value" - -[mysql_health-tablecache_fillrate.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-tablecache_fillrate.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Table cache fillrate (%)')" - - -[mysql_health-threadcache_hitrate.graph] -check_command = "mysql_health" - -[mysql_health-threadcache_hitrate.metrics_filters] -value = "$service_name_template$.perfdata.thread_cache_hitrate.value" -now.value = "$service_name_template$.perfdata.thread_cache_hitrate_now.value" - -[mysql_health-threadcache_hitrate.urlparams] -areaAlpha = "0.5" -areaMode = "first" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-threadcache_hitrate.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Thread cache hitrate (%)')" -now.value = "alias(color($metric$, '#ff5566'), 'Thread cache hitrate (now, %)')" - - -[mysql_health-threads_cached.graph] -check_command = "mysql_health" - -[mysql_health-threads_cached.metrics_filters] -value = "$service_name_template$.perfdata.threads_cached.value" - -[mysql_health-threads_cached.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-threads_cached.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Threads cached')" - - -[mysql_health-threads_connected.graph] -check_command = "mysql_health" - -[mysql_health-threads_connected.metrics_filters] -value = "$service_name_template$.perfdata.threads_connected.value" - -[mysql_health-threads_connected.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-threads_connected.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Threads connected')" - - -[mysql_health-threads_created.graph] -check_command = "mysql_health" - -[mysql_health-threads_created.metrics_filters] -value = "$service_name_template$.perfdata.threads_created_per_sec.value" - -[mysql_health-threads_created.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-threads_created.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Threads created/s')" - - -[mysql_health-threads_running.graph] -check_command = "mysql_health" - -[mysql_health-threads_running.metrics_filters] -value = "$service_name_template$.perfdata.threads_running.value" - -[mysql_health-threads_running.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-threads_running.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Threads running')" - - -[mysql_health-tmp_disk_tables.graph] -check_command = "mysql_health" - -[mysql_health-tmp_disk_tables.metrics_filters] -value = "$service_name_template$.perfdata.pct_tmp_table_on_disk.value" -now.value = "$service_name_template$.perfdata.pct_tmp_table_on_disk_now.value" - -[mysql_health-tmp_disk_tables.urlparams] -areaAlpha = "0.5" -areaMode = "first" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[mysql_health-tmp_disk_tables.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Temp tables created on disk (%)')" -now.value = "alias(color($metric$, '#ff5566'), 'Temp tables created on disk (now, %)')" diff --git a/network.ini b/network.ini deleted file mode 100644 index e7801e6839b4b1dfc78fa66a94a2a66446f06427..0000000000000000000000000000000000000000 --- a/network.ini +++ /dev/null @@ -1,35 +0,0 @@ -[network-windows-total.graph] -check_command = "network-windows" - -[network-windows-total.metrics_filters] -value = "$service_name_template$.perfdata.network.value" - -[network-windows-total.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -title = "Total" -yUnitSystem = "binary" - -[network-windows-total.functions] -value = "alias(color($metric$, '#1a7dd7'), 'I/O (bytes/s)')" - - -[network-windows-nic.graph] -check_command = "network-windows" - -[network-windows-nic.metrics_filters] -in.value = "$service_name_template$.perfdata.$nic$_in.value" -out.value = "$service_name_template$.perfdata.$nic$_out.value" - -[network-windows-nic.urlparams] -areaAlpha = "0.5" -lineWidth = "2" -min = "0" -title = "$nic$" -yUnitSystem = "binary" - -[network-windows-nic.functions] -in.value = "alias(color($metric$, '#1a7dd7'), 'In (bytes/s)')" -out.value = "alias(color($metric$, '#ff5566'), 'Out (bytes/s)')" diff --git a/ntp.ini b/ntp.ini deleted file mode 100644 index be91992294865d1cf576a7f0102f18388ebbb753..0000000000000000000000000000000000000000 --- a/ntp.ini +++ /dev/null @@ -1,65 +0,0 @@ -[ntp-offset.graph] -check_command = "ntp_time, ntp_peer" - -[ntp-offset.metrics_filters] -value = "$service_name_template$.perfdata.offset.value" - -[ntp-offset.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -yUnitSystem = "none" - -[ntp-offset.functions] -value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Offset (ms)')" - - -[ntp_peer-jitter.graph] -check_command = "ntp_peer" - -[ntp_peer-jitter.metrics_filters] -value = "$service_name_template$.perfdata.jitter.value" - -[ntp_peer-jitter.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[ntp_peer-jitter.functions] -value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Jitter (ms)')" - - -[ntp_peer-stratum.graph] -check_command = "ntp_peer" - -[ntp_peer-stratum.metrics_filters] -value = "$service_name_template$.perfdata.stratum.value" - -[ntp_peer-stratum.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[ntp_peer-stratum.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Stratum')" - - -[ntp_peer-truechimers.graph] -check_command = "ntp_peer" - -[ntp_peer-truechimers.metrics_filters] -value = "$service_name_template$.perfdata.truechimers.value" - -[ntp_peer-truechimers.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[ntp_peer-truechimers.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Truechimers')" diff --git a/ping.ini b/ping.ini deleted file mode 100644 index 7d281d0f68c726fd0b8e0a186535a14e3f11b428..0000000000000000000000000000000000000000 --- a/ping.ini +++ /dev/null @@ -1,32 +0,0 @@ -[ping-rta.graph] -check_command = "ping, ping4, ping6, ping-windows" - -[ping-rta.metrics_filters] -rta.value = "$service_name_template$.perfdata.rta.value" - -[ping-rta.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[ping-rta.functions] -rta.value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Round trip time (ms)')" - - -[ping-pl.graph] -check_command = "ping, ping4, ping6" - -[ping-pl.metrics_filters] -pl.value = "$service_name_template$.perfdata.pl.value" - -[ping-pl.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[ping-pl.functions] -pl.value = "alias(color($metric$, '#1a7dd7'), 'Packet loss (%)')" diff --git a/procs.ini b/procs.ini deleted file mode 100644 index 2fcc3748c1f3475b9ea946f6085f2b4017f995c5..0000000000000000000000000000000000000000 --- a/procs.ini +++ /dev/null @@ -1,15 +0,0 @@ -[procs.graph] -check_command = "procs, procs-windows" - -[procs.metrics_filters] -value = "$service_name_template$.perfdata.procs.value" - -[procs.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[procs.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Process count')" diff --git a/readme.md b/readme.md index 86f8806b696b740bdf38ca2895e4287f112a369a..4f3421a0132bb1d92d74bdfddf612403baaa2939 100644 --- a/readme.md +++ b/readme.md @@ -32,23 +32,31 @@ Inside an ini file have a look to the lines They need to match the name of a service (NOT the name of a check script) to apply the rules for a graph. -## Modified templates - -apache-requests.ini -ceph-diskfree.ini -ceph.ini -cpu.ini -default.ini -disk-io.ini -disk-ticks.ini -haproxy-status.ini -hostalive.ini -load.ini -memory.ini -netio.ini -netstat.ini -response-time.ini -update-available.ini +## Templates + +iml_apache-requests.ini +iml_ceph-diskfree.ini +iml_cpu.ini +iml_default.ini +iml_disk.ini +iml_disk-io.ini +iml_disk-ticks.ini +iml_eol.ini +iml_haproxy-status.ini +iml_hostalive.ini +iml_load.ini +iml_memory.ini +iml_mysqlserver-commands.ini +iml_mysqlserver-connections.ini +iml_mysqlserver-connects.ini +iml_mysqlserver-qcache-blocks.ini +iml_mysqlserver-qcache-hits.ini +iml_netio.ini +iml_netstat.ini +iml_php-fpm-status.ini +iml_response-time.ini +iml_snmp-cpu.ini +iml_update-available.ini ## Gallery diff --git a/response-size.ini b/response-size.ini deleted file mode 100644 index 7171d0709ca2f73118cc2778e742920793df7b02..0000000000000000000000000000000000000000 --- a/response-size.ini +++ /dev/null @@ -1,15 +0,0 @@ -[response-size.graph] -check_command = "http" - -[response-size.metrics_filters] -value = "$service_name_template$.perfdata.size.value" - -[response-size.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "binary" - -[response-size.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Response size (bytes)')" diff --git a/swap.ini b/swap.ini deleted file mode 100644 index 535bc691d798603a3e43eea72488ad32e9a6cc6b..0000000000000000000000000000000000000000 --- a/swap.ini +++ /dev/null @@ -1,17 +0,0 @@ -[swap.graph] -check_command = "swap, swap-windows" - -[swap.metrics_filters] -value = "$service_name_template$.perfdata.swap.value" -max = "$service_name_template$.perfdata.swap.max" - -[swap.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "binary" - -[swap.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" -max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" diff --git a/update.ini b/update.ini deleted file mode 100644 index 3b87ea716eeef4c33195e3698b0cd4b88a83400b..0000000000000000000000000000000000000000 --- a/update.ini +++ /dev/null @@ -1,34 +0,0 @@ -[apt.graph] -check_command = "apt" - -[apt.metrics_filters] -critical_updates.value = "$service_name_template$.perfdata.critical_updates.value" -available_upgrades.value = "$service_name_template$.perfdata.available_upgrades.value" - -[apt.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[apt.functions] -critical_updates.value = "alias(color($metric$, '#ff5566'), 'Critical Updates')" -available_upgrades.value = "alias(color($metric$, '#ffaa44'), 'Available Upgrades')" - - -[update-windows.graph] -check_command = "update-windows" - -[update-windows.metrics_filters] -value = "$service_name_template$.perfdata.update.value" - -[update-windows.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[update-windows.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Available Updates')" diff --git a/uptime.ini b/uptime.ini deleted file mode 100644 index 588ab2c88fa8f01096b683c4724834022e75df30..0000000000000000000000000000000000000000 --- a/uptime.ini +++ /dev/null @@ -1,32 +0,0 @@ -[uptime.graph] -check_command = "mysql_health, uptime-windows" - -[uptime.metrics_filters] -value = "$service_name_template$.perfdata.uptime.value" - -[uptime.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "sec" - -[uptime.functions] -value = "alias(color($metric$, '#1a7dd7'), 'Uptime (s)')" - - -[uptime-snmp.graph] -check_command = "snmp-uptime" - -[uptime-snmp.metrics_filters] -value = "$service_name_template$.perfdata.uptime.value" - -[uptime-snmp.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "sec" - -[uptime-snmp.functions] -value = "alias(color(scale($metric$, 86400), '#1a7dd7'), 'Uptime (s)')" diff --git a/users.ini b/users.ini deleted file mode 100644 index 64172b8724a3d7ccbf6815a41490c2e9b3c3ed32..0000000000000000000000000000000000000000 --- a/users.ini +++ /dev/null @@ -1,15 +0,0 @@ -[users.graph] -check_command = "users, users-windows" - -[users.metrics_filters] -users = "$service_name_template$.perfdata.users.value" - -[users.urlparams] -areaAlpha = "0.5" -areaMode = "all" -lineWidth = "2" -min = "0" -yUnitSystem = "none" - -[users.functions] -users = "alias(color($metric$, '#1a7dd7'), 'Logged in Users')"