uname -i
x86_64
CentOS release 6.3 (Final)
I installed Solaris Config wizard and then added a host which was working with my previous nagios VMPlayner Nagios Server. I am getting the following errors for every service. I have disabled/enabled nrpe service on solaris 10 host and have stopped and started nagios on server.
------------------------------- Errors -------------------------
/ Disk Usage
Critical 10m 31s 5/5 2012-09-20 12:07:34 (Return code of 126 is out of bounds - plugin may not be executable)
CPU Stats
Critical 10m 2s 5/5 2012-09-20 12:08:03 (Return code of 126 is out of bounds - plugin may not be executable)
Cron Scheduling Daemon
Critical 9m 34s 5/5 2012-09-20 12:03:31 (Return code of 126 is out of bounds - plugin may not be executable)
Load
Critical 9m 5s 5/5 2012-09-20 12:04:00 (Return code of 126 is out of bounds - plugin may not be executable)
Memory Usage
Critical 8m 37s 5/5 2012-09-20 12:04:01 (Return code of 126 is out of bounds - plugin may not be executable)
Open Files
Critical 8m 8s 5/5 2012-09-20 12:04:57 (Return code of 126 is out of bounds - plugin may not be executable)
Sendmail
Critical 6m 42s 5/5 2012-09-20 12:06:23 (Return code of 126 is out of bounds - plugin may not be executable)
SSH Server
Critical 7m 11s 5/5 2012-09-20 12:05:54 (Return code of 126 is out of bounds - plugin may not be executable)
Swap Usage
Critical 6m 22s 5/5 2012-09-20 12:04:51 (Return code of 126 is out of bounds - plugin may not be executable)
System Logging Daemon
Critical 5m 45s 5/5 2012-09-20 12:07:20 (Return code of 126 is out of bounds - plugin may not be executable)
Total Processes
Critical 10m 17s 5/5 2012-09-20 12:07:48 (Return code of 126 is out of bounds - plugin may not be executable)
Users
Critical 9m 48s 5/5 2012-09-20 12:08:17 (Return code of 126 is out of bounds - plugin may not be executable)
Thanks
Return code of 126 is out of bounds - Solaris 10 Sparc
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Return code of 126 is out of bounds - Solaris 10 Sparc
From the Nagios Server can you run
On the Solaris machine can you run
Please report back the results of both
Code: Select all
ls -l /usr/local/nagios/libexec/check_nrpeCode: Select all
ls -l /opt/nagios/libexec
Re: Return code of 126 is out of bounds - Solaris 10 Sparc
Linux Nagios Server
ls -l /usr/local/nagios/libexec/check_nrpe
-rwxr-xr-x. 1 root root 56592 Sep 20 11:25 /usr/local/nagios/libexec/check_nrpe
Solaris 10
ls -l /opt/nagios/libexec
total 10690
-rwxr-xr-x 1 nagios bin 269244 Jul 6 11:50 check_apt
-rwxr-xr-x 1 nagios bin 6897 Sep 20 13:53 check_asterisk.pl
-rwxr-xr-x 1 nagios bin 1978 Sep 20 13:53 check_asterisk_sip_peers.sh
-rwxr-xr-x 1 nagios bin 2260 Jul 6 11:50 check_breeze
-rwxr-xr-x 1 nagios bin 114100 Jul 6 11:50 check_by_ssh
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_clamd -> check_tcp
-rwxr-xr-x 1 nagios bin 86388 Jul 6 11:50 check_cluster
-rwxr-xr-x 1 nagios bin 13557 Sep 20 13:53 check_cpu_stats.sh
-rwxr-xr-x 1 nagios bin 108016 Jul 6 11:50 check_dig
-rwxr-xr-x 1 nagios bin 331484 Jul 6 11:50 check_disk
-rwxr-xr-x 1 nagios bin 9150 Jul 6 11:50 check_disk_smb
-rwxr-xr-x 1 nagios bin 114108 Jul 6 11:50 check_dns
-rwxr-xr-x 1 nagios bin 66308 Jul 6 11:50 check_dummy
-rwxr-xr-x 1 nagios bin 3058 Jul 6 11:50 check_file_age
-rwxr-xr-x 1 nagios bin 6320 Jul 6 11:50 check_flexlm
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_ftp -> check_tcp
-rwxr-xr-x 1 nagios bin 108696 Jul 6 11:50 check_hpjd
-rwxr-xr-x 1 nagios bin 390916 Jul 6 11:50 check_http
-rwxr-xr-x 1 nagios bin 15139 Jul 6 11:50 check_ifoperstatus
-rwxr-xr-x 1 nagios bin 12607 Jul 6 11:50 check_ifstatus
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_imap -> check_tcp
-rwxr-xr-x 1 nagios bin 920 Sep 20 13:53 check_init_service
-rwxr-xr-x 1 nagios bin 6892 Jul 6 11:50 check_ircd
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_jabber -> check_tcp
-rwxr-xr-x 1 nagios bin 95092 Jul 6 11:50 check_load
-rwxr-xr-x 1 nagios bin 6018 Jul 6 11:50 check_log
-rwxr-xr-x 1 nagios bin 20289 Jul 6 11:50 check_mailq
-rwxr-xr-x 1 nagios bin 90120 Jul 6 11:50 check_mrtg
-rwxr-xr-x 1 nagios bin 89716 Jul 6 11:50 check_mrtgtraf
-rwxr-xr-x 1 nagios bin 106436 Jul 6 11:50 check_mysql
-rwxr-xr-x 1 nagios bin 103744 Jul 6 11:50 check_mysql_query
-rwxr-xr-x 1 nagios bin 96196 Jul 6 11:50 check_nagios
-rwxr-xr-x 1 nagios bin 30594 Sep 20 13:53 check_netstat.pl
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_nntp -> check_tcp
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_nntps -> check_tcp
-rwxr-xr-x 1 nagios bin 56016 Jan 31 2012 check_nrpe
-rwxr-xr-x 1 nagios bin 113240 Jul 6 11:50 check_nt
-rwxr-xr-x 1 nagios bin 116564 Jul 6 11:50 check_ntp
-rwxr-xr-x 1 nagios bin 111096 Jul 6 11:50 check_ntp_peer
-rwxr-xr-x 1 nagios bin 109136 Jul 6 11:50 check_ntp_time
-rwxr-xr-x 1 nagios bin 131596 Jul 6 11:50 check_nwstat
-rwxr-xr-x 1 nagios bin 7170 Sep 20 13:53 check_open_files.pl
-rwxr-xr-x 1 nagios bin 8330 Jul 6 11:50 check_oracle
-rwxr-xr-x 1 nagios bin 103152 Jul 6 11:50 check_overcr
-rwxr-xr-x 1 nagios bin 100588 Jul 6 11:50 check_pgsql
-rwxr-xr-x 1 nagios bin 118404 Jul 6 11:50 check_ping
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_pop -> check_tcp
-rwxr-xr-x 1 nagios bin 295404 Jul 6 11:50 check_procs
-rwxr-xr-x 1 nagios bin 100528 Jul 6 11:50 check_real
-rwxr-xr-x 1 nagios bin 9586 Jul 6 11:50 check_rpc
-rwxr-xr-x 1 nagios bin 1418 Jul 6 11:50 check_sensors
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_simap -> check_tcp
-rwxr-xr-x 1 nagios bin 7599 Sep 20 13:53 check_sip
-rwxr-xr-x 1 nagios bin 340780 Jul 6 11:50 check_smtp
-rwxr-xr-x 1 nagios bin 327716 Jul 6 11:50 check_snmp
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_spop -> check_tcp
-rwxr-xr-x 1 nagios bin 97300 Jul 6 11:50 check_ssh
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_ssmtp -> check_tcp
-rwxr-xr-x 1 nagios bin 7337 Sep 20 13:53 check_swap.pl
-rwxr-xr-x 1 nagios bin 151612 Jul 6 11:50 check_tcp
-rwxr-xr-x 1 nagios bin 99860 Jul 6 11:50 check_time
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_udp -> check_tcp
-rwxr-xr-x 1 nagios bin 108604 Jul 6 11:50 check_ups
-rwxr-xr-x 1 nagios bin 83800 Jul 6 11:50 check_users
-rwxr-xr-x 1 nagios bin 2941 Jul 6 11:50 check_wave
-rwxr-xr-x 1 nagios bin 4076 Sep 20 13:53 custom_check_mem
-rwxr-xr-x 1 nagios bin 3937 Sep 20 13:53 custom_check_procs
-rwxr-xr-x 1 nagios bin 4176 Sep 20 13:53 nagisk.pl
-rwxr-xr-x 1 nagios bin 96756 Jul 6 11:50 negate
-rwsr-xr-x 1 root bin 21936 Jul 6 11:50 pst3
-rwxr-xr-x 1 nagios bin 93096 Jul 6 11:50 urlize
-rwxr-xr-x 1 nagios bin 1938 Jul 6 11:50 utils.pm
-rwxr-xr-x 1 nagios bin 2728 Jul 6 11:50 utils.sh
Thanks
ls -l /usr/local/nagios/libexec/check_nrpe
-rwxr-xr-x. 1 root root 56592 Sep 20 11:25 /usr/local/nagios/libexec/check_nrpe
Solaris 10
ls -l /opt/nagios/libexec
total 10690
-rwxr-xr-x 1 nagios bin 269244 Jul 6 11:50 check_apt
-rwxr-xr-x 1 nagios bin 6897 Sep 20 13:53 check_asterisk.pl
-rwxr-xr-x 1 nagios bin 1978 Sep 20 13:53 check_asterisk_sip_peers.sh
-rwxr-xr-x 1 nagios bin 2260 Jul 6 11:50 check_breeze
-rwxr-xr-x 1 nagios bin 114100 Jul 6 11:50 check_by_ssh
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_clamd -> check_tcp
-rwxr-xr-x 1 nagios bin 86388 Jul 6 11:50 check_cluster
-rwxr-xr-x 1 nagios bin 13557 Sep 20 13:53 check_cpu_stats.sh
-rwxr-xr-x 1 nagios bin 108016 Jul 6 11:50 check_dig
-rwxr-xr-x 1 nagios bin 331484 Jul 6 11:50 check_disk
-rwxr-xr-x 1 nagios bin 9150 Jul 6 11:50 check_disk_smb
-rwxr-xr-x 1 nagios bin 114108 Jul 6 11:50 check_dns
-rwxr-xr-x 1 nagios bin 66308 Jul 6 11:50 check_dummy
-rwxr-xr-x 1 nagios bin 3058 Jul 6 11:50 check_file_age
-rwxr-xr-x 1 nagios bin 6320 Jul 6 11:50 check_flexlm
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_ftp -> check_tcp
-rwxr-xr-x 1 nagios bin 108696 Jul 6 11:50 check_hpjd
-rwxr-xr-x 1 nagios bin 390916 Jul 6 11:50 check_http
-rwxr-xr-x 1 nagios bin 15139 Jul 6 11:50 check_ifoperstatus
-rwxr-xr-x 1 nagios bin 12607 Jul 6 11:50 check_ifstatus
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_imap -> check_tcp
-rwxr-xr-x 1 nagios bin 920 Sep 20 13:53 check_init_service
-rwxr-xr-x 1 nagios bin 6892 Jul 6 11:50 check_ircd
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_jabber -> check_tcp
-rwxr-xr-x 1 nagios bin 95092 Jul 6 11:50 check_load
-rwxr-xr-x 1 nagios bin 6018 Jul 6 11:50 check_log
-rwxr-xr-x 1 nagios bin 20289 Jul 6 11:50 check_mailq
-rwxr-xr-x 1 nagios bin 90120 Jul 6 11:50 check_mrtg
-rwxr-xr-x 1 nagios bin 89716 Jul 6 11:50 check_mrtgtraf
-rwxr-xr-x 1 nagios bin 106436 Jul 6 11:50 check_mysql
-rwxr-xr-x 1 nagios bin 103744 Jul 6 11:50 check_mysql_query
-rwxr-xr-x 1 nagios bin 96196 Jul 6 11:50 check_nagios
-rwxr-xr-x 1 nagios bin 30594 Sep 20 13:53 check_netstat.pl
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_nntp -> check_tcp
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_nntps -> check_tcp
-rwxr-xr-x 1 nagios bin 56016 Jan 31 2012 check_nrpe
-rwxr-xr-x 1 nagios bin 113240 Jul 6 11:50 check_nt
-rwxr-xr-x 1 nagios bin 116564 Jul 6 11:50 check_ntp
-rwxr-xr-x 1 nagios bin 111096 Jul 6 11:50 check_ntp_peer
-rwxr-xr-x 1 nagios bin 109136 Jul 6 11:50 check_ntp_time
-rwxr-xr-x 1 nagios bin 131596 Jul 6 11:50 check_nwstat
-rwxr-xr-x 1 nagios bin 7170 Sep 20 13:53 check_open_files.pl
-rwxr-xr-x 1 nagios bin 8330 Jul 6 11:50 check_oracle
-rwxr-xr-x 1 nagios bin 103152 Jul 6 11:50 check_overcr
-rwxr-xr-x 1 nagios bin 100588 Jul 6 11:50 check_pgsql
-rwxr-xr-x 1 nagios bin 118404 Jul 6 11:50 check_ping
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_pop -> check_tcp
-rwxr-xr-x 1 nagios bin 295404 Jul 6 11:50 check_procs
-rwxr-xr-x 1 nagios bin 100528 Jul 6 11:50 check_real
-rwxr-xr-x 1 nagios bin 9586 Jul 6 11:50 check_rpc
-rwxr-xr-x 1 nagios bin 1418 Jul 6 11:50 check_sensors
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_simap -> check_tcp
-rwxr-xr-x 1 nagios bin 7599 Sep 20 13:53 check_sip
-rwxr-xr-x 1 nagios bin 340780 Jul 6 11:50 check_smtp
-rwxr-xr-x 1 nagios bin 327716 Jul 6 11:50 check_snmp
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_spop -> check_tcp
-rwxr-xr-x 1 nagios bin 97300 Jul 6 11:50 check_ssh
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_ssmtp -> check_tcp
-rwxr-xr-x 1 nagios bin 7337 Sep 20 13:53 check_swap.pl
-rwxr-xr-x 1 nagios bin 151612 Jul 6 11:50 check_tcp
-rwxr-xr-x 1 nagios bin 99860 Jul 6 11:50 check_time
lrwxrwxrwx 1 root root 9 Sep 20 13:51 check_udp -> check_tcp
-rwxr-xr-x 1 nagios bin 108604 Jul 6 11:50 check_ups
-rwxr-xr-x 1 nagios bin 83800 Jul 6 11:50 check_users
-rwxr-xr-x 1 nagios bin 2941 Jul 6 11:50 check_wave
-rwxr-xr-x 1 nagios bin 4076 Sep 20 13:53 custom_check_mem
-rwxr-xr-x 1 nagios bin 3937 Sep 20 13:53 custom_check_procs
-rwxr-xr-x 1 nagios bin 4176 Sep 20 13:53 nagisk.pl
-rwxr-xr-x 1 nagios bin 96756 Jul 6 11:50 negate
-rwsr-xr-x 1 root bin 21936 Jul 6 11:50 pst3
-rwxr-xr-x 1 nagios bin 93096 Jul 6 11:50 urlize
-rwxr-xr-x 1 nagios bin 1938 Jul 6 11:50 utils.pm
-rwxr-xr-x 1 nagios bin 2728 Jul 6 11:50 utils.sh
Thanks
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Return code of 126 is out of bounds - Solaris 10 Sparc
Can you run the following on the Solaris machine?
Can you run the following on the Nagios Server?
Code: Select all
/opt/nagios/libexec/check_usersCode: Select all
/usr/local/nagios/libexec/check_nrpe -H SOLARIS_IP -c check_users