diff options
Diffstat (limited to '')
-rw-r--r-- | templates/icinga.ini | 302 |
1 files changed, 302 insertions, 0 deletions
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')" |