Last active
July 4, 2018 00:59
-
-
Save xikaos/40062e4dced73f9b8fb7e724383c7cf2 to your computer and use it in GitHub Desktop.
Netdata alert to check if a node is down. Put on the master health.d directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alarm: slave_down | |
on: system.cpu | |
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)) | |
info: number of seconds since the last successful data collection | |
to: sysadmin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment