Greetings,<br><br>Solaris 10/Solaris 9<br>nrpe version 2.8b1<br>mailq version 1.4.3<br>nrpe 2.8b1<br><br>From the nagios server as nagios:<br>$ ./check_nrpe -H host1 -p 5666 -c check_mailq<br>NRPE: Unable to read output<br>
$ ./check_nrpe -H host1 -p 5666 -c check_disk1<br>DISK OK - free space: / 1356 MB (33% inode=83%);| /=2640MB;3632;3834;0;4036<br>$ ./check_nrpe -H host1 -p 5666 -c check_swap<br>SWAP OK - 100% free (6146 MB out of 6146 MB) |swap=6146MB;1229;614;0;6146
<br>$ ./check_nrpe -V<br>./check_nrpe: illegal option -- V<br><br>NRPE Plugin for Nagios<br>Copyright (c) 1999-2007 Ethan Galstad (<a href="mailto:nagios@nagios.org">nagios@nagios.org</a>)<br>Version: 2.8b1<br>Last Modified: 03-14-2007
<br><br><br>From the offending host1 as nagios:<br>$ pwd<br>/usr/local/nagios/libexec<br>$ ./check_mailq -w 5 -c 10 -M sendmail<br>OK: mailq is empty|unsent=0;5;10;0<br>$ grep mailq ../etc/nrpe.cfg<br>command[check_mailq]=/usr/local/nagios/libexec/check_mailq -w 5 -c 10 -M sendmail
<br>$ mailq<br>/var/spool/mqueue is empty<br>                Total requests: 0<br>$ ./check_mailq -V<br>check_mailq (nagios-plugins 1.4.3) 1.6<br>The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute<br>
copies of the plugins under the terms of the GNU General Public License.<br>For more information about these matters, see the file named COPYING.<br>$ ./check_disk -V<br>check_disk (nagios-plugins 1.4.6) 1.84<br>$ ./check_swap -V
<br>check_swap (nagios-plugins 1.4.3) 1.55<br><br>Question 1: Anyone seen the 'Unable to read output' and resolved it?<br>Question 2: check_mailq isn't part of plugins-1.4.9 on my solaris compile, any chance it returns?
<br><br>thanks in advance,<br>-Marc<br>