Page 1 of 1
Low Bandwidth Alert
Posted: Mon Sep 25, 2023 4:28 pm
by uinthas
I am monitoring a router check_xi_service_mrtgtraf and monitoring the bandwidth. I have been unable to generate an alert if the bandwidth hits 0. I want this so I know if the provider goes down, the port status of course will not give me this. Is there a way to generate an alert if there is no bandwidth via this check or is there a better solution for this?
Re: Low Bandwidth Alert
Posted: Mon Nov 13, 2023 10:54 am
by lgute
Hi
@uinthas, thanks for reaching out.
Check out the Threshold and Ranges section of the
Nagios Plugins Guidelines.
Here are a couple of examples that might get you what you want.
Code: Select all
check_stuff -w~:0 -c10 Critical if "stuff" is above 10; Warn if "stuff" is above zero (will be critical if "stuff" is less than 0)
check_stuff -c@10:20 OK if stuff is less than 10 or higher than 20, otherwise critical