[Nagiosplug-devel] Weird plugin failure with nrpe

Gary W. Smith gary at primeexalia.com
Wed Sep 13 18:19:28 CEST 2006


That's what I thought at first (I dug around before asking the question).  What I ended up doing is renaming check_mailq and creating a wrapper that logged the output.  Check_mailq apparently couldn't find utils.pm when running from nrpe but it can locally.  If I added a cd /path/to/utils.pm in that script it works fine.  

Gary Wayne Smith

From: nagiosplug-devel-bounces at lists.sourceforge.net [mailto:nagiosplug-devel-bounces at lists.sourceforge.net] On Behalf Of moshe sharon
Sent: Wednesday, September 13, 2006 1:24 AM
To: Nagios Plugin Development Mailing List
Subject: Re: [Nagiosplug-devel] Weird plugin failure with nrpe

I'm guessing its permissions problems. please run your check_command with the user you running NRPE.
Moshe Sharon

More information about the Devel mailing list