varnish plugin: last collected alarm added
Ilya committed
Jan 15, 2017 at 16:57 UTC
f66c0554abb16e2c2b071db1d189ccd9f88c8cea
1 file changed
+9
conf.d/health.d/varnish.conf
new
+9
@@ -0,0 +1,9 @@
1
+ alarm: varnish_last_collected
2
+ on: varnish.uptime
3
+ calc: $now - $last_collected_t
4
+ units: seconds ago
5
+ every: 10s
6
+ warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
7
+ crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
8
+ info: number of seconds since the last successful data collection
9
+ to: sysadmin