summaryrefslogtreecommitdiffstats
path: root/health/health.d/go.d.plugin.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--health/health.d/go.d.plugin.conf (renamed from health/health.d/lighttpd.conf)14
1 files changed, 7 insertions, 7 deletions
diff --git a/health/health.d/lighttpd.conf b/health/health.d/go.d.plugin.conf
index 0f067549e..8bf84a976 100644
--- a/health/health.d/lighttpd.conf
+++ b/health/health.d/go.d.plugin.conf
@@ -1,11 +1,12 @@
-# make sure lighttpd is running
+# make sure go.d.plugin data collection job is running
- template: lighttpd_last_collected_secs
- on: lighttpd.requests
- class: Web Server
-component: Lighttpd
- type: Latency
+ template: go.d_job_last_collected_secs
+ on: netdata.go_plugin_execution_time
+ class: Error
+ type: Netdata
+component: go.d.plugin
+ module: *
calc: $now - $last_collected_t
units: seconds ago
every: 10s
@@ -14,4 +15,3 @@ component: Lighttpd
delay: down 5m multiplier 1.5 max 1h
info: number of seconds since the last successful data collection
to: webmaster
-