lausser / check_mssql_health

Wenn du dich für Plugins (oder OMD oder allgemein Monitoring) interessierst oder von deiner Installation erzählen willst...die Tradition der deutschsprachigen Monitoring-Workshops wird wiederbelebt: https://discord.gg/jDfPZ63FcJ A plugin, which checks various parameters of Microsoft SQL database servers.
http://labs.consol.de/nagios/check_mssql_health
GNU General Public License v2.0
38 stars 27 forks source link

**ePN /usr/lib/nagios/plugins/check_mssql_health: "Use of uninitialized value in numeric gt (>) at (eval 1) line 1284,". #14

Open nmartinho opened 9 years ago

nmartinho commented 9 years ago

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

historicbruno commented 8 years ago

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