Page 2 of 2

Re: PNP4Nagios not working [Undefined index: DISP_HOSTNAME]

Posted: Fri Jul 26, 2019 4:01 pm
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

Re: PNP4Nagios not working [Undefined index: DISP_HOSTNAME]

Posted: Mon Jul 29, 2019 3:31 am
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.

Re: PNP4Nagios not working [Undefined index: DISP_HOSTNAME]

Posted: Mon Jul 29, 2019 10:46 am
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.