Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
This plugin will remotely check the network speed of your Linux/Solaris server using SNMP. Usage: check_interface.pl -H, --hostname=HOST name or IP address of host to check -C, --community=COMMUNITY NAME community name for the host's SNMP agent -n, --nic=NETWORK INTERFACE name of the network interface to check -s, --speed=NETWORK SPEED network speed in Mb
Current Version
0.1
Last Release Date
2012-08-25
Owner
Damian Myerscough
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2012/08/check_interface.pl
License
GPL
Compatible With
Check network interface
This plugin will remotely check the network speed of your Linux/Solaris server using SNMP.
Usage: check_interface.pl <-H hostname> <-n network card> <-s network speed Mb>
-H, --hostname=HOST name or IP address of host to check -C, --community=COMMUNITY NAME community name for the host's SNMP agent -n, --nic=NETWORK INTERFACE name of the network interface to check -s, --speed=NETWORK SPEED network speed in Mb
I've asked the owner to modify the regex when searching for interface names. The script at the moment only matches interfaces index numbers 1-9. http://www.net-snmp.org/docs/mibs/interfaces.html shows ifTable indexes can be 1-2147483647. I've requested the regex under line 69: if ( $line =~ m/$OID_networkInterfaces.([0-9]) = STRING: (.*)/ ) to be modified to if ( $line =~ m/$OID_networkInterfaces.([0-9]){1,10} = STRING: (.*)/ ) You can obviously do this yourself with a text editor when importing to nagios.
This is a great plugin. It makes monitoring our interfaces very easy. The only issue we are having is that sometimes it responds with: "Cannot identify the eth# network interface" When I snmpwalk the MIBS from the check_interface.pl, I see the interface in question. Any ideas?
Overall it has good reporting of iferrors, but we are unable to graph the errors accordingly, using the -f function- only reports back 0's, not the actual error counts.
You must be logged in to submit a review.
To:
From: