Page 1 of 1

E-mail Notification for Bandwidth Monitoring

Posted: Fri May 29, 2015 2:03 am
by glenl
Hi Nagios Support,

I have a inquiry with regards to bandwidth monitoring.

I am monitoring our network router. Then we encountered a problem with that said router. It seems that there was an issue on the network link. On our Nagios server, the result of bandwidth utilization was 0MB which was right since there were no traffic on the said router.

Our inquiry is that is it possible to trigger an e-mail notification when the bandwidth monitoring result was 0MB? We're just concern that the issue will occur again and we can't take action as soon at it happened since Nagios server will not trigger the e-mail notification.

Is there a alternative resolution when it comes to that issue.

Were currently using Nagios XI 2014R2.6 on CentOS server 6.6.

Your responses would be mostly appreciated.

Thank you.

Re: E-mail Notification for Bandwidth Monitoring

Posted: Fri May 29, 2015 10:08 am
by lmiltchev
Setting up "less than" alert is not possible with this plugin. Check out the help page:

/usr/local/nagios/libexec/check_rrdtraf -h
Notes:
-Warning and critical thresholds are MAX values,
going above the threshold will trigger an alert.

Re: E-mail Notification for Bandwidth Monitoring

Posted: Sun May 31, 2015 7:44 pm
by glenl
Well, I'm somehow aware of that.

So there is no chance that the e-mail notification will be trigger when the a certain limit was not attained?

I guess we just need to think for an alternative solution to the data link monitoring of our network devices.

Thank you very much for your response.

We will just implement the Ping monitoring to the other side of the network tunnel to check if the data can pass through that tunnel.

Re: E-mail Notification for Bandwidth Monitoring

Posted: Sun May 31, 2015 8:17 pm
by Box293
You could use the negate plugin which does the opposite.

Here's an example where I run a plugin that returns an OK state:

Code: Select all

./check_ssh localhost
SSH OK - OpenSSH_5.3 (protocol 2.0) | time=0.010402s;;;0.000000;10.000000
Now here's an example when I use negate to run the plugin:

Code: Select all

./negate -s ./check_ssh localhost
SSH CRITICAL - OpenSSH_5.3 (protocol 2.0) | time=0.011149s;;;0.000000;10.000000
You could use negate to do a similar thing with check_rrdtraf.

Re: E-mail Notification for Bandwidth Monitoring

Posted: Mon Jun 01, 2015 2:20 am
by glenl
Thank you for suggesting the negate plug-in.

We'll try creating new network monitoring with the negate plug-in.

Finished testing it on our environment and it was successful.

Thank you very much.

You can now close this thread.