noticed 2 issues after updating from 5.2.7 to 5.2.8 today (all SNMP related, the 2nd one not solved):
1. "ERROR: running table : Message size exceeded maxMsgSize".
Fixed this by following this thread -> https://support.nagios.com/forum/viewto ... 320#p22328
But why did this change? I didn't change anything in our Win servers?
2. SNMP services check fails at SQL services called 'SQL Server (MSSQLSERVER)', etc.
The XI check looks like that:
Code: Select all
check_xi_service_snmp_win_service! -C our_community --v2c -r -n 'SQL Server (MSSQLSERVER)'
Code: Select all
-C our_community --v2c -r -n 'SQL Server (MSSQLSERVER)'
Removing the "-r" option does NOT do the trick.
Using the "-r" gives this error:
Code: Select all
"SQL Server (MSSQLSERVER)" not active : CRITICAL
Code: Select all
No services matching "SQL Server (MSSQLSERVER)" found : CRITICAL
If I run the "Test Command" from core I see that the brackets are escaped with "/" on both the 5.2.7 and 5.2.8.
When I run the command from SSH only this one works giving the OK state (and picks the right service, looking at the verbose output):
Code: Select all
/usr/local/nagios/libexec/check_snmp_win.pl -H FQDN.com -C our_community --v2c -n 'SQL Server \(MSSQLSERVER\)' -v