Page 1 of 1

Bandwidth monitoring with Post descrition and Port number

Posted: Mon Dec 12, 2016 6:50 am
by raamardhani7
Hi Team,

We are monitoring bandwidth for few device.We few more information to be monitored. We need three information to be displayed in Nagios for Bandwidth monitoring.Is there any plugin to do it.

a) Port Number
b) Port Description
c) Port Bandwidth


I think check_snmp_int.pl suits but 1.3.6.1.2.1.31.1.1.1.18 needs to be added in the plugin.please help with the above requirement

Re: Bandwidth monitoring with Post descrition and Port numbe

Posted: Mon Dec 12, 2016 10:35 am
by avandemore
Have you looked at the Network Router / Switch Wizard?

Re: Bandwidth monitoring with Post descrition and Port numbe

Posted: Mon Dec 12, 2016 10:58 pm
by raamardhani7
Network Router / Switch Wizard is giving port number and bandwidth.But is not giving the port description e.g port 10124 is for FKR-VPN-ASA or port 10624 is for ATT MPLS.This details we can get if we some how use Network Router / Switch Wizard with OID 1.3.6.1.2.1.31.1.1.1.18.This details I am getting using the SNMPWALK plugin but for many device am not getting entire port on the device so cant use that.

Re: Bandwidth monitoring with Post descrition and Port numbe

Posted: Tue Dec 13, 2016 12:36 pm
by avandemore
1.3.6.1.2.1.31.1.1.1.18 is IF-MIB::ifAlias, not IF-MIB::ifName which is the one the wizard queries.

You can also use the SNMP Walk wizard which will by default go through all IF-MIB and allow you to select the appropriate OID's.

Or you can create your own custom wizard/plugin to do this.

The wizard uses the /usr/local/nagios/libexec/check_rrdtraf plugin so you can also modify that if need. Just be aware this would get overwritten on a upgrade.