PNP4Nagios not working [Undefined index: DISP_HOSTNAME]

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: PNP4Nagios not working [Undefined index: DISP_HOSTNAME]

Post by ssax »

But what happen with my old performance data. Will this also be updated?
No, the XML file will be updated but the RRD files don't change at all after creation in terms of setup.

I just went through the instructions again and it's working properly for me.

Please run these commands and send me the resulting /tmp/NAGIOSSUPPORT.zip file:

Code: Select all

tail -n300 /var/log/httpd/error_log /var/log/httpd/ssl_error_log >> /tmp/TMPOUTPUT.txt
zip -r /tmp/NAGIOSSUPPORT.zip /etc/httpd/conf/httpd.conf /etc/httpd/conf.d /usr/local/nagios/etc/pnp /usr/local/pnp4nagios /tmp/TMPOUTPUT.txt
Additionally, send the output of these commands:

Code: Select all

uname -a
cat /etc/*release
httpd -V
php -v
cmueller
Posts: 14
Joined: Sun Mar 04, 2018 11:07 am

Re: PNP4Nagios not working [Undefined index: DISP_HOSTNAME]

Post by cmueller »

Sorry with the question if the performance data will be updated I ment especially the XML file.
Meanwhile I just gave the newer "process_perfdata.pl" script to a colleague which better understands perl than me and he confirmed me also that the script will update the XML files.
So after making a backup we exchanged the "process_perfdata.pl" file to the version from test system. Now the XMLs are updated in the same way.
And the pnp4nagios is now working as expected.

Sorry for this weird support request. :D I expect that during an previous update this one file wasn't updated for any reason.

Do you want the requested support data for further investgation? For me not futher neccessary. My problem is solved.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: PNP4Nagios not working [Undefined index: DISP_HOSTNAME]

Post by mbellerue »

Glad to hear it's working! Definitely give us a shout if you have any problems down the road. That's what we're here for.
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