add fronius alarm template
Chris committed
Feb 25, 2018 at 21:45 UTC
7f7a737afe251820ff43395984caad3c547851e3
1 file changed
+11
conf.d/health.d/fronius.conf
new
+11
@@ -0,0 +1,11 @@
1
+template: fronius_last_collected_secs
2
+families: *
3
+ on: fronius.power
4
+ calc: $now - $last_collected_t
5
+ every: 10s
6
+ units: seconds ago
7
+ warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
8
+ crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
9
+ delay: down 5m multiplier 1.5 max 1h
10
+ info: number of seconds since the last successful data collection
11
+ to: sitemgr