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