running .pl script thru nrpe

jeff vier jeff.vier at tradingtechnologies.com
Tue Jun 8 15:58:05 CEST 2004


when you run it on the command line, are you running it as the nagios
user?

On Tue, 2004-06-08 at 08:22, Bolduc, Blair wrote:
> Seriously stumped as to why the return value from the check_qmailq.pl plugin
> runs fine from the command line, but when trying to run it through nrpe it
> returns the following:
> 
> OK: -1 emails not sent, -1 not processed.
> 
> The state returns correctly but the numbers always return as -1.
> The setup is nagios-1.1,  plugins-1.4,  nrpe-2.0.   We've tried tweaking the
> script a dozen ways but always comes back as -1.
> 
> Any pointers at all would be appreciated. Thanks
> 
> Blair Bolduc
> Operations/Monitoring
> Brandon Regional Health Authority
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: GNOME Foundation
> Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
> GNOME Users and Developers European Conference, 28-30th June in Norway
> http://2004/guadec.org
> _______________________________________________
> 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



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
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