ERROR: Return code of 7 is out of bond

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Samsun
Posts: 4
Joined: Wed May 10, 2017 2:07 pm

ERROR: Return code of 7 is out of bond

Post by Samsun »

Hello all,

I have installed Nagios v.4.3.0 and at location /local/nagios/objects/hosts/hosts.cfg I have added 675 hosts and I can view all services on dashboard. But if I increase more hosts, say if I cross 684 I am getting an "Error: Return code of 7 is out of bounds" for all the services.

I have tried increasing following values in nrpe.cfg, but no luck,
connection_timeout=300 to 600
command_timeout=60 to 120

And I have following values in my nagios.cfg file
status_update_interval=10
check_external_command=1
command_check_interval=-1

Below are in attachments,
nagios.log
perfdata.log
system ulimit -a
Attachments
perfdatalog.PNG
nagioslog.PNG
ulimit.PNG
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: ERROR: Return code of 7 is out of bond

Post by tgriep »

It could be that you are hitting the number of open file limit on your server so lets increase it and see if that fixes the issue/
Edit the following file

Code: Select all

/etc/security/limits.conf
Add the following lines to the end of the file:

Code: Select all

* hard nofile 10000
* soft nofile 10000

root hard nofile 10000
root soft nofile 10000
Save if and see if the error is gone.
You may have to reboot the server for the changes to take affect.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Samsun
Posts: 4
Joined: Wed May 10, 2017 2:07 pm

Re: ERROR: Return code of 7 is out of bond

Post by Samsun »

Thank you for the response and I have tried adding the value and rebooting the system, yet still see the issue. I have installed Nagios using puppet with default user defined as 'nagios' so added
"nagios hard/soft nofile 10000" (in picture attached) just to see if this picks up, but its not. Now I have added nproc value for both root and nagios to maximize processes and rebooted system. Yet no luck. Please find attachments. Thanks
Attachments
Error I am seeing if I add more hosts greater than 684
Error I am seeing if I add more hosts greater than 684
ulimit -a
ulimit -a
sudo vi /etc/security/limits.conf
sudo vi /etc/security/limits.conf
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: ERROR: Return code of 7 is out of bond

Post by tgriep »

What OS and release is the server running?
Can you run the following as root and post the output?

Code: Select all

ps -ef --cols=300
Do you see and errors in the /var/log/messages file or in the Apache servers logs in the /var/log/httpd folder?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Samsun
Posts: 4
Joined: Wed May 10, 2017 2:07 pm

Re: ERROR: Return code of 7 is out of bond

Post by Samsun »

Code: Select all

