check_xi_service_mrtgtraf - notification threshold question

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
john.lancelot
Posts: 2
Joined: Wed Jan 22, 2020 1:50 pm

check_xi_service_mrtgtraf - notification threshold question

Post by john.lancelot »

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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: check_xi_service_mrtgtraf - notification threshold quest

Post by scottwilkerson »

There isn't a way in this plugin as per the help:

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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart