A few days ago I decided to migrate my own servers to Debian GNU/Linux Jessie. Having migrated my firewall, I started getting an error in the Nagios Manubulon plugin check_snmp_netint.pl since it does not find the interface eth1.
It's a pity If it can not solve because quite a while I was using the check_snmp_netint.pl plugin and was very happy with their results. But now in Debian Jessie I'm having this problem. It seems that something has changed in the SNMP service included in the new version of Debian since before (on Debian Wheezy) the description matched the ifName:
# ./check_snmp_netint.pl -H srv01.freesoftware -C public -w 1500,295 -c 2500,400 -n -v
Alarm at 10 + 5
SNMP v1 login
Filter :
OID : 1.3.6.1.2.1.2.2.1.2.2, Desc : eth0
OID : 1.3.6.1.2.1.2.2.1.2.1, Desc : lo
Name : eth0, Index : 2
eth0:UP:(1 UP): OK |
I think it is easier to identify interfaces such as eth0, eth1, etc, rather than by its manufacturer/model.
Is it possible to change the behavior of the plugin so that "-n" allows to specify ifName instead of ifDescr and the plugin output is based on ifName because of this change in Debian?
Hi!
A few days ago I decided to migrate my own servers to Debian GNU/Linux Jessie. Having migrated my firewall, I started getting an error in the Nagios Manubulon plugin
check_snmp_netint.pl
since it does not find the interface eth1.This was running smoothly prior to migration, although it now seems to have changed the description:
So I checked the equivalence between ifDescr and ifName:
I could use something like this, but the output is extremely long:
It's a pity If it can not solve because quite a while I was using the
check_snmp_netint.pl
plugin and was very happy with their results. But now in Debian Jessie I'm having this problem. It seems that something has changed in the SNMP service included in the new version of Debian since before (on Debian Wheezy) the description matched the ifName:I think it is easier to identify interfaces such as eth0, eth1, etc, rather than by its manufacturer/model.
Is it possible to change the behavior of the plugin so that "-n" allows to specify ifName instead of ifDescr and the plugin output is based on ifName because of this change in Debian?
Thanks in advance.
Best regards, Daniel