diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2021-05-24 14:42:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 14:42:49 +0300 |
commit | 2555dccae77ebe4ac132c13feca610be1dd26857 (patch) | |
tree | 1b8cb6ac8c4a4b19a1472258296b6421db1a6317 /health/health.d/go.d.plugin.conf | |
parent | dfc4915ffb73b5b12ce50bcf6c1981afa9928f0a (diff) |
health: add python.d/go.d jobs last_collected_secs alarms (#11168)
Diffstat (limited to 'health/health.d/go.d.plugin.conf')
-rw-r--r-- | health/health.d/go.d.plugin.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/health/health.d/go.d.plugin.conf b/health/health.d/go.d.plugin.conf new file mode 100644 index 0000000000..ecd79c208f --- /dev/null +++ b/health/health.d/go.d.plugin.conf @@ -0,0 +1,17 @@ + +# make sure go.d.plugin data collection job is running + + template: go.d_job_last_collected_secs + on: netdata.go_plugin_execution_time + class: Netdata +component: go.d.plugin + type: Error + module: * + calc: $now - $last_collected_t + units: seconds ago + every: 10s + warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every)) + crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every)) + delay: down 5m multiplier 1.5 max 1h + info: number of seconds since the last successful data collection + to: webmaster |