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
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.