check_mssql_health icon indicating copy to clipboard operation
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,".

Open nmartinho opened this issue 10 years ago • 1 comments

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

nmartinho avatar Feb 09 '15 16:02 nmartinho

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

historicbruno avatar Jul 23 '15 16:07 historicbruno