diff options
Diffstat (limited to 'templates')
41 files changed, 2169 insertions, 0 deletions
diff --git a/templates/cpu_windows_powershell_framework.ini b/templates/cpu_windows_powershell_framework.ini new file mode 100644 index 0000000..f156851 --- /dev/null +++ b/templates/cpu_windows_powershell_framework.ini @@ -0,0 +1,19 @@ +[load-windows.graph] +check_command = "Invoke-IcingaCheckCPU" + +[load-windows.metrics_filters] +load.value = "$service_name_template$.perfdata.$load$.value" +crit.value = "$service_name_template$.perfdata.$load$.crit" +warn.value = "$service_name_template$.perfdata.$load$.warn" + +[load-windows.urlparams] +areaAlpha = "0.5" +lineWidth = "2" +min = "0" +title = "CPU $load$ %" +yUnitSystem = "none" + +[load-windows.functions] +load.value = "alias(color($metric$, '#1a7dd7'), 'CPU usage(%)')" +crit.value = "alias(color($metric$, '#ff0000'), 'Crit (%)')" +warn.value = "alias(color($metric$, '#ff8d00'), 'Warn (%)')" diff --git a/templates/default.ini b/templates/default.ini new file mode 100644 index 0000000..5d6921d --- /dev/null +++ b/templates/default.ini @@ -0,0 +1,26 @@ +[default-host.metrics_filters] +value = "$host_name_template$.perfdata.$perfdata$.value" + +[default-host.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +title = "$perfdata$" +yUnitSystem = "none" + +[default-host.functions] +value = "alias(color($metric$, '#1a7dd7'), 'value')" + + +[default-service.metrics_filters] +value = "$service_name_template$.perfdata.$perfdata$.value" + +[default-service.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +title = "$perfdata$" +yUnitSystem = "none" + +[default-service.functions] +value = "alias(color($metric$, '#1a7dd7'), 'value')" diff --git a/templates/disk.ini b/templates/disk.ini new file mode 100644 index 0000000..f1f97ca --- /dev/null +++ b/templates/disk.ini @@ -0,0 +1,22 @@ +[disk.graph] +check_command = "disk, disk-windows" + +[disk.metrics_filters] +value = "$service_name_template$.perfdata.$disk$.value" +max = "$service_name_template$.perfdata.$disk$.max" +crit = "$service_name_template$.perfdata.$disk$.crit" +warn = "$service_name_template$.perfdata.$disk$.warn" + +[disk.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Disk $disk$" +yUnitSystem = "binary" + +[disk.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" +max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')" diff --git a/templates/disk_windows_powershell_framework.ini b/templates/disk_windows_powershell_framework.ini new file mode 100644 index 0000000..1b8e827 --- /dev/null +++ b/templates/disk_windows_powershell_framework.ini @@ -0,0 +1,40 @@ +[disk.graph] +check_command = "Invoke-IcingaCheckUsedPartitionSpace" + +[disk.metrics_filters] +value = "$service_name_template$.perfdata.used_space_$disk$.value" +max = "$service_name_template$.perfdata.used_space_$disk$.max" +crit = "$service_name_template$.perfdata.used_space_$disk$.crit" +warn = "$service_name_template$.perfdata.used_space_$disk$.warn" +[disk.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Disk $disk$" +yUnitSystem = "binary" + +[disk.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" +max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')" + +[disk-percent.graph] +check_command = "Invoke-IcingaCheckUsedPartitionSpace" + +[disk-percent.metrics_filters] +value = "$service_name_template$.perfdata.$disk$.value" +crit = "$service_name_template$.perfdata.$disk$.crit" +warn = "$service_name_template$.perfdata.$disk$.warn" +[disk-percent.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Disk $disk$" + +[disk-percent.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (%)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (%)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (%)')" diff --git a/templates/ethMon.ini b/templates/ethMon.ini new file mode 100644 index 0000000..41de344 --- /dev/null +++ b/templates/ethMon.ini @@ -0,0 +1,34 @@ +[ethMon-inb.graph] +check_command = "ethMon" + +[ethMon-inb.metrics_filters] +in.value = "$service_name_template$.perfdata.rx.value" + +[ethMon-inb.urlparams] +areaAlpha = "0.3" +areaMode = "all" +lineWidth = "1" +min = "0" +title = "Inbound" +yUnitSystem = "binary" + +[ethMon-inb.functions] +in.value = "alias(color($metric$, '#7CE52D'), 'In (bytes/s)')" + + +[ethMon-out.graph] +check_command = "ethMon" + +[ethMon-out.metrics_filters] +out.value = "$service_name_template$.perfdata.tx.value" + +[ethMon-out.urlparams] +areaAlpha = "0.3" +areaMode = "all" +lineWidth = "1" +min = "0" +title = "Outbound" +yUnitSystem = "binary" + +[ethMon-out.functions] +out.value = "alias(color($metric$, '#ff5566'), 'Out (bytes/s)')" diff --git a/templates/file_age.ini b/templates/file_age.ini new file mode 100644 index 0000000..7be72ad --- /dev/null +++ b/templates/file_age.ini @@ -0,0 +1,32 @@ +[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/templates/fping.ini b/templates/fping.ini new file mode 100644 index 0000000..0b2b41d --- /dev/null +++ b/templates/fping.ini @@ -0,0 +1,32 @@ +[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/templates/graphite-template memory-linux-local.ini b/templates/graphite-template memory-linux-local.ini new file mode 100644 index 0000000..8868bc0 --- /dev/null +++ b/templates/graphite-template memory-linux-local.ini @@ -0,0 +1,28 @@ +[memory.graph] +check_command = "mem" + +[memory.metrics_filters] +value = "$service_name_template$.perfdata.USED.value" +max = "$service_name_template$.perfdata.USED.max" +crit = "$service_name_template$.perfdata.USED.crit" +warn = "$service_name_template$.perfdata.USED.warn" +caches = "$service_name_template$.perfdata.CACHES.value" +free = "$service_name_template$.perfdata.FREE.value" +total = "$service_name_template$.perfdata.TOTAL.value" + +[memory.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Memory USED" +yUnitSystem = "binary" + +[memory.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" +max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')" +free = "alias(color($metric$, '#41D2A2'), 'Free (bytes)')" +total = "alias(color($metric$, '#8000FF'), 'Total (bytes)')" +caches = "alias(color($metric$, '#ABABAB'), 'Caches (bytes)')" diff --git a/templates/hostalive.ini b/templates/hostalive.ini new file mode 100644 index 0000000..eda252a --- /dev/null +++ b/templates/hostalive.ini @@ -0,0 +1,32 @@ +[hostalive-rta.graph] +check_command = "hostalive" + +[hostalive-rta.metrics_filters] +rta.value = "$host_name_template$.perfdata.rta.value" + +[hostalive-rta.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +min = "0" +yUnitSystem = "none" + +[hostalive-rta.functions] +rta.value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Round trip time (ms)')" + + +[hostalive-pl.graph] +check_command = "hostalive" + +[hostalive-pl.metrics_filters] +pl.value = "$host_name_template$.perfdata.pl.value" + +[hostalive-pl.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +min = "0" +yUnitSystem = "none" + +[hostalive-pl.functions] +pl.value = "alias(color($metric$, '#1a7dd7'), 'Packet loss (%)')" diff --git a/templates/icinga.ini b/templates/icinga.ini new file mode 100644 index 0000000..b178fb2 --- /dev/null +++ b/templates/icinga.ini @@ -0,0 +1,302 @@ +[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/templates/icmp-hosts.ini b/templates/icmp-hosts.ini new file mode 100644 index 0000000..e6122a3 --- /dev/null +++ b/templates/icmp-hosts.ini @@ -0,0 +1,38 @@ +[icmp-rt.graph] +check_command = "icmp-host" + +[icmp-rt.metrics_filters] +rtmin.value = "$host_name_template$.perfdata.rtmin.value" +rta.value = "$host_name_template$.perfdata.rta.value" +rtmax.value = "$host_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-host" + +[icmp-pl.metrics_filters] +pl.value = "$host_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/templates/icmp.ini b/templates/icmp.ini new file mode 100644 index 0000000..cb60655 --- /dev/null +++ b/templates/icmp.ini @@ -0,0 +1,36 @@ +[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/templates/interfacetable.ini b/templates/interfacetable.ini new file mode 100644 index 0000000..359d201 --- /dev/null +++ b/templates/interfacetable.ini @@ -0,0 +1,52 @@ +[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/templates/load.ini b/templates/load.ini new file mode 100644 index 0000000..1a4de4d --- /dev/null +++ b/templates/load.ini @@ -0,0 +1,35 @@ +[load.graph] +check_command = "load" + +[load.metrics_filters] +load15.value = "$service_name_template$.perfdata.load15.value" +load5.value = "$service_name_template$.perfdata.load5.value" +load1.value = "$service_name_template$.perfdata.load1.value" + +[load.urlparams] +areaAlpha = "0.5" +min = "0" +yUnitSystem = "none" +lineWidth = "2" + +[load.functions] +load15.value = "alias(color($metric$, '#ff5566'), 'Load 15')" +load5.value = "alias(color($metric$, '#ffaa44'), 'Load 5')" +load1.value = "alias(color($metric$, '#44bb77'), 'Load 1')" + + +[load-windows.graph] +check_command = "load-windows" + +[load-windows.metrics_filters] +value = "$service_name_template$.perfdata.load.value" + +[load-windows.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +min = "0" +yUnitSystem = "none" + +[load-windows.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Load (%)')" diff --git a/templates/mailq.ini b/templates/mailq.ini new file mode 100644 index 0000000..76b8a94 --- /dev/null +++ b/templates/mailq.ini @@ -0,0 +1,15 @@ +[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/templates/memory.ini b/templates/memory.ini new file mode 100644 index 0000000..daba4b4 --- /dev/null +++ b/templates/memory.ini @@ -0,0 +1,17 @@ +[memory.graph] +check_command = "memory-windows" + +[memory.metrics_filters] +value = "$service_name_template$.perfdata.memory.value" +max = "$service_name_template$.perfdata.memory.max" + +[memory.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +min = "0" +yUnitSystem = "binary" + +[memory.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" +max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" diff --git a/templates/memory_windows_powershell_framework.ini b/templates/memory_windows_powershell_framework.ini new file mode 100644 index 0000000..53f89f4 --- /dev/null +++ b/templates/memory_windows_powershell_framework.ini @@ -0,0 +1,42 @@ +[memory.graph] +check_command = "Invoke-IcingaCheckMemory" + +[memory.metrics_filters] +value = "$service_name_template$.perfdata.used_bytes.value" +max = "$service_name_template$.perfdata.used_bytes.max" +crit = "$service_name_template$.perfdata.used_bytes.crit" +warn = "$service_name_template$.perfdata.used_bytes.warn" + +[memory.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Memory used" +yUnitSystem = "binary" + +[memory.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" +max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')" + +[memory-percent.graph] +check_command = "Invoke-IcingaCheckMemory" + +[memory-percent.metrics_filters] +value = "$service_name_template$.perfdata.memory_percent_used.value" +crit = "$service_name_template$.perfdata.memory_percent_used.crit" +warn = "$service_name_template$.perfdata.memory_percent_used.warn" + +[memory-percent.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Memory % used" + +[memory-percent.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (%)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (%)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (%)')" diff --git a/templates/multi.ini b/templates/multi.ini new file mode 100644 index 0000000..2f35658 --- /dev/null +++ b/templates/multi.ini @@ -0,0 +1,54 @@ +[multi2-host.metrics_filters] +value = "$host_name_template$.perfdata.$multi1$.$multi2$.value" + +[multi2-host.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +title = "$multi1$::$multi2$" +yUnitSystem = "none" + +[multi2-host.functions] +value = "alias(color($metric$, '#1a7dd7'), 'value')" + + +[multi2-service.metrics_filters] +value = "$service_name_template$.perfdata.$multi1$.$multi2$.value" + +[multi2-service.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +title = "$multi1$::$multi2$" +yUnitSystem = "none" + +[multi2-service.functions] +value = "alias(color($metric$, '#1a7dd7'), 'value')" + + +[multi3-host.metrics_filters] +value = "$host_name_template$.perfdata.$multi1$.$multi2$.$multi3$.value" + +[multi3-host.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +title = "$multi1$::$multi2$::$multi3$" +yUnitSystem = "none" + +[multi3-host.functions] +value = "alias(color($metric$, '#1a7dd7'), 'value')" + + +[multi3-service.metrics_filters] +value = "$service_name_template$.perfdata.$multi1$.$multi2$.$multi3$.value" + +[multi3-service.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +title = "$multi1$::$multi2$::$multi3$" +yUnitSystem = "none" + +[multi3-service.functions] +value = "alias(color($metric$, '#1a7dd7'), 'value')" diff --git a/templates/mysql.ini b/templates/mysql.ini new file mode 100644 index 0000000..f39d15a --- /dev/null +++ b/templates/mysql.ini @@ -0,0 +1,270 @@ +[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(nonNegativeDerivative($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(nonNegativeDerivative($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(nonNegativeDerivative($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(nonNegativeDerivative($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/templates/mysql_health.ini b/templates/mysql_health.ini new file mode 100644 index 0000000..711338c --- /dev/null +++ b/templates/mysql_health.ini @@ -0,0 +1,456 @@ +[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/templates/netapp_cdot_aggregates.ini b/templates/netapp_cdot_aggregates.ini new file mode 100644 index 0000000..5e26e6f --- /dev/null +++ b/templates/netapp_cdot_aggregates.ini @@ -0,0 +1,22 @@ +[disk.graph] +check_command = "netapp_cdot_aggr_status" + +[disk.metrics_filters] +value = "$service_name_template$.perfdata.$disk$.value" +max = "$service_name_template$.perfdata.$disk$.max" +crit = "$service_name_template$.perfdata.$disk$.crit" +warn = "$service_name_template$.perfdata.$disk$.warn" +[disk.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Disk $disk$" +yUnitSystem = "binary" + +[disk.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" +max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')" + diff --git a/templates/netapp_cdot_volumes.ini b/templates/netapp_cdot_volumes.ini new file mode 100644 index 0000000..92cc686 --- /dev/null +++ b/templates/netapp_cdot_volumes.ini @@ -0,0 +1,44 @@ +[vol-space.graph] +check_command = "netapp_cdot_volume_status" + +[vol-space.metrics_filters] +value = "$service_name_template$.perfdata.$vol$.check_cdot_volume_usage.space_used.value" +max = "$service_name_template$.perfdata.$vol$.check_cdot_volume_usage.space_used.max" +crit = "$service_name_template$.perfdata.$vol$.check_cdot_volume_usage.space_used.crit" +warn = "$service_name_template$.perfdata.$vol$.check_cdot_volume_usage.space_used.warn" +[vol-space.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Disk $vol$ Space used" +yUnitSystem = "binary" + +[vol-space.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" +max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')" + +[disk-inode.graph] +check_command = "netapp_cdot_volume_status" + +[disk-inode.metrics_filters] +value = "$service_name_template$.perfdata.$disk$.check_cdot_volume_usage.inode_used.value" +max = "$service_name_template$.perfdata.$disk$.check_cdot_volume_usage.inode_used.max" +crit = "$service_name_template$.perfdata.$disk$.check_cdot_volume_usage.inode_used.crit" +warn = "$service_name_template$.perfdata.$disk$.check_cdot_volume_usage.inode_used.warn" + +[disk-inode.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Disk $disk$ Inodes used" + +[disk-inode.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used Inodes')" +max = "alias(color($metric$, '#cfd7e6'), 'Max Inodes')" +crit = "alias(color($metric$, '#ff0000'), 'Crit Inodes')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn Inodes')" + diff --git a/templates/network.ini b/templates/network.ini new file mode 100644 index 0000000..e7801e6 --- /dev/null +++ b/templates/network.ini @@ -0,0 +1,35 @@ +[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/templates/ntp.ini b/templates/ntp.ini new file mode 100644 index 0000000..be91992 --- /dev/null +++ b/templates/ntp.ini @@ -0,0 +1,65 @@ +[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/templates/nwc-interface-usage.ini b/templates/nwc-interface-usage.ini new file mode 100644 index 0000000..8d9cf7a --- /dev/null +++ b/templates/nwc-interface-usage.ini @@ -0,0 +1,58 @@ +[interface-traffic.graph] +check_command = "interface-usage" + +[interface-traffic.metrics_filters] +bpsin = "$service_name_template$.perfdata.$interface$_traffic_in.value" +bpsmaxin = "$service_name_template$.perfdata.$interface$_traffic_in.max" +bpscritin = "$service_name_template$.perfdata.$interface$_traffic_in.crit" +bpswarnin = "$service_name_template$.perfdata.$interface$_traffic_in.warn" + +bpsout = "$service_name_template$.perfdata.$interface$_traffic_out.value" +bpsmaxout = "$service_name_template$.perfdata.$interface$_traffic_out.max" +bpscritout = "$service_name_template$.perfdata.$interface$_traffic_out.crit" +bpswarnout = "$service_name_template$.perfdata.$interface$_traffic_out.warn" + +[interface-traffic.urlparams] +min = "0" +title = "$interface$ traffic" +lineWidth = "2" +yUnitSystem = "si" + +[interface-traffic.functions] +bpsin = "alias(color($metric$, '#1a7dd7'), 'Traffic in (B/s)')" +bpsmaxin = "alias(color($metric$, '#7d7f81'), 'Traffic in max (B/s)')" +bpswarnin = "alias(color($metric$, '#ff8d00'), 'Traffic in warn (B/s)')" +bpscritin = "alias(color($metric$, '#ff0000'), 'Traffic in crit (B/s)')" + +bpsout = "alias(color($metric$, '#0b3c68'), 'Traffic out (B/s)')" +bpsmaxout = "alias(color($metric$, '#45008d'), 'Traffic out max (B/s)')" +bpswarnout = "alias(color($metric$, '#ff8d00'), 'Traffic out warn (B/s)')" +bpscritout = "alias(color($metric$, '#ff0000'), 'Traffic out crit (B/s)')" + + +[interface-usage.graph] +check_command = "interface-usage" + +[interface-usage.metrics_filters] +usagein = "$service_name_template$.perfdata.$interface$_usage_in.value" +usagecritin = "$service_name_template$.perfdata.$interface$_usage_in.crit" +usagewarnin = "$service_name_template$.perfdata.$interface$_usage_in.warn" + +usageout = "$service_name_template$.perfdata.$interface$_usage_out.value" +usagecritout = "$service_name_template$.perfdata.$interface$_usage_out.crit" +usagewarnout = "$service_name_template$.perfdata.$interface$_usage_out.warn" + +[interface-usage.urlparams] +min = "0" +title = "$interface$ usage" +lineWidth = "2" +yUnitSystem = "none" + +[interface-usage.functions] +usagein = "alias(color($metric$, '#1a7dd7'), 'Usage in (%)')" +usagewarnin = "alias(color($metric$, '#ff8d00'), 'Usage in warn (%)')" +usagecritin = "alias(color($metric$, '#ff0000'), 'Usage in crit (%)')" + +usageout = "alias(color($metric$, '#0b3c68'), 'Usage out (%)')" +usagewarnout = "alias(color($metric$, '#ff8d00'), 'Usage out warn (%)')" +usagecritout = "alias(color($metric$, '#ff0000'), 'Usage out crit (%)')" diff --git a/templates/nwc-load.ini b/templates/nwc-load.ini new file mode 100644 index 0000000..83d080f --- /dev/null +++ b/templates/nwc-load.ini @@ -0,0 +1,19 @@ +[load.graph] +check_command = "nwc-load" + +[load.metrics_filters] +value = "$service_name_template$.nwc_health.perfdata.$load$.value" +crit = "$service_name_template$.nwc_health.perfdata.$load$.crit" +warn = "$service_name_template$.nwc_health.perfdata.$load$.warn" + +[load.urlparams] +areaAlpha = "0.5" +lineWidth = "2" +min = "0" +title = "$load$ %" +yUnitSystem = "none" + +[load.functions] +value = "alias(color($metric$, '#1a7dd7'), 'CPU usage (%)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (%)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (%)')" diff --git a/templates/ping.ini b/templates/ping.ini new file mode 100644 index 0000000..7d281d0 --- /dev/null +++ b/templates/ping.ini @@ -0,0 +1,32 @@ +[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/templates/procs.ini b/templates/procs.ini new file mode 100644 index 0000000..2fcc374 --- /dev/null +++ b/templates/procs.ini @@ -0,0 +1,15 @@ +[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/templates/response-size-hosts.ini b/templates/response-size-hosts.ini new file mode 100644 index 0000000..e8c80cc --- /dev/null +++ b/templates/response-size-hosts.ini @@ -0,0 +1,16 @@ +[response-size.graph] +check_command = "http-host" + +[response-size.metrics_filters] +value = "$host_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/templates/response-size.ini b/templates/response-size.ini new file mode 100644 index 0000000..7171d07 --- /dev/null +++ b/templates/response-size.ini @@ -0,0 +1,15 @@ +[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/templates/response-time-hosts.ini b/templates/response-time-hosts.ini new file mode 100644 index 0000000..7986733 --- /dev/null +++ b/templates/response-time-hosts.ini @@ -0,0 +1,16 @@ +[response-time.graph] +check_command = "dig-host, dns-host, ftp-host, http-host, imap-host, ldap-host, pgsql-host, smtp-host, ssh-host, tcp-host, udp-host" + +[response-time.metrics_filters] +value = "$host_name_template$.perfdata.time.value" + +[response-time.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +min = "0" +yUnitSystem = "none" + +[response-time.functions] +value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Response time (ms)')" + diff --git a/templates/response-time.ini b/templates/response-time.ini new file mode 100644 index 0000000..222492f --- /dev/null +++ b/templates/response-time.ini @@ -0,0 +1,15 @@ +[response-time.graph] +check_command = "dig, dns, ftp, http, imap, ldap, pgsql, smtp, ssh, tcp, udp" + +[response-time.metrics_filters] +value = "$service_name_template$.perfdata.time.value" + +[response-time.urlparams] +areaAlpha = "0.5" +areaMode = "all" +lineWidth = "2" +min = "0" +yUnitSystem = "none" + +[response-time.functions] +value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Response time (ms)')" diff --git a/templates/snmp-int.ini b/templates/snmp-int.ini new file mode 100644 index 0000000..32a87ad --- /dev/null +++ b/templates/snmp-int.ini @@ -0,0 +1,54 @@ +[interfacetable-traffic.graph] +check_command = "snmp-interface" + +[interfacetable-traffic.metrics_filters] +bpsin = "$service_name_template$.perfdata.$interface$_in_bps.value" +bpsout = "$service_name_template$.perfdata.$interface$_out_bps.value" + +[interfacetable-traffic.urlparams] +min = "0" +title = "Interface $interface$ Traffic" +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 = "snmp-interface" + +[interfacetable-discard.metrics_filters] +ppsindiscard = "$service_name_template$.perfdata.$interface$_in_discard.value" +ppsoutdiscard = "$service_name_template$.perfdata.$interface$_out_discard.value" + +[interfacetable-discard.urlparams] +min = "0" +title = "Interface $interface$ Discards" +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 = "snmp-interface" + +[interfacetable-error.metrics_filters] +ppsinerr = "$service_name_template$.perfdata.$interface$_in_error.value" +ppsouterr = "$service_name_template$.perfdata.$interface$_out_error.value" + +[interfacetable-error.urlparams] +min = "0" +title = "Interface $interface$ Errors" +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/templates/snmp-load-netsl.ini b/templates/snmp-load-netsl.ini new file mode 100644 index 0000000..85e6df6 --- /dev/null +++ b/templates/snmp-load-netsl.ini @@ -0,0 +1,19 @@ +[load-snmp.graph] +check_command = "snmp-load" + +[load-snmp.metrics_filters] +load15.value = "$service_name_template$.perfdata.load_15_min.value" +load5.value = "$service_name_template$.perfdata.load_5_min.value" +load1.value = "$service_name_template$.perfdata.load_1_min.value" + +[load-snmp.urlparams] +areaAlpha = "0.5" +min = "0" +yUnitSystem = "none" +lineWidth = "2" + +[load-snmp.functions] +load15.value = "alias(color($metric$, '#ff5566'), 'Load 15')" +load5.value = "alias(color($metric$, '#ffaa44'), 'Load 5')" +load1.value = "alias(color($metric$, '#44bb77'), 'Load 1')" + diff --git a/templates/snmp-load-stand.ini b/templates/snmp-load-stand.ini new file mode 100644 index 0000000..f7b11e8 --- /dev/null +++ b/templates/snmp-load-stand.ini @@ -0,0 +1,20 @@ +[load-windows.graph] +check_command = "load-windows" + +[load-windows.metrics_filters] +load.value = "$service_name_template$.perfdata.cpu_prct_used.value" +crit.value = "$service_name_template$.perfdata.cpu_prct_used.crit" +warn.value = "$service_name_template$.perfdata.cpu_prct_used.warn" + +[load-windows.urlparams] +areaAlpha = "0.5" +lineWidth = "2" +min = "0" +yUnitSystem = "none" + +[load-windows.functions] +load.value = "alias(color($metric$, '#1a7dd7'), 'CPU usage(%)')" +crit.value = "alias(color($metric$, '#ff0000'), 'Crit (%)')" +warn.value = "alias(color($metric$, '#ff8d00'), 'Warn (%)')" + + diff --git a/templates/snmp-memory.ini b/templates/snmp-memory.ini new file mode 100644 index 0000000..8b154da --- /dev/null +++ b/templates/snmp-memory.ini @@ -0,0 +1,23 @@ +[memory.graph] +check_command = "snmp-memory" + +[memory.metrics_filters] +value = "$service_name_template$.perfdata.$mem$.value" +max = "$service_name_template$.perfdata.$mem$.max" +crit = "$service_name_template$.perfdata.$mem$.crit" +warn = "$service_name_template$.perfdata.$mem$.warn" + +[memory.urlparams] +areaAlpha = "0.5" +lineWidth = "2" +min = "0" +title = "Memory $mem$" +yUnitSystem = "binary" + +[memory.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" +max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')" + + diff --git a/templates/snmp-storage.ini b/templates/snmp-storage.ini new file mode 100644 index 0000000..4b4505f --- /dev/null +++ b/templates/snmp-storage.ini @@ -0,0 +1,21 @@ +[disk.graph] +check_command = "snmp-storage" + +[disk.metrics_filters] +value = "$service_name_template$.perfdata.$disk$.value" +max = "$service_name_template$.perfdata.$disk$.max" +crit = "$service_name_template$.perfdata.$disk$.crit" +warn = "$service_name_template$.perfdata.$disk$.warn" +[disk.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Disk $disk$" +yUnitSystem = "binary" + +[disk.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')" +max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')" diff --git a/templates/swap.ini b/templates/swap.ini new file mode 100644 index 0000000..535bc69 --- /dev/null +++ b/templates/swap.ini @@ -0,0 +1,17 @@ +[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/templates/update.ini b/templates/update.ini new file mode 100644 index 0000000..3b87ea7 --- /dev/null +++ b/templates/update.ini @@ -0,0 +1,34 @@ +[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/templates/uptime.ini b/templates/uptime.ini new file mode 100644 index 0000000..588ab2c --- /dev/null +++ b/templates/uptime.ini @@ -0,0 +1,32 @@ +[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/templates/users.ini b/templates/users.ini new file mode 100644 index 0000000..64172b8 --- /dev/null +++ b/templates/users.ini @@ -0,0 +1,15 @@ +[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')" |