[Nagiosplug-help] check_mailq

Robert Cole robert.cole at support4linux.com
Sun Aug 26 06:50:43 CEST 2007


Anyone have any ideas on this check_mailq issue I'm having?

Thanks,
Robert

Robert Cole wrote:
> I'm running plugins 1.4.9 and nrpe 2.8.1 on a RHEL 5 64bit host and the 
> check mailq seems to work fine on the local host:
> 
> [root at mail001 ~]# /usr/local/nagios/libexec/check_mailq -w 20 -c 50
> OK: mailq (17) is below threshold (20/50)|unsent=17;20;50;0
> [root at mail001 ~]#
> 
> But when I try it from nrpe from the nagios server I get this:
> 
> ms1 ~ # /usr/nagios/libexec/check_nrpe -H mail001 -c check_mailq
> CRITICAL: Error code 78 returned from /usr/bin/mailq
> ms1 ~ # nano -w /etc/nagios/commands.cfg
> 
> I've done some googling but can't seem to come up with anything.
> 
> The nagios system isn't a 64 bit OS but I don't think that makes a 
> difference sense I'm passing through nrpe. There are other nrpe checks 
> that work just fine on this host.
> 
> Anyone have any ideas?
> 
> Thanks,
> Robert
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> 
> 





More information about the Help mailing list