Regarding log entries after Core upgrade

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
dshader
Posts: 2
Joined: Wed Mar 15, 2017 4:46 pm

Regarding log entries after Core upgrade

Post by dshader »

Hello all,
Just upgraded our 3.5.1 system to 4.4.5 and noticed during the upgrade that a few things have been deprecated so I managed through them and was successful at getting Nagios restarted and back to monitoring. However, I looked at the event logs and have a lot of the following:

[12-18-2019 09:33:31] wproc: stderr line 01: Can't open perl script "/usr/local/nagios/libexec/process_perfdata.pl": No such file or directory
Informational Message[12-18-2019 09:33:31] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;

I looked in /usr/local/nagios/libexec and noticed that the process_perfdata.pl script doesn't even exist. Is this something that happened with the upgrade? How do I get rid of this notice?

Thanks in advance for your responses.
Don Shader
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Regarding log entries after Core upgrade

Post by mbellerue »

Hi Don, welcome to the forums!

Do you know if you have any commands that require the use of that script? If you go to /usr/local/nagios/etc/objects/ and run grep -R process_perfdata.pl * that should tell you if it's used in a configuration file somewhere.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
dshader
Posts: 2
Joined: Wed Mar 15, 2017 4:46 pm

Re: Regarding log entries after Core upgrade

Post by dshader »

This is what I get:

[root@tdclog01 objects]# grep -R process_perfdata.pl
RCS/commands.cfg,v: command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
RCS/commands.cfg,v: command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
commands.cfg: command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
commands.cfg: command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA

I cannot find any reference to this script in any of these locations.
Don
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Regarding log entries after Core upgrade

Post by mbellerue »

Okay, I think I know what happened. PNP4Nagios must have been destroyed during the upgrade. It isn't installed by default with Nagios Core. Here are the install instructions. Try running through this, and see if it gets you back up and running again.
https://support.nagios.com/kb/article/n ... s-801.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked