configuring check_mysqld.pl

Marc Powell marc at ena.com
Fri Aug 31 16:20:01 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Bijit
> Sent: Friday, August 31, 2007 8:23 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] configuring check_mysqld.pl
> 
> Hi Marc,
> 
> 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.

Great! That's not how you've told nagios to run it though. I explained
why in my original message. You'll want to review the documentation on
using macros in commands, specifically passing arguments. While I could
just hand you the answer, it's a basic and important concept you should
understand and the documentation covers it well.

--
Marc



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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