Build precise queries to find exactly what you need
Press ESC to close
@kevinhe
Member Since: July 16, 2020
Favorites0
Views
Projects0
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.
Reviewed 5 years ago