I just did a fresh install of r1.1 to test some things and put a switch in but I see an error:
[root@blackburn nagiosxi]# tail -f /var/log/messages
Nov 1 10:34:54 blackburn nagios: Warning: Return code of 126 for check of service 'Port 10139 Bandwidth' on host '192.168.70.133' was out of bounds.Make sure the plugin you're trying to run is executable.
[root@blackburn nagiosxi]# ls -l /usr/local/nagios/libexec/check_nrpe
-rwxrwxr-x. 1 nagios nagios 75444 Nov 1 08:37 /usr/local/nagios/libexec/check_nrpe
If this is the correct plugin it is executable.
Nagios XI Version : 2012R1.1
blackburn.operations.XXX.com 2.6.32-279.el6.x86_64 x86_64
CentOS release 6.3 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Server Name: 192.168.92.42
Server Address: 192.168.92.42
Server Port: 80
Date/Time
PHP Timezone: America/Anchorage
PHP Time: Thu, 01 Nov 2012 10:39:18 -0800
System Time: Thu, 01 Nov 2012 10:39:18 -0800
Nagios XI Data
nagios (pid 25338) is running...
NPCD running (pid 20267).
ndo2db (pid 20199) is running...
CPU Load 15: 0.04
Total Hosts: 2
Total Services: 125
Ping Test localhost
Running:
/bin/ping -c 3 localhost 2>&1
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.050 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.034 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.034 ms
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.034/0.039/0.050/0.009 ms
Running:
/usr/bin/wget http://localhost/nagiosql/index.php
--2012-11-01 10:39:20-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: `/tmp/nagiosql_index.tmp'
0K ..... 100% 280M=0s
Return code of 126 for check of service
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Return code of 126 for check of service
This isn't the right plugin
Try running
Try running
Code: Select all
chmod +x /usr/local/nagios/libexec/check_rrdtraf
Re: Return code of 126 for check of service
Thank you - fixed.scottwilkerson wrote:This isn't the right plugin
Try runningCode: Select all
chmod +x /usr/local/nagios/libexec/check_rrdtraf