rr29@r95next000007x [/home/rr29]
$ uname -a
Linux r95next000007x 2.6.32-642.13.1.el6.x86_64 #1 SMP Wed Nov 23 16:03:01 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
rr29@r95next000007x [/home/rr29]
$ sudo ps -ef --cols=300
Forest A Password:
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 14:34 ?        00:00:05 /sbin/init
root         2     0  0 14:34 ?        00:00:00 [kthreadd]
root         3     2  0 14:34 ?        00:00:01 [migration/0]
root         4     2  0 14:34 ?        00:00:00 [ksoftirqd/0]
root         5     2  0 14:34 ?        00:00:00 [stopper/0]
root         6     2  0 14:34 ?        00:00:00 [watchdog/0]
root         7     2  0 14:34 ?        00:00:01 [migration/1]
root         8     2  0 14:34 ?        00:00:00 [stopper/1]
root         9     2  0 14:34 ?        00:00:00 [ksoftirqd/1]
root        10     2  0 14:34 ?        00:00:00 [watchdog/1]
root        11     2  0 14:34 ?        00:00:01 [migration/2]
root        12     2  0 14:34 ?        00:00:00 [stopper/2]
root        13     2  0 14:34 ?        00:00:00 [ksoftirqd/2]
root        14     2  0 14:34 ?        00:00:00 [watchdog/2]
root        15     2  0 14:34 ?        00:00:01 [migration/3]
root        16     2  0 14:34 ?        00:00:00 [stopper/3]
root        17     2  0 14:34 ?        00:00:00 [ksoftirqd/3]
root        18     2  0 14:34 ?        00:00:00 [watchdog/3]
root        19     2  0 14:34 ?        00:00:01 [events/0]
root        20     2  0 14:34 ?        00:00:06 [events/1]
root        21     2  0 14:34 ?        00:00:00 [events/2]
root        22     2  0 14:34 ?        00:00:01 [events/3]
root        23     2  0 14:34 ?        00:00:00 [events/0]
root        24     2  0 14:34 ?        00:00:00 [events/1]
root        25     2  0 14:34 ?        00:00:00 [events/2]
root        26     2  0 14:34 ?        00:00:00 [events/3]
root        27     2  0 14:34 ?        00:00:00 [events_long/0]
root        28     2  0 14:34 ?        00:00:00 [events_long/1]
root        29     2  0 14:34 ?        00:00:00 [events_long/2]
root        30     2  0 14:34 ?        00:00:00 [events_long/3]
root        31     2  0 14:34 ?        00:00:00 [events_power_ef]
root        32     2  0 14:34 ?        00:00:00 [events_power_ef]
root        33     2  0 14:34 ?        00:00:00 [events_power_ef]
root        34     2  0 14:34 ?        00:00:00 [events_power_ef]
root        35     2  0 14:34 ?        00:00:00 [cgroup]
root        36     2  0 14:34 ?        00:00:00 [khelper]
root        37     2  0 14:34 ?        00:00:00 [netns]
root        38     2  0 14:34 ?        00:00:00 [async/mgr]
root        39     2  0 14:34 ?        00:00:00 [pm]
root        40     2  0 14:34 ?        00:00:00 [sync_supers]
root        41     2  0 14:34 ?        00:00:00 [bdi-default]
root        42     2  0 14:34 ?        00:00:00 [kintegrityd/0]
root        43     2  0 14:34 ?        00:00:00 [kintegrityd/1]
root        44     2  0 14:34 ?        00:00:00 [kintegrityd/2]
root        45     2  0 14:34 ?        00:00:00 [kintegrityd/3]
root        46     2  0 14:34 ?        00:00:00 [kblockd/0]
root        47     2  0 14:34 ?        00:00:00 [kblockd/1]
root        48     2  0 14:34 ?        00:00:00 [kblockd/2]
root        49     2  0 14:34 ?        00:00:00 [kblockd/3]
root        50     2  0 14:34 ?        00:00:00 [kacpid]
root        51     2  0 14:34 ?        00:00:00 [kacpi_notify]
root        52     2  0 14:34 ?        00:00:00 [kacpi_hotplug]
root        53     2  0 14:34 ?        00:00:00 [ata_aux]
root        54     2  0 14:34 ?        00:00:00 [ata_sff/0]
root        55     2  0 14:34 ?        00:00:00 [ata_sff/1]
root        56     2  0 14:34 ?        00:00:00 [ata_sff/2]
root        57     2  0 14:34 ?        00:00:00 [ata_sff/3]
root        58     2  0 14:34 ?        00:00:00 [ksuspend_usbd]
root        59     2  0 14:34 ?        00:00:00 [khubd]
root        60     2  0 14:34 ?        00:00:00 [kseriod]
root        61     2  0 14:34 ?        00:00:00 [md/0]
root        62     2  0 14:34 ?        00:00:00 [md/1]
root        63     2  0 14:34 ?        00:00:00 [md/2]
root        64     2  0 14:34 ?        00:00:00 [md/3]
root        65     2  0 14:34 ?        00:00:00 [md_misc/0]
root        66     2  0 14:34 ?        00:00:00 [md_misc/1]
root        67     2  0 14:34 ?        00:00:00 [md_misc/2]
root        68     2  0 14:34 ?        00:00:00 [md_misc/3]
root        69     2  0 14:34 ?        00:00:00 [linkwatch]
root        72     2  0 14:34 ?        00:00:00 [khungtaskd]
root        73     2  0 14:34 ?        00:00:00 [kswapd0]
root        74     2  0 14:34 ?        00:00:00 [ksmd]
root        75     2  0 14:34 ?        00:00:00 [khugepaged]
root        76     2  0 14:34 ?        00:00:00 [aio/0]
root        77     2  0 14:34 ?        00:00:00 [aio/1]
root        78     2  0 14:34 ?        00:00:00 [aio/2]
root        79     2  0 14:34 ?        00:00:00 [aio/3]
root        80     2  0 14:34 ?        00:00:00 [crypto/0]
root        81     2  0 14:34 ?        00:00:00 [crypto/1]
root        82     2  0 14:34 ?        00:00:00 [crypto/2]
root        83     2  0 14:34 ?        00:00:00 [crypto/3]
root        90     2  0 14:34 ?        00:00:00 [kthrotld/0]
root        91     2  0 14:34 ?        00:00:00 [kthrotld/1]
root        92     2  0 14:34 ?        00:00:00 [kthrotld/2]
root        93     2  0 14:34 ?        00:00:00 [kthrotld/3]
root        94     2  0 14:34 ?        00:00:00 [pciehpd]
root        96     2  0 14:34 ?        00:00:00 [kpsmoused]
root        97     2  0 14:34 ?        00:00:00 [usbhid_resumer]
root        98     2  0 14:34 ?        00:00:00 [deferwq]
root       131     2  0 14:34 ?        00:00:00 [kdmremove]
root       132     2  0 14:34 ?        00:00:00 [kstriped]
root       262     2  0 14:34 ?        00:00:00 [scsi_eh_0]
root       263     2  0 14:34 ?        00:00:00 [scsi_eh_1]
root       269     2  0 14:34 ?        00:00:00 [mpt_poll_0]
root       270     2  0 14:34 ?        00:00:00 [mpt/0]
root       271     2  0 14:34 ?        00:00:00 [scsi_eh_2]
root       330     2  0 14:34 ?        00:00:00 [kdmflush]
root       332     2  0 14:34 ?        00:00:00 [kdmflush]
root       398     2  0 14:34 ?        00:00:00 [jbd2/dm-1-8]
root       399     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root       495     1  0 14:34 ?        00:00:00 /sbin/udevd -d
root       779     2  0 14:34 ?        00:00:00 [vmmemctl]
root       913     2  0 14:34 ?        00:00:00 [kmpathd/0]
root       914     2  0 14:34 ?        00:00:00 [kmpathd/1]
root       915     2  0 14:34 ?        00:00:00 [kmpathd/2]
root       916     2  0 14:34 ?        00:00:00 [kmpathd/3]
root       917     2  0 14:34 ?        00:00:00 [kmpath_handlerd]
root       924     2  0 14:34 ?        00:00:00 [kdmflush]
root       927     2  0 14:34 ?        00:00:00 [kdmflush]
root       928     2  0 14:34 ?        00:00:00 [kdmflush]
root       932     2  0 14:34 ?        00:00:00 [kdmflush]
root       960     2  0 14:34 ?        00:00:00 [kdmflush]
root       962     2  0 14:34 ?        00:00:00 [kdmflush]
root       963     2  0 14:34 ?        00:00:00 [kdmflush]
root       965     2  0 14:34 ?        00:00:00 [kdmflush]
root       970     2  0 14:34 ?        00:00:00 [kdmflush]
root       975     2  0 14:34 ?        00:00:00 [kdmflush]
root       979     2  0 14:34 ?        00:00:00 [kdmflush]
root       983     2  0 14:34 ?        00:00:00 [kdmflush]
root       990     2  0 14:34 ?        00:00:00 [kdmflush]
root       991   495  0 14:34 ?        00:00:00 /sbin/udevd -d
root       994   495  0 14:34 ?        00:00:00 /sbin/udevd -d
root       995     2  0 14:34 ?        00:00:00 [kdmflush]
root      1081     2  0 14:34 ?        00:00:00 [flush-253:12]
root      1124     2  0 14:34 ?        00:00:00 [kjournald]
root      1125     2  0 14:34 ?        00:00:00 [jbd2/dm-6-8]
root      1126     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root      1127     2  0 14:34 ?        00:00:00 [jbd2/dm-7-8]
root      1128     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root      1129     2  0 14:34 ?        00:00:00 [jbd2/dm-12-8]
root      1130     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root      1131     2  0 14:34 ?        00:00:00 [jbd2/dm-13-8]
root      1132     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root      1133     2  0 14:34 ?        00:00:00 [jbd2/dm-8-8]
root      1134     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root      1135     2  0 14:34 ?        00:00:00 [jbd2/dm-9-8]
root      1136     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root      1137     2  0 14:34 ?        00:00:02 [jbd2/dm-10-8]
root      1138     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root      1139     2  0 14:34 ?        00:00:00 [jbd2/dm-14-8]
root      1140     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root      1141     2  0 14:34 ?        00:00:01 [jbd2/dm-11-8]
root      1142     2  0 14:34 ?        00:00:00 [ext4-dio-unwrit]
root      1145     2  0 14:34 ?        00:00:00 [xfs_mru_cache]
root      1146     2  0 14:34 ?        00:00:00 [xfslogd/0]
root      1147     2  0 14:34 ?        00:00:00 [xfslogd/1]
root      1148     2  0 14:34 ?        00:00:00 [xfslogd/2]
root      1149     2  0 14:34 ?        00:00:00 [xfslogd/3]
root      1150     2  0 14:34 ?        00:00:00 [xfsdatad/0]
root      1151     2  0 14:34 ?        00:00:00 [xfsdatad/1]
root      1152     2  0 14:34 ?        00:00:00 [xfsdatad/2]
root      1153     2  0 14:34 ?        00:00:00 [xfsdatad/3]
root      1154     2  0 14:34 ?        00:00:00 [xfsconvertd/0]
root      1155     2  0 14:34 ?        00:00:00 [xfsconvertd/1]
root      1156     2  0 14:34 ?        00:00:00 [xfsconvertd/2]
root      1157     2  0 14:34 ?        00:00:00 [xfsconvertd/3]
root      1158     2  0 14:34 ?        00:00:00 [xfsalloc/0]
root      1159     2  0 14:34 ?        00:00:00 [xfsalloc/1]
root      1160     2  0 14:34 ?        00:00:00 [xfsalloc/2]
root      1161     2  0 14:34 ?        00:00:00 [xfsalloc/3]
root      1162     2  0 14:34 ?        00:00:00 [xfseofblocks/0]
root      1163     2  0 14:34 ?        00:00:00 [xfseofblocks/1]
root      1164     2  0 14:34 ?        00:00:00 [xfseofblocks/2]
root      1165     2  0 14:34 ?        00:00:00 [xfseofblocks/3]
root      1166     2  0 14:34 ?        00:00:00 [xfsbufd/dm-15]
root      1167     2  0 14:34 ?        00:00:00 [xfs-cil/dm-15]
root      1168     2  0 14:34 ?        00:00:00 [xfssyncd/dm-15]
root      1169     2  0 14:34 ?        00:00:02 [xfsaild/dm-15]
root      1170     2  0 14:34 ?        00:00:00 [xfsbufd/dm-2]
root      1171     2  0 14:34 ?        00:00:00 [xfs-cil/dm-2]
root      1172     2  0 14:34 ?        00:00:00 [xfssyncd/dm-2]
root      1173     2  0 14:34 ?        00:00:02 [xfsaild/dm-2]
root      1174     2  0 14:34 ?        00:00:00 [xfsbufd/dm-3]
root      1175     2  0 14:34 ?        00:00:00 [xfs-cil/dm-3]
root      1176     2  0 14:34 ?        00:00:00 [xfssyncd/dm-3]
root      1177     2  0 14:34 ?        00:00:02 [xfsaild/dm-3]
root      1178     2  0 14:34 ?        00:00:00 [xfsbufd/dm-4]
root      1179     2  0 14:34 ?        00:00:00 [xfs-cil/dm-4]
root      1180     2  0 14:34 ?        00:00:00 [xfssyncd/dm-4]
root      1181     2  0 14:34 ?        00:00:03 [xfsaild/dm-4]
root      1182     2  0 14:34 ?        00:00:00 [xfsbufd/dm-5]
root      1183     2  0 14:34 ?        00:00:00 [xfs-cil/dm-5]
root      1184     2  0 14:34 ?        00:00:00 [xfssyncd/dm-5]
root      1185     2  0 14:34 ?        00:00:02 [xfsaild/dm-5]
root      1244     2  0 14:34 ?        00:00:02 [kauditd]
root      1408     1  0 14:34 ?        00:00:10 /usr/sbin/vmtoolsd
root      1483     1  0 14:34 ?        00:00:00 /usr/lib/vmware-vgauth/VGAuthService -s
root      1604     2  0 14:34 ?        00:00:00 [flush-253:10]
root      1605     2  0 14:34 ?        00:00:00 [flush-253:11]
root      1693     1  0 14:34 ?        00:00:12 auditd
root      1695  1693  0 14:34 ?        00:00:09 /sbin/audispd
root      1719     1  0 14:34 ?        00:00:00 /sbin/portreserve
root      1729     1  0 14:34 ?        00:00:49 /sbin/rsyslogd -i /var/run/syslogd.pid -c 4
root      1744     1  0 14:34 ?        00:00:00 irqbalance --pid=/var/run/irqbalance.pid
rpc       1762     1  0 14:34 ?        00:00:00 rpcbind
root      1784     2  0 14:34 ?        00:00:00 [rpciod/0]
root      1785     2  0 14:34 ?        00:00:00 [rpciod/1]
root      1786     2  0 14:34 ?        00:00:00 [rpciod/2]
root      1787     2  0 14:34 ?        00:00:00 [rpciod/3]
rpcuser   1794     1  0 14:34 ?        00:00:00 rpc.statd -p 60730 -o 60731
root      1821     1  0 14:34 ?        00:00:00 rpc.idmapd
dbus      1847     1  0 14:34 ?        00:00:00 dbus-daemon --system
root      1870     1  0 14:34 ?        00:00:03 /opt/quest/sbin/.vasd -p /var/opt/quest/vas/vasd/.vasd.pid
daemon    1877  1870  0 14:34 ?        00:00:05 /opt/quest/sbin/.vasd -p /var/opt/quest/vas/vasd/.vasd.pid
daemon    1878  1877  0 14:34 ?        00:00:12 /opt/quest/sbin/.vasd -p /var/opt/quest/vas/vasd/.vasd.pid
daemon    1879  1877  0 14:34 ?        00:00:05 /opt/quest/sbin/.vasd -p /var/opt/quest/vas/vasd/.vasd.pid
daemon    1880  1877  0 14:34 ?        00:00:00 /opt/quest/sbin/.vasd -p /var/opt/quest/vas/vasd/.vasd.pid
daemon    1881  1877  0 14:34 ?        00:00:00 /opt/quest/sbin/.vasd -p /var/opt/quest/vas/vasd/.vasd.pid
root      1912     2  0 14:34 ?        00:00:00 [kslowd000]
root      1913     2  0 14:34 ?        00:00:00 [kslowd001]
root      1914     2  0 14:34 ?        00:00:00 [nfsiod]
root      1915     2  0 14:34 ?        00:00:00 [lockd]
root      1930     1  0 14:34 ?        00:00:00 /usr/sbin/acpid
68        1942     1  0 14:34 ?        00:00:00 hald
root      1943  1942  0 14:34 ?        00:00:00 hald-runner
root      1975  1943  0 14:34 ?        00:00:00 hald-addon-input: Listening on /dev/input/event2 /dev/input/event0
68        1988  1943  0 14:34 ?        00:00:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root      2176     2  0 14:34 ?        00:00:02 [flush-253:4]
root      2316     1  0 14:34 ?        00:00:00 automount --pid-file /var/run/autofs.pid
root      2408     1  0 14:34 ?        00:00:00 rpc.rquotad -p 60733
root      2413     1  0 14:34 ?        00:00:00 rpc.mountd --no-nfs-version 4 -p 60732
root      2419     2  0 14:34 ?        00:00:00 [nfsd4]
root      2420     2  0 14:34 ?        00:00:00 [nfsd4_callbacks]
root      2421     2  0 14:34 ?        00:00:00 [nfsd]
root      2422     2  0 14:34 ?        00:00:00 [nfsd]
root      2423     2  0 14:34 ?        00:00:00 [nfsd]
root      2424     2  0 14:34 ?        00:00:00 [nfsd]
root      2425     2  0 14:34 ?        00:00:00 [nfsd]
root      2426     2  0 14:34 ?        00:00:00 [nfsd]
root      2427     2  0 14:34 ?        00:00:00 [nfsd]
root      2428     2  0 14:34 ?        00:00:00 [nfsd]
nscd      2442     1  0 14:34 ?        00:00:20 /usr/sbin/nscd
root      2545     1  0 14:34 ?        00:00:11 /usr/local/receptor/current/receptor
root      2564     1  0 14:34 ?        00:00:00 /usr/sbin/sshd
root      2575     1  0 14:34 ?        00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
ntp       2586     1  0 14:34 ?        00:00:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root      2603     1  0 14:34 ?        00:00:00 /var/cfengine/bin/cf-execd
root      2610     1  0 14:34 ?        00:00:00 /var/cfengine/bin/cf-serverd
root      2617     1  0 14:34 ?        00:00:03 /var/cfengine/bin/cf-monitord
postgres  2701     1  0 14:34 ?        00:00:01 /usr/bin/postmaster -p 5432 -D /opt/rssdb/postgres/data
postgres  2762  2701  0 14:34 ?        00:00:00 postgres: logger process
nagios    2764     1  0 14:34 ?        00:00:01 /opt/rssapps/nagios/bin/nrpe -c /opt/rssapps/nagios/etc/nrpe.cfg -d
postgres  2770  2701  0 14:34 ?        00:00:02 postgres: writer process
postgres  2771  2701  0 14:34 ?        00:00:01 postgres: wal writer process
postgres  2772  2701  0 14:34 ?        00:00:00 postgres: autovacuum launcher process
postgres  2773  2701  0 14:34 ?        00:00:00 postgres: stats collector process
root      2789     1  0 14:34 ?        00:00:00 sendmail: accepting connections
smmsp     2798     1  0 14:34 ?        00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root      2841     1  0 14:34 ?        00:00:00 /usr/bin/python /usr/sbin/tuned -d -c /etc/tuned.conf
root      2853     1  0 14:34 ?        00:00:00 crond
splunk    2886     1  0 14:34 ?        00:00:12 splunkd -p 60659 start
splunk    2887  2886  0 14:34 ?        00:00:00 [splunkd pid=2886] splunkd -p 60659 start [process-runner]
root      2936     1  0 14:34 ?        00:00:00 /usr/sbin/atd
root      2952     1  0 14:34 ?        00:00:00 /usr/bin/stunnel /opt/apache/wg5279/rssapache/stunnel/stunnel.conf
root      2953     1  0 14:34 ?        00:00:00 /usr/bin/stunnel /opt/apache/wg5279/rssapache/stunnel/stunnel.conf
root      2954     1  0 14:34 ?        00:00:00 /usr/bin/stunnel /opt/apache/wg5279/rssapache/stunnel/stunnel.conf
root      2955     1  0 14:34 ?        00:00:00 /usr/bin/stunnel /opt/apache/wg5279/rssapache/stunnel/stunnel.conf
root      2956     1  0 14:34 ?        00:00:00 /usr/bin/stunnel /opt/apache/wg5279/rssapache/stunnel/stunnel.conf
root      2957     1  0 14:34 ?        00:00:00 /usr/bin/stunnel /opt/apache/wg5279/rssapache/stunnel/stunnel.conf
root      2963     1  0 14:34 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
root      3056     1  0 14:34 ?        00:00:00 /opt/perf/bin/ttd
apachapp  3067  2963  0 14:34 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
apachapp  3068  2963  0 14:34 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
apachapp  3069  2963  0 14:34 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
apachapp  3070  2963  0 14:34 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
apachapp  3071  2963  0 14:34 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
apachapp  3072  2963  0 14:34 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
apachapp  3073  2963  0 14:34 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
apachapp  3074  2963  0 14:34 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
root      3076     1  1 14:34 ?        00:03:10 /opt/perf/bin/scopeux
root      3084     1  0 14:34 ?        00:00:01 /opt/perf/bin/midaemon
root      3101     1  0 14:34 ?        00:00:02 /opt/perf/bin/perfalarm
root      3186     1  2 14:34 ?        00:03:47 /opt/perf/bin/perfd
root      3222     1  0 14:34 ?        00:00:00 rhnsd
root      3233     1  0 14:34 ?        00:00:00 /usr/bin/rhsmcertd
root      3321     1  0 14:34 ?        00:00:01 /usr/bin/ruby /usr/bin/puppet agent
root      3347     1  2 14:34 ?        00:04:43 /opt/BESClient/bin/BESClient
root      3364     1  0 14:34 ?        00:00:00 /usr/sbin/certmonger -S -p /var/run/certmonger.pid
nagios    3418     1 17 14:34 ?        00:30:58 /opt/rssapps/nagios/bin/nagios -d /opt/rssapps/nagios/etc/nagios.cfg
nagios    3420  3418  0 14:34 ?        00:00:44 /opt/rssapps/nagios/bin/nagios --worker /opt/rssapps/nagios-4.3.0/var/rw/nagios.qh
nagios    3421  3418  0 14:34 ?        00:00:44 /opt/rssapps/nagios/bin/nagios --worker /opt/rssapps/nagios-4.3.0/var/rw/nagios.qh
nagios    3422  3418  0 14:34 ?        00:00:45 /opt/rssapps/nagios/bin/nagios --worker /opt/rssapps/nagios-4.3.0/var/rw/nagios.qh
nagios    3424  3418  0 14:34 ?        00:00:45 /opt/rssapps/nagios/bin/nagios --worker /opt/rssapps/nagios-4.3.0/var/rw/nagios.qh
nagios    3425  3418  0 14:34 ?        00:00:45 /opt/rssapps/nagios/bin/nagios --worker /opt/rssapps/nagios-4.3.0/var/rw/nagios.qh
nagios    3427  3418  0 14:34 ?        00:00:44 /opt/rssapps/nagios/bin/nagios --worker /opt/rssapps/nagios-4.3.0/var/rw/nagios.qh
nagios    3445     1  0 14:34 ?        00:00:00 /opt/rssapps/pnp4nagios/bin/npcd -d -f /opt/rssapps/pnp4nagios/etc/npcd.cfg
root      3553     1  0 14:34 ?        00:00:06 /opt/OV/bin/ovcd
root      3561  3553  0 14:34 ?        00:00:00 /opt/OV/bin/ovbbccb -nodaemon
root      3582  3553  0 14:34 ?        00:00:00 /opt/OV/lbin/conf/ovconfd
nagios    3598  3418  0 14:34 ?        00:00:00 [nagios] <defunct>
root      3879  3553  0 14:34 ?        00:00:01 /opt/OV/lbin/eaagt/opcmona
root      3883  3553  0 14:34 ?        00:00:00 /opt/OV/lbin/perf/rtmd
root      3894  3553  0 14:34 ?        00:00:09 /opt/OV/lbin/eaagt/opcmsga
root      3903  3553  0 14:34 ?        00:00:01 /opt/OV/lbin/perf/coda
root      3918  3553  0 14:34 ?        00:00:01 /opt/OV/lbin/eaagt/opcacta
root      3925  3553  0 14:34 ?        00:00:00 /opt/OV/lbin/eaagt/opcmsgi
root      3931  3553  1 14:34 ?        00:02:18 /opt/OV/lbin/eaagt/opcle -std
root      4115     1  0 14:34 tty1     00:00:00 /sbin/mingetty /dev/tty1
root      4117     1  0 14:34 tty2     00:00:00 /sbin/mingetty /dev/tty2
root      4119     1  0 14:34 tty3     00:00:00 /sbin/mingetty /dev/tty3
root      4122     1  0 14:34 tty4     00:00:00 /sbin/mingetty /dev/tty4
root      4124     1  0 14:34 tty5     00:00:00 /sbin/mingetty /dev/tty5
root      4127     1  0 14:34 tty6     00:00:00 /sbin/mingetty /dev/tty6
root      4825  2545  0 14:35 ?        00:00:00 /usr/local/receptor/current/receptor
root      6583     2  0 17:19 ?        00:00:00 [flush-253:6]
daemon    7390  1877  0 17:20 ?        00:00:00 /opt/quest/sbin/.vasd -p /var/opt/quest/vas/vasd/.vasd.pid
root      8285  2564  0 17:20 ?        00:00:00 sshd: rr29 [priv]
rr29      8898  8285  0 17:20 ?        00:00:00 sshd: rr29@pts/1
rr29      8901  8898  0 17:20 pts/1    00:00:00 -sh
root     11823  2564  0 14:56 ?        00:00:00 sshd: rr29 [priv]
rr29     12354 11823  0 14:57 ?        00:00:00 sshd: rr29@pts/0
rr29     12361 12354  0 14:57 pts/0    00:00:00 -sh
best1adm 12621     1  0 14:37 ?        00:00:05 /usr/adm/best1_10.5.00/bgs/bin/bgsagent -b /usr/adm/best1_10.5.00 -a 6767 -d 6768 -u best1adm -i 10.8.60.52
best1adm 12624 12621  0 14:38 ?        00:00:41 bgscollect -I noInstance -B /usr/adm/best1_10.5.00
best1adm 12953 12621  0 14:38 ?        00:00:00 bgsioconfigcollect -I noInstance -B /usr/adm/best1_10.5.00
apachapp 14259  2963  0 14:57 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
apachapp 14337  2963  0 14:58 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
apachapp 14338  2963  0 14:58 ?        00:00:00 /usr/sbin/httpd -k restart -f /opt/apache/wg5279/rssapache/rssapachehttpd.conf
root     23495     2  0 17:29 ?        00:00:00 [flush-253:5]
root     24440  2853  0 15:05 ?        00:00:00 CROND
root     24441  2853  0 15:05 ?        00:00:00 CROND
root     24443 24441  0 15:05 ?        00:00:00 /bin/sh -c /opt/rssapps/bin/backup_postgres.sh > /dev/null 2>&1 #PUPPET
root     24444 24440  0 15:05 ?        00:00:00 /bin/sh -c /opt/rssapps/bin/backup_subversion.sh > /dev/null 2>&1 #PUPPET
root     24446 24444  0 15:05 ?        00:00:00 /bin/ksh /opt/rssapps/bin/backup_subversion.sh
root     24447 24443  0 15:05 ?        00:00:00 /bin/ksh /opt/rssapps/bin/backup_postgres.sh
daemon   26066  1877  0 17:30 ?        00:00:00 /opt/quest/sbin/.vasd -p /var/opt/quest/vas/vasd/.vasd.pid
daemon   26068  1877  0 17:30 ?        00:00:00 /opt/quest/sbin/.vasd -p /var/opt/quest/vas/vasd/.vasd.pid
root     26989     2  0 17:31 ?        00:00:00 [flush-253:1]
root     27290     2  0 15:25 ?        00:00:00 [flush-253:8]
root     27436  8901  0 17:31 pts/1    00:00:00 sudo ps -ef --cols=300
nagios   27561  3422  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxas00j1008.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27562 27561  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxas00j1008.rrr.company.org
nagios   27565  3420  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdm0050000.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27566 27565  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdm0050000.rrr.company.org
nagios   27595  3424  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxas00n0002.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27596 27595  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxas00n0002.rrr.company.org
nagios   27600  3422  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdb000000d.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27601 27600  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdb000000d.rrr.company.org
nagios   27603  3424  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdb0000007.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27604 27603  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdb0000007.rrr.company.org
nagios   27605  3420  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxasc000002.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27606 27605  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxasc000002.rrr.company.org
nagios   27607  3427  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdb000000a.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27608 27607  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdb000000a.rrr.company.org
nagios   27609  3425  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdti000000.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27610 27609  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdti000000.rrr.company.org
nagios   27611  3422  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdm0010001.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27612 27611  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdm0010001.rrr.company.org
nagios   27613  3421  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdx0010003.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27614 27613  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdx0010003.rrr.company.org
nagios   27615  3424  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdt00j0000.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27616 27615  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdt00j0000.rrr.company.org
nagios   27617  3420  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdt0020000.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27618 27617  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdt0020000.rrr.company.org
nagios   27619  3427  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdt0020005.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27620 27619  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdt0020005.rrr.company.org
nagios   27621  3425  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxsv0000007.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27622 27621  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxsv0000007.rrr.company.org
nagios   27623  3422  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdt0050001.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27624 27623  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdt0050001.rrr.company.org
nagios   27629  3425  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxtti000000.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27630 27629  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxtti000000.rrr.company.org
nagios   27631  3422  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxut0000005.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27632 27631  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxut0000005.rrr.company.org
nagios   27636  3427  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxrm0000001.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27637 27636  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxrm0000001.rrr.company.org
nagios   27649  3424  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxut000000e.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27650 27649  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxut000000e.rrr.company.org
nagios   27652  3427  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdt0060001.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27653 27652  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdt0060001.rrr.company.org
nagios   27654  3425  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxut000000y.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27655 27654  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxut000000y.rrr.company.org
nagios   27656  3422  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxut0000015.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27657 27656  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxut0000015.rrr.company.org
nagios   27659  3424  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdt00b0000.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27660 27659  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdt00b0000.rrr.company.org
nagios   27661  3420  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdx003000z.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27662 27661  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdx003000z.rrr.company.org
nagios   27663  3427  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdt00b000q.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27664 27663  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdt00b000q.rrr.company.org
nagios   27665  3425  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdx003000u.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27666 27665  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdx003000u.rrr.company.org
nagios   27667  3422  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxes00bu001.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27668 27667  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxes00bu001.rrr.company.org
nagios   27669  3421  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxsv0000001.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27670 27669  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxsv0000001.rrr.company.org
nagios   27671  3424  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxtt0000004.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27672 27671  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxtt0000004.rrr.company.org
nagios   27674  3427  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00tm000000001.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27675 27674  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00tm000000001.rrr.company.org
nagios   27676  3425  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00tm200000000.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27677 27676  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00tm200000000.rrr.company.org
nagios   27678  3422  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxtt0070001.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27679 27678  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxtt0070001.rrr.company.org
nagios   27680  3421  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00tm300000001.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27681 27680  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00tm300000001.rrr.company.org
root     27712     2  0 17:31 ?        00:00:00 [flush-253:15]
nagios   27714  3420  0 17:31 ?        00:00:00 /opt/rssapps/lib64/nagios/plugins/check_ping -H rr00nxdx00a0000.rrr.company.org -w 100.0,20% -c 500.0,60% -p 5
nagios   27715 27714  0 17:31 ?        00:00:00 /bin/ping -n -U -w 10 -c 5 rr00nxdx00a0000.rrr.company.org
root     27722 27436  0 17:31 pts/1    00:00:00 ps -ef --cols=300
rr29@r95next000007x [/home/rr29]
Samsun
Posts: 4
Joined: Wed May 10, 2017 2:07 pm

