I have been trying to search on google for this problem but nothing I find fixes it.
I am using the check_sql plugin from nagios exchange, when I run it from the command line it returns successfully but from with in nagios the status is Unknown and the status information is (No Output!).
This is what I run from the command line.
./check_sql -H (server) -d Sybase -U (username) -P (password)
and the result is:
CHECK_SQL OK - SQL Server responded in 0.047788 seconds | time=0.047788s;;
This is what I have in the commands.cfg
# 'check_mssql' command definition
command_line $USER1$/check_sql -H (server) -d Sybase -U (username) -P (password)
This is the services.cfg
Check Frodo APPLOGS database for FLR stats
I have already tried adding the use lib utils.pm path to the check_sql file
I have tried to add /usr/local/perl to the begining of the check command.
The rights to all the check commands are 755 and nagios is the owner and group
this is version 2.8 of nagios.
Anyone got any ideas?