<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"><title>localhost DOWN messages, return code 127 is out of bounds</title>
</head>
<body>
<font face="Consolas, Courier New, Courier"><span style="font-size:11pt">Hello,<br>
<br>
Just installed nagios 3.2.1 following the docs at<br>
<a href="http://nagios.sourceforge.net/docs/3_0/quickstart.html">http://nagios.sourceforge.net/docs/3_0/quickstart.html</a><br>
<br>
Everything starts up normally, web interface is fine, can login,<br>
enable/disable checks, etc... However, every 2 hours exactly,<br>
I'm getting the following alert in email:<br>
<br>
From: nagios<br>
Subject: ** PROBLEM Host Alert: localhost is DOWN **<br>
<br>
***** Nagios *****<br>
<br>
Notification Type: PROBLEM<br>
Host: localhost<br>
State: DOWN<br>
Address: 127.0.0.1<br>
Info: (Return code of 127 is out of bounds - plugin may be missing)<br>
<br>
Date/Time: Tue May 18 15:00:15 PDT 2010<br>
<br>
If I go to check the services, everything is green.<br>
<br>
This is coming from a fresh install with nothing special configured.<br>
<br>
I've googled until my eyes glazed over and no one seems to report<br>
this happening with "localhost". I've checked for the plugins,<br>
checked permissions, etc... The best I can tell, it's all as it<br>
should be. I’m sure I’ve missed some simple detail somewhere, but<br>
it’s eluding me at the moment.<br>
<br>
Any help on solving this problem would be greatly appreciated.<br>
<br>
Below, I've included logfile contents as well as every detail<br>
I could think of on how the system is setup.<br>
<br>
Thanks<br>
<br>
[1274215437] Nagios 3.2.1 starting... (PID=5185)[1274215437] Local time is Tue May 18 13:43:57 PDT 2010<br>
[1274215437] LOG VERSION: 2.0<br>
[1274215437] Finished daemonizing... (New PID=5186)[1274215447] Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually e<br>
xists.<br>
[1274215447] HOST ALERT: localhost;DOWN;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215477] Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you'r<br>
e trying to run actually exists.<br>
[1274215477] SERVICE ALERT: localhost;Current Load;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215517] Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually e<br>
xists.<br>
[1274215517] HOST ALERT: localhost;DOWN;SOFT;2;(Return code of 127 is out of bounds - plugin may be missing)[1274215517] Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you'<br>
re trying to run actually exists.<br>
[1274215517] SERVICE ALERT: localhost;Current Users;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215557] Warning: Return code of 127 for check of service 'HTTP' on host 'localhost' was out of bounds. Make sure the plugin you're trying<br>
to run actually exists.<br>
[1274215557] SERVICE ALERT: localhost;HTTP;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215587] Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually e<br>
xists.<br>
[1274215557] SERVICE ALERT: localhost;HTTP;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215587] Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually e<br>
xists.<br>
[1274215587] HOST ALERT: localhost;DOWN;SOFT;3;(Return code of 127 is out of bounds - plugin may be missing)<br>
[1274215597] Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.<br>
[1274215597] SERVICE ALERT: localhost;PING;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)<br>
[1274215627] Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.<br>
[1274215627] SERVICE ALERT: localhost;Root Partition;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)<br>
<br>
<br>
Detailed information on the system, what's installed, etc...:<br>
<br>
CentOS 5.4<br>
Linux [deleted] 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux<br>
<br>
Nagios 3.2.1<br>
Nagios Plugins 1.4.14<br>
Apache httpd 2.2.15<br>
PHP 5.3.2<br>
<br>
$ grep nagios /etc/passwd<br>
nagios:x:9000:9001::/home/nagios:/bin/bash<br>
<br>
$ grep nag /etc/group<br>
nagcmd:x:9000:apache<br>
nagios:x:9001:nagios<br>
<br>
Options used to build nagios:<br>
./configure --with-command-group=nagcmd \<br>
--prefix=/opt/nagios-3.2.1 \<br>
--with-nagios-user=nagios \<br>
--with-httpd-conf=/opt/httpd/conf<br>
<br>
Options used to build plugins:<br>
./configure --with-nagios-user=nagios \<br>
--with-nagios-group=nagios \<br>
--prefix=/opt/nagios-3.2.1<br>
<br>
Permissions of files in /opt/nagios-3.2.1/libexec:<br>
$ ls -l /opt/nagios-3.2.1/libexec/<br>
total 1360K<br>
-rwxr-xr-x 1 nagios nagios 31052 May 18 13:48 check_apt*<br>
-rwxr-xr-x 1 nagios nagios 2240 May 18 13:48 check_breeze*<br>
-rwxr-xr-x 1 nagios nagios 38078 May 18 13:48 check_by_ssh*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_clamd -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 21516 May 18 13:48 check_cluster*<br>
-r-sr-xr-x 1 root nagios 34952 May 18 13:48 check_dhcp*<br>
-rwxr-xr-x 1 nagios nagios 32640 May 18 13:48 check_dig*<br>
-rwxr-xr-x 1 nagios nagios 48280 May 18 13:48 check_disk*<br>
-rwxr-xr-x 1 nagios nagios 8075 May 18 13:48 check_disk_smb*<br>
-rwxr-xr-x 1 nagios nagios 36777 May 18 13:48 check_dns*<br>
-rwxr-xr-x 1 nagios nagios 18705 May 18 13:48 check_dummy*<br>
-rwxr-xr-x 1 nagios nagios 3051 May 18 13:48 check_file_age*<br>
-rwxr-xr-x 1 nagios nagios 6313 May 18 13:48 check_flexlm*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_ftp -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 85634 May 18 13:48 check_http*<br>
-r-sr-xr-x 1 root nagios 39620 May 18 13:48 check_icmp*<br>
-rwxr-xr-x 1 nagios nagios 23743 May 18 13:48 check_ide_smart*<br>
-rwxr-xr-x 1 nagios nagios 15132 May 18 13:48 check_ifoperstatus*<br>
-rwxr-xr-x 1 nagios nagios 12518 May 18 13:48 check_ifstatus*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_imap -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 7350 May 18 13:48 check_ircd*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_jabber -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 30014 May 18 13:48 check_ldap*<br>
lrwxrwxrwx 1 root root 10 May 18 13:48 check_ldaps -> check_ldap*<br>
-rwxr-xr-x 1 nagios nagios 28714 May 18 13:48 check_load*<br>
-rwxr-xr-x 1 nagios nagios 6020 May 18 13:48 check_log*<br>
-rwxr-xr-x 1 nagios nagios 20282 May 18 13:48 check_mailq*<br>
-rwxr-xr-x 1 nagios nagios 25812 May 18 13:48 check_mrtg*<br>
-rwxr-xr-x 1 nagios nagios 24295 May 18 13:48 check_mrtgtraf*<br>
-rwxr-xr-x 1 nagios nagios 28548 May 18 13:48 check_nagios*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_nntp -> check_tcp*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_nntps -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 38266 May 18 13:48 check_nt*<br>
-rwxr-xr-x 1 nagios nagios 35917 May 18 13:48 check_ntp*<br>
-rwxr-xr-x 1 nagios nagios 33889 May 18 13:48 check_ntp_peer*<br>
-rwxr-xr-x 1 nagios nagios 31725 May 18 13:48 check_ntp_time*<br>
-rwxr-xr-x 1 nagios nagios 54192 May 18 13:48 check_nwstat*<br>
-rwxr-xr-x 1 nagios nagios 8324 May 18 13:48 check_oracle*<br>
-rwxr-xr-x 1 nagios nagios 30356 May 18 13:48 check_overcr*<br>
-rwxr-xr-x 1 nagios nagios 41387 May 18 13:48 check_ping*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_pop -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 39647 May 18 13:48 check_procs*<br>
-rwxr-xr-x 1 nagios nagios 29078 May 18 13:48 check_real*<br>
-rwxr-xr-x 1 nagios nagios 9579 May 18 13:48 check_rpc*<br>
-rwxr-xr-x 1 nagios nagios 1135 May 18 13:48 check_sensors*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_simap -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 51895 May 18 13:48 check_smtp*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_spop -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 26231 May 18 13:48 check_ssh*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_ssmtp -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 30682 May 18 13:48 check_swap*<br>
-rwxr-xr-x 1 nagios nagios 38940 May 18 13:48 check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 28909 May 18 13:48 check_time*<br>
lrwxrwxrwx 1 root root 9 May 18 13:48 check_udp -> check_tcp*<br>
-rwxr-xr-x 1 nagios nagios 34400 May 18 13:48 check_ups*<br>
-rwxr-xr-x 1 nagios nagios 27485 May 18 13:48 check_users*<br>
-rwxr-xr-x 1 nagios nagios 2934 May 18 13:48 check_wave*<br>
-rwxr-xr-x 1 nagios nagios 28787 May 18 13:48 negate*<br>
-rwxr-xr-x 1 nagios nagios 27484 May 18 13:48 urlize*<br>
-rwxr-xr-x 1 nagios nagios 1939 May 18 13:48 utils.pm*<br>
-rwxr-xr-x 1 nagios nagios 862 May 18 13:48 utils.sh*<br>
</span></font><span style="font-size:11pt"><font face="Calibri, Verdana, Helvetica, Arial"><br>
</font></span>
</body>
</html>