Re: ERROR: Return code of 7 is out of bond

Post by Samsun »

Here are the logs, at /opt/local/nagios/logs/nagios.log. (Not worring about ssl hand shake error). I have copied log where it is running right when they are 675 hosts and when I add more hosts to hosts.cfg and restart nagios service, I see the below logs.

Code: Select all

[1494434722] SERVICE ALERT: rr00tm400000001;check_memory_used;CRITICAL;SOFT;1;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434730] SERVICE ALERT: rr00tm400000001;check_cpu_load;CRITICAL;HARD;3;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434745] SERVICE ALERT: rr00tm400000001;check_disk_rss;CRITICAL;SOFT;2;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434760] SERVICE ALERT: rr00tm400000001;check_swap_used;CRITICAL;HARD;1;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434767] SERVICE ALERT: rr00tm400000001;check_cpu_stats;CRITICAL;HARD;3;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434783] SERVICE ALERT: rr00tm400000001;check_memory_used;CRITICAL;SOFT;2;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434797] SERVICE ALERT: rr00tm400000001;check_total_procs;CRITICAL;SOFT;1;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434805] SERVICE ALERT: rr00tm400000001;check_disk_rss;CRITICAL;HARD;3;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434835] SERVICE ALERT: rr00tm400000001;check_zombie_procs;CRITICAL;SOFT;1;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434843] SERVICE ALERT: rr00tm400000001;check_memory_used;CRITICAL;HARD;3;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434858] SERVICE ALERT: rr00tm400000001;check_total_procs;CRITICAL;SOFT;2;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434895] SERVICE ALERT: rr00tm400000001;check_zombie_procs;CRITICAL;SOFT;2;CHECK_NRPE: Error - Could not complete SSL handshake.
[1494434906] Caught SIGTERM, shutting down...
[1494434906] Successfully shutdown... (PID=2016)
[1494434906] Event broker module 'NERD' deinitialized successfully.
[1494434907] livestatus: Socket thread has terminated
[1494434907] Event broker module '/opt/rssapps/check_mk/bin/livestatus.o' deinitialized successfully.
[1494434908] Warning: use_embedded_perl_implicitly is deprecated and will be removed.
[1494434908] Warning: enable_embedded_perl is deprecated and will be removed.
[1494434908] Warning: p1_file is deprecated and will be removed.
[1494434908] Warning: sleep_time is deprecated and will be removed.
[1494434908] Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
[1494434908] Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
[1494434908] Nagios 4.3.0 starting... (PID=13720)
[1494434908] Local time is Wed May 10 11:48:28 CDT 2017
[1494434908] LOG VERSION: 2.0
[1494434908] qh: Socket '/opt/rssapps/nagios-4.3.0/var/rw/nagios.qh' successfully initialized
[1494434908] qh: core query handler registered
[1494434908] nerd: Channel hostchecks registered successfully
[1494434908] nerd: Channel servicechecks registered successfully
[1494434908] nerd: Channel opathchecks registered successfully
[1494434908] nerd: Fully initialized and ready to rock!
[1494434908] wproc: Successfully registered manager as @wproc with query handler
[1494434908] wproc: Registry request: name=Core Worker 13722;pid=13722
[1494434908] wproc: Registry request: name=Core Worker 13723;pid=13723
[1494434908] wproc: Registry request: name=Core Worker 13725;pid=13725
[1494434908] wproc: Registry request: name=Core Worker 13724;pid=13724
[1494434908] wproc: Registry request: name=Core Worker 13726;pid=13726
[1494434908] wproc: Registry request: name=Core Worker 13727;pid=13727
[1494434908] livestatus: Livestatus 1.2.6p16 by Mathias Kettner. Socket: '/opt/rssapps/nagios/var/rw/live'
[1494434908] livestatus: Please visit us at http://mathias-kettner.de/
[1494434908] livestatus: Hint: please try out OMD - the Open Monitoring Distribution
[1494434908] livestatus: Please visit OMD at http://omdistro.org
[1494434908] livestatus: Warning: environment_macros are enabled. This might decrease the overall nagios performance
[1494434908] livestatus: Cannot open log archive '/var/log/rssapps/nagios/archives'
[1494434908] livestatus: Finished initialization. Further log messages go to /var/log/rssapps/nagios/livestatus.log
[1494434908] Event broker module '/opt/rssapps/check_mk/bin/livestatus.o' initialized successfully.
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/opt/rssapps/nagios/objects/hosts/check_mk_templates.cfg', starting at line 64)
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/opt/rssapps/nagios/objects/hosts/check_mk_templates.cfg', starting at line 133)
[1494434908] WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
[1494434908] WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/opt/rssapps/nagios/objects/global/templates.cfg', starting at line 61)
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/opt/rssapps/nagios/objects/global/templates.cfg', starting at line 110)
[1494434908] WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
[1494434908] livestatus: Finished initialization. Further log messages go to /var/log/rssapps/nagios/livestatus.log
[1494434908] Event broker module '/opt/rssapps/check_mk/bin/livestatus.o' initialized successfully.
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/opt/rssapps/nagios/objects/hosts/check_mk_templates.cfg', starting at line 64)
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/opt/rssapps/nagios/objects/hosts/check_mk_templates.cfg', starting at line 133)
[1494434908] WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
[1494434908] WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/opt/rssapps/nagios/objects/global/templates.cfg', starting at line 61)
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/opt/rssapps/nagios/objects/global/templates.cfg', starting at line 110)
[1494434908] WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/opt/rssapps/nagios/objects/global/templates.cfg', starting at line 138)
[1494434908] WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
[1494434908] Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/opt/rssapps/nagios/objects/global/templates.cfg', starting at line 175)
[1494434908] WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
[1494434914] Successfully launched command file worker with pid 13737
[1494434914] TIMEPERIOD TRANSITION: 24X7;-1;1
[1494434914] TIMEPERIOD TRANSITION: 24x7;-1;1
[1494434914] TIMEPERIOD TRANSITION: 24x7_sans_holidays;-1;1
[1494434914] TIMEPERIOD TRANSITION: businesshours;-1;1
[1494434914] TIMEPERIOD TRANSITION: none;-1;0
[1494434914] TIMEPERIOD TRANSITION: us-holidays;-1;0
[1494434914] TIMEPERIOD TRANSITION: workhours;-1;1
[1494434914] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr005005' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_memory_used' on host 'rr00as54' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_total_procs' on host 'rr00nxasi000002' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr006003' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_swap_used' on host 'rr0090000000006' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_total_procs' on host 'rr00nxas0030000' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_total_procs' on host 'rr00nxdm0010000' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_swap_used' on host 'rr00nxdx00a0000' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_total_procs' on host 'rr005003' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr00m0000000005' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_total_procs' on host 'rr00nxdt0020007' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_swap_used' on host 'rr00nxut000000x' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_swap_used' on host 'rr00tm100000002' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr00nxas0000006' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_total_procs' on host 'rr00nxas00j100a' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_total_procs' on host 'rr00nxdx0010004' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_swap_used' on host 'rr00nxtt0050000' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_swap_used' on host 'rr00nxtti000000' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_swap_used' on host 'rr00nxut000000a' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_memory_used' on host 'rr0050000000007' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr00nxam0000004' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr00nxam0010000' was out of bounds.
[1494434914] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr00nxas0f0f000' was out of bounds.
[1494434915] Warning: Return code of 7 for check of service 'check_memory_used' on host 'rr00ase0' was out of bounds.
[1494434916] Warning: Return code of 7 for check of service 'check_memory_used' on host 'rr007002' was out of bounds.
[1494434916] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr00f0000000002' was out of bounds.
[1494434916] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr00nxdt0050001' was out of bounds.
[1494434918] Warning: Return code of 7 for check of service 'check_zombie_procs' on host 'rr0050000000000' was out of bounds.
[1494434918] Warning: Return code of 7 for check of service 'check_total_procs' on host 'rr00tm400000001' was out of bounds.
[1494434918] SERVICE ALERT: rr00tm400000001;check_total_procs;CRITICAL;HARD;3;(Return code of 7 is out of bounds)
[1494434921] Warning: Return code of 7 for check of service 'check_cpu_stats' on host 'rr00nxdb0000002' was out of bounds.
[1494434922] Warning: Return code of 7 for check of service 'check_memory_used' on host 'rr001000000000l' was out of bounds.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: ERROR: Return code of 7 is out of bond

Post by tgriep »

Nothing is showing up in those logs as a possible cause except check these errors from the nagios.log file.

Code: Select all

[1494434908] livestatus: Warning: environment_macros are enabled. This might decrease the overall nagios performance
[1494434908] livestatus: Cannot open log archive '/var/log/rssapps/nagios/archives'
I do see that the server has pnp4nagios and livestatus running. You may want to disable those and see if the error goes away.
You also may want to check the log files for them and see if there are any errors in them.

Code: Select all

/var/log/rssapps/nagios/livestatus.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked