Problem with notification alerts when bw is below threshold

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
digea
Posts: 6
Joined: Fri Jan 15, 2016 7:13 am

Problem with notification alerts when bw is below threshold

Post by digea »

Hi,

We have trouble configuring notification alerts for our bandwidth monitoring services for our Cisco switches for the cases where we want to get a critical or warning alert when bandwidth goes below a threshold.

An example:

According to https://nagios-plugins.org/doc/guidelines.html, if want Nagios to trigger a warning notification when input bw goes below 62 Mbps and a critical notification when it goes further down below 50 Mbps, we have to use a check command like this:

check_xi_service_mrtgtraf!192.168.xxx.xxx_10101.rrd!62.0:,500.0!50.0:,800.0!M!!!!

This is how input/output gauges look like in this case and when input bw is ~60Mbps:

Image

Although current input bw is within the warning range, service state remains in the OK state:

Image

We've tried several different combinations of the alert tresholds, but we couldn't manage to have a state other than OK.

Are we missing something here?

Thank you in advance.
IP Team
DIGEA S.A
[email protected]
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Problem with notification alerts when bw is below thresh

Post by cdienger »

Hi Digea,

I believe what you want is:

[email protected]:62.0:!50.0:!M

Give this a shot and let me know your results.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
digea
Posts: 6
Joined: Fri Jan 15, 2016 7:13 am

Re: Problem with notification alerts when bw is below thresh

Post by digea »

I tried what you suggested but with no success. Any suggestions on how I could possibly debug this?
IP Team
DIGEA S.A
[email protected]
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Problem with notification alerts when bw is below thresh

Post by cdienger »

Unfortunately after poking around this a bit more, the plugin only triggers if bandwidth exceeds a threshold. You can try using check_snmp instead. See rkennedy's post at https://support.nagios.com/forum/viewto ... =7&t=41640 for details.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked