[Nagiosplug-help] check_mysql returns null

Justin Maloney justinm at honeycomb.net
Mon Mar 24 20:33:31 CET 2008


It could be if the check is set to return that if it can't find libs or
includes.  Did you compile the script on that server or move it from
another?  Try running it with the full path while you are in another
directory.  I had a similar issue with a perl script and that was the
test, the solution was to add the path to the include line.  Don't know
how you could do that with your script but you could add the path to the
user that is running it.

 

Thank you,
Justin Maloney
Systems Administrator
Honeycomb Internet Services
612.617.0007

________________________________

From: nagiosplug-help-bounces at lists.sourceforge.net
[mailto:nagiosplug-help-bounces at lists.sourceforge.net] On Behalf Of
Jason Brunk
Sent: Sunday, March 23, 2008 8:53 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] check_mysql returns null

 

I am having an issue with the check_mysql.  Hoping someone has run into
this before.  when i run this plugin from the command line i get this

 

 ./check_mysql -H mysql.wthosting.com -uUSER -pPASS
Uptime: 7630478  Threads: 4  Questions: 341247089  Slow queries: 1278
Opens: 1050510  Flush tables: 1  Open tables: 3290  Queries per second
avg: 44.722

 

however, when its setup as a command in nagios.  It returns warning
because the status information says (null) 

 

Has anyone seen this?  Know how to fix it?  

 

 

Jason Brunk
WTHosting.com
1-866-268-7725 ext 707
jbrunk at wthosting.com

** For any hosting related technical issues, email support at wthosting.com
and one of our technicians will assist you.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080324/a0fbf706/attachment.html>


More information about the Help mailing list