I have a new command which I have implemented as a Nagios plugin. Running the command as user nagios on the client gives the correct output (currently the string " : test ()") and return code 2 which is what I require. Running the command "/usr/bin/nagios/plugins/check_nrpe -H CLIENT -t 30 -c COMMAND" on a Nagios server (in this case a slave server) also gives the correct output and return code. Running the command as a plugin gives the reply "(No output from plugin)". I have checked that the script puts its output to standard output and have added the line "use lib /usr/lib/nagios/plugins; use plugins" to the command script (as suggested by the FAQ) without any change. Does anyone have any suggestions to correct this problem ?
Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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