[Nagiosplug-help] check_nrpe and check_mailq

Marc Belanger sun.jedi at gmail.com
Tue Jun 26 20:34:47 UTC 2007


Greetings,

Solaris 10/Solaris 9
nrpe version 2.8b1
mailq version 1.4.3
nrpe 2.8b1

>From the nagios server as nagios:
$ ./check_nrpe -H host1 -p 5666 -c check_mailq
NRPE: Unable to read output
$ ./check_nrpe -H host1 -p 5666 -c check_disk1
DISK OK - free space: / 1356 MB (33% inode=83%);| /=2640MB;3632;3834;0;4036
$ ./check_nrpe -H host1 -p 5666 -c check_swap
SWAP OK - 100% free (6146 MB out of 6146 MB) |swap=6146MB;1229;614;0;6146
$ ./check_nrpe -V
./check_nrpe: illegal option -- V

NRPE Plugin for Nagios
Copyright (c) 1999-2007 Ethan Galstad (nagios at nagios.org)
Version: 2.8b1
Last Modified: 03-14-2007


>From the offending host1 as nagios:
$ pwd
/usr/local/nagios/libexec
$ ./check_mailq -w 5 -c 10 -M sendmail
OK: mailq is empty|unsent=0;5;10;0
$ grep mailq ../etc/nrpe.cfg
command[check_mailq]=/usr/local/nagios/libexec/check_mailq -w 5 -c 10 -M
sendmail
$ mailq
/var/spool/mqueue is empty
                Total requests: 0
$ ./check_mailq -V
check_mailq (nagios-plugins 1.4.3) 1.6
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
$ ./check_disk -V
check_disk (nagios-plugins 1.4.6) 1.84
$ ./check_swap -V
check_swap (nagios-plugins 1.4.3) 1.55

Question 1: Anyone seen the 'Unable to read output' and resolved it?
Question 2: check_mailq isn't part of plugins-1.4.9 on my solaris compile,
any chance it returns?

thanks in advance,
-Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nagios.com/pipermail/nagiosplugin-help/attachments/20070626/ebd053d1/attachment.html>


More information about the Nagiosplugin-help mailing list