PNP4Nagios started replacing blanks in hostnames, with + ?

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
Rango
Posts: 2
Joined: Tue Jun 18, 2013 3:52 am

PNP4Nagios started replacing blanks in hostnames, with + ?

Post by Rango »

Good afternoon, I hope somebody can help...

It appears that a few days ago, all of a sudden, PNP4Nagios started replacing spaces in Nagios hostnames with a '+' rather than '_'. So, in the perfdata folder, all hosts that contained a space now have two folders, one with + and one with _ substitutes.

It appears that Nagios however, when you click on the PNP link, looks for the data with '_' in the hostname.

Hard to explain, I hope I have! I have no idea how/what/why this has occured, but would be grateful for any help. i don't really want to go through and rename all hostnames to not use spaces, as this would lose all the previous PNP4N data :|

Please help!

Regards,
Malcolm
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: PNP4Nagios started replacing blanks in hostnames, with +

Post by sreinhardt »

Have you updated or changed anything recently that might effect this?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked