nrpe and check_mailq

Kevin Freels kfreels at sendmail.com
Fri Aug 22 19:36:07 CEST 2008


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
  

But if I run it remotely from the server:

nagios# ./check_nrpe -H testhost -c check_mailq
 | mailq =


If I run any other remote command, it works:

nagios# ./check_nrpe -H testhost -c check_slapd_proc
PROCS OK: 13 processes with command name 'slapd'

- or - 

nagios# ./check_nrpe -H testhost -c check_load
OK - load average: 0.06, 0.14, 0.17|load1=0.060;15.000;30.000;0;
load5=0.140;10.000;25.000;0; load15=0.170;5.000;20.000;0;


I've tried the usual (restart nrpe on the client, telnet to 5666), all
seems to be okay.

Hints? Tips? Tricks?

Thanks, as always!!

....k 
-=-=-=- 
Kevin Freels
Director of Information Technology
Sendmail, Inc.
kfreels at sendmail.com  510/594.5572

-------------------------------------------------------------------------
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
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