Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
SNMP Interface
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Standard checks
The script will check interface operationnal (or administrative) status using the MIB-II table.
Full snmp v1, v2c and v3 support (AuthNoPriv, AuthPriv).
The interfaces are selected by their description in the MIB-II table.
Regular expressions can be used (eth will match eth0, eth1, eth2...).
The script will return OK if ALL interfaces selected are UP, or CRITICAL if at least one interface is down.
Script can return a OK value when all interfaces are down (and CRITICAL when at least one is up) with the -i option.
It is also possible to check the interface bandwidth (in / out in K|M|GB/s or K|M|Gb/s).
You can use high performance MIB for high speed interface (>1Gbps)
Performance output :
- In/out octet (as a counter) or speed.
- In/out errors and discarded packets.
More descriptions and downloads : http://nagios.manubulon.com/snmp_int.html
The script will check interface operationnal (or administrative) status using the MIB-II table.
Full snmp v1, v2c and v3 support (AuthNoPriv, AuthPriv).
The interfaces are selected by their description in the MIB-II table.
Regular expressions can be used (eth will match eth0, eth1, eth2...).
The script will return OK if ALL interfaces selected are UP, or CRITICAL if at least one interface is down.
Script can return a OK value when all interfaces are down (and CRITICAL when at least one is up) with the -i option.
It is also possible to check the interface bandwidth (in / out in K|M|GB/s or K|M|Gb/s).
You can use high performance MIB for high speed interface (>1Gbps)
Performance output :
- In/out octet (as a counter) or speed.
- In/out errors and discarded packets.
More descriptions and downloads : http://nagios.manubulon.com/snmp_int.html
Reviews (4)
byagentdavidson, January 16, 2022
I've been using the script for many years across various networking devices successfully. However I tried it against a new Foritgate 100F Firewall (FortiOS 6.4.7) and it wouldn't find any of the interfaces by name. It would just return:
ERROR : Unknown interface
snmpwalk revelled that the interface names were under ifName OID 1.3.6.1.2.1.31.1.1.1.1 rather than ifDescr OID 1.3.6.1.2.1.2.2.1.2
So I made a copy of the script and changed the $descr_table variable to this:
my $descr_table = '1.3.6.1.2.1.31.1.1.1.1';
And bingo. Now it's working with this Fortigate.
ERROR : Unknown interface
snmpwalk revelled that the interface names were under ifName OID 1.3.6.1.2.1.31.1.1.1.1 rather than ifDescr OID 1.3.6.1.2.1.2.2.1.2
So I made a copy of the script and changed the $descr_table variable to this:
my $descr_table = '1.3.6.1.2.1.31.1.1.1.1';
And bingo. Now it's working with this Fortigate.
byOlga, February 19, 2017
After I tried several plugins I was unable to check network interfaz status in Linux Centos 7 virtual box machine.
With this plugin I get it in 5 minutes.
Thank you !
With this plugin I get it in 5 minutes.
Thank you !
byrisker, September 28, 2015
Great Plugin if configured correctly.
More samples are available on the maintainers homepage
More samples are available on the maintainers homepage
by_bk201, January 8, 2013
If i run "./check_snmp_int.pl -H 10.1.1.1 -C banana -n outside" I get back: Adaptive Security Appliance 'outside' interface:UP:1 UP: OK
If i run "./check_snmp_int.pl -H 10.1.254.1 -C public -n outside -k" i get error:
"Use of uninitialized value $o_warn_opt in split at ./check_snmp_int.pl line 330.
2 warning levels for bandwidth checks
"
Any ideas? running debian6 with Perl 5.10.1
If i run "./check_snmp_int.pl -H 10.1.254.1 -C public -n outside -k" i get error:
"Use of uninitialized value $o_warn_opt in split at ./check_snmp_int.pl line 330.
2 warning levels for bandwidth checks
"
Any ideas? running debian6 with Perl 5.10.1