On Fri, Aug 22, 2008 at 7:36 PM, Kevin Freels <[EMAIL PROTECTED]> wrote: > Greetings! > > I'm having an odd issue with check_mailq and nrpe. When I run the > check_mailq command natively (i.e., on the client), I get the proper > response: > > testhost:/usr/local/nagios/libexec # ./check_mailq -w 300 -c 500 > OK: mailq (01) is below threshold (300/500) | mailq = 01
You're root here, right? > But if I run it remotely from the server: > > nagios# ./check_nrpe -H testhost -c check_mailq > | mailq = If I remember correctly, you need to be root to run mailq on most systems so you might need to give the nrpe user sudo access for it. -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list [email protected] 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
