Skip to content
Snippets Groups Projects
Commit b51fb10c authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

rename all modified templates with iml_ prefix

parent 8022be33
Branches
No related tags found
No related merge requests found
; ======================================================================
;
; 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
[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)')"
[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 (%)')"
[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')"
[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 (%)')"
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment