check_mssql_health
check_mssql_health copied to clipboard
**ePN /usr/lib/nagios/plugins/check_mssql_health: "Use of uninitialized value in numeric gt (>) at (eval 1) line 1284,".
I'm having issues with mode "database-free", in some instances it gives me error. Even debugging nagios i can't understeand the error.
**ePN /usr/lib/nagios/plugins/check_mssql_health: "Use of uninitialized value in numeric gt (>) at (eval 1) line 1284,".
If i run in shell it works ok.
/etc/nagios3/plugins/check_mssql_health --server=xxxxxxxx --username=xxx--password=xxxx--mode database-free --offlineok
OK - database tempdb has 99.97% free space left, database msdb has 99.54% free space...
Note for those who encounter this issue: it should be possible to add this comment to the top of the script to prevent it running with ePN
# nagios: -epn
Some advice for troubleshooting Perl scripts with ePN: http://nagios.sourceforge.net/docs/3_0/epnplugins.html https://nagios-plugins.org/doc/guidelines.html#PERLPLUGIN