netdata/tests/health_mgmtapi/python-example.conf

17 lines
434 B
Plaintext

alarm: example_alarm1
on: example.random
every: 2s
warn: $random1 > (($status >= $WARNING) ? (55) : (75))
crit: $random1 > (($status == $CRITICAL) ? (75) : (95))
info: random
to: sysadmin
alarm: example_alarm2
on: example.random
every: 2s
warn: $random2 > (($status >= $WARNING) ? (55) : (75))
crit: $random2 > (($status == $CRITICAL) ? (75) : (95))
info: random
to: sysadmin