> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Bijit > Sent: Friday, August 31, 2007 8:23 AM > To: nagios-users@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 > > [EMAIL PROTECTED] ~]$ cd /usr/local/nagios/libexec > [EMAIL PROTECTED] 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@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