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
Regarding log entries after Core upgrade
Re: Regarding log entries after Core upgrade
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.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Regarding log entries after Core upgrade
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
[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
Re: Regarding log entries after Core upgrade
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
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!