I am trying to setup a threshold alarm alarm on a router interface.
This interface is supposed to have traffic any given time, so if the traffic goes of, we need to it to be alarmed/notified.
I am using the wizard in xi, and came to this check check_xi_service_mrtgtraf
$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4
ARG2 and ARG3 seems only alarms if the read value is above this threshold.
Is there a way to have notification generated if the value is below ARG2 or ARG3?
check_xi_service_mrtgtraf - notification threshold question
-
- Posts: 2
- Joined: Wed Jan 22, 2020 1:50 pm
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: check_xi_service_mrtgtraf - notification threshold quest
There isn't a way in this plugin as per the help:
However, if you set ARG2 and ARG3 to 0.0,0.0 it will alarm if it reaches 0
Code: Select all
Notes:
-Warning and critical thresholds are MAX values,
going above the threshold will trigger an alert.
However, if you set ARG2 and ARG3 to 0.0,0.0 it will alarm if it reaches 0