mysql (No output!)

Marc Powell marc at ena.com
Mon Jan 7 23:42:01 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Luis Gardea
> Sent: Monday, January 07, 2008 4:00 PM
> To: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] mysql (No output!)
> 
> hi
> 
> 
> I have this problem, is the same that tu.bijit(at)gmail.com
> 
> I tried the following with check_mysqld.pl plugin being the Nagios
> user. Following is the output
> 
> [nagios(at)RHEL5 ~]$ cd /usr/local/nagios/libexec
> [nagios(at)RHEL5 libexec]$ ./check_mysqld.pl -H localhost -u root -p
root
> MYSQL 5.0.22 OK
> 
> 
> >From the output, it seems the plugin working fine from the command
line.
> 
> But still, i get error from web interface of Nagios (i.e
> http://localhost/nagios), it is showing the following;
> 
> MYSQLD CRITICAL 09-01-2007 00:05:53 0d 22h 44m 16s 4/4 (No output!)
> 
> 
> I believe, I have missed something while configuring the same for the
> Web Interface.

Try adding '2>&1' to the end of your command{} definition to see what
the true error is

$USER1$/check_mysqld.pl -H $HOSTADDRESS$ -u root -p root 2>&1

Also, when asking about non-standard plugins, it's useful to detail
where you got the plugin so others know the specific check_mysqld.pl
you're using.

--
Marc 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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