Looking low threshold on interface alert plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mr.t
Posts: 5
Joined: Tue Aug 21, 2012 8:18 am

Looking low threshold on interface alert plugin

Post by mr.t »

I am currently looking for a plugin which can alert when the bandwidth of an interface is low in certain threshold.
Anyone know ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Looking low threshold on interface alert plugin

Post by slansing »

Have you taken a look at solutions such as this:

http://www.vanstechelman.eu/linux/nagio ... age_plugin
mr.t
Posts: 5
Joined: Tue Aug 21, 2012 8:18 am

Re: Looking low threshold on interface alert plugin

Post by mr.t »

I am going to monitor cisco switches/routers. so, i can not use vnstat command. any other plugin?
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Looking low threshold on interface alert plugin

Post by yancy »

mr.t,

You should be able to gather the needed interface metrics via SNMP

for example:
http://exchange.nagios.org/directory/Pl ... ck/details

Regards,

-Yancy
mr.t
Posts: 5
Joined: Tue Aug 21, 2012 8:18 am

Re: Looking low threshold on interface alert plugin

Post by mr.t »

I think with check_snmp_netif, i can get all interface statistic but i can not set the low threshold. Which option to set WARN when low threshold is met?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Looking low threshold on interface alert plugin

Post by slansing »

You can set the warning threshold with "-w" as stated in the plugin. There are 473 lines of documentation included within the plugin.
mr.t
Posts: 5
Joined: Tue Aug 21, 2012 8:18 am

Re: Looking low threshold on interface alert plugin

Post by mr.t »

the "-w" checks for high threshold like if my interface is 100Mbps and the traffic is nearly 100Mbps (let say >80Mbps) then nagios will trigger WARNING. BUT my purpose is to monitor low threshold like if traffic is low to <10Mbps, then nagios trigger WARNING.
Locked