* Marc Powell <[EMAIL PROTECTED]> [2007-08-31 09:20]: > > 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.
Yup, I gave the pointers on nagiosplug-help@ yesterday: http://article.gmane.org/gmane.network.nagios.plugins/2885 Holger ------------------------------------------------------------------------- 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