You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I noticed, that thresholds are not supported in the uptime checks. Imho, I should be able to get an alert, when -c < -w < value.
E.g. critical when uptime < 10m ; warning when uptime < 15m
Cheers,
Marcus
The text was updated successfully, but these errors were encountered:
thanks for the feature request, this is a good idea for an enhancement. 👍
Are you sure about the comparison "direction" i.e. warning/critical when value is bigger? Shouldn't it be the other way around, so someone gets notified when the box restarts unexpectedly?
Indeed, you are right ^^ But on the other side, using ranges would make sense, too. Using ranges like defined in https://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT, a given tresh like X:Y could check if the uptime is < X (suddenly reboot) and uptime > Y (running for a long time without reboot)
mcktr
changed the title
uptime checks should work with thresholds
Implement threshold ranges
Nov 2, 2020
Hi,
I noticed, that thresholds are not supported in the uptime checks. Imho, I should be able to get an alert, when -c < -w < value.
E.g. critical when uptime < 10m ; warning when uptime < 15m
Cheers,
Marcus
The text was updated successfully, but these errors were encountered: