No output!

Ashley Dawkins adawkins at skynet.co.uk
Thu Aug 31 15:58:49 CEST 2006


Hi list



I've spent most of the last week googling for the solution to a
 problem we're having with Nagios 2.4. All of our checks work fine,
 apart from our one mysql_query check, which keeps returning "No
 output!" in Nagios. Even when I change the password to the wrong
 password, Nagios returns "No output!". When run manually as a standard
 user, as nagios or as root however, the check command returns the
 correct reply (QUERY OK). A workmate also wrote a script to run
 the check and check it's return value, and this also returned a
 0. 

I understand there is a patch for embedded Perl producing this "No
 output!", but the check commands are not Perl. 



The command definition is: 

# 'check_mysql_query' command definition

define command{

        command_name    check_mysql_query

        command_line    $USER1$/check_mysql_query -q $ARG1$ -w $ARG2$
 -d $ARG3$ -H $HOSTALIAS$ -u $ARG4$ -p $ARG5$

        }

Here is the check_command taken from the service definition: 

check_mysql_query!"select count(ProductName) from Products where
 ProductID=1;"!1!database!username!password



Is there anything we can do to fix this?



- Ashley



-----------------------

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-users.34.0.html

				

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list