upgraded nagios getting an error in logs

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
0zro0
Posts: 1
Joined: Wed Sep 27, 2017 12:20 pm

upgraded nagios getting an error in logs

Post by 0zro0 »

Hi,

We upgraded our Nagios last night to version 4.3.2. Since our graphing has not worked. We did have to comment out the entire escalation.cfg to get nagios to start. Our oncall services are most likely not working because of this. After getting Nagios to start, we are seeing this error below being spammed. Can any help provide any guidance on a possible solution to my problem?

example from escalation.cfg
41 #define serviceescalation{
42 # hostgroup_name criticalhosts
43 # servicegroup_name zendnotification
44 # first_notification 7
45 # last_notification 0
46 # notification_interval 2
47 # contact_groups primary_oncall,secondary_oncall,tertiary_oncall
48 # }


nagios.log
[1506532388] wproc: SERVICE PERFDATA job 4052 from worker Core Worker 22711 is a non-check helper but exited with return code 2
[1506532388] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1506532388] wproc: SERVICE PERFDATA job 4052 from worker Core Worker 22712 is a non-check helper but exited with return code 2
[1506532388] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1506532388] wproc: SERVICE PERFDATA job 4052 from worker Core Worker 22714 is a non-check helper but exited with return code 2
[1506532388] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1506532388] wproc: SERVICE PERFDATA job 4052 from worker Core Worker 22718 is a non-check helper but exited with return code 2
[1506532388] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1506532388] wproc: SERVICE PERFDATA job 4052 from worker Core Worker 22717 is a non-check helper but exited with return code 2
[1506532388] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1506532388] wproc: SERVICE PERFDATA job 4053 from worker Core Worker 22709 is a non-check helper but exited with return code 2
[1506532388] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1506532388] wproc: SERVICE PERFDATA job 4053 from worker Core Worker 22707 is a non-check helper but exited with return code 2
[1506532388] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
dwasswa

Re: upgraded nagios getting an error in logs

Post by dwasswa »

Hi @0zro0,

Please run the command to check configurations errors after upgrade

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Also run

Code: Select all

cat /usr/local/nagios/var/objects.cache
This directive is used to specify a file in which a cached copy of object definitions should be stored. The cache file is (re)created every time Nagios is (re)started and is used by the CGIs.
Locked