Thanks to You I corrected this.
In fact I only needed to correct the rotated files, as the change is a few weeks old.
In the /usr/local/nagios/var/archives
I did a: sed -i'backup/*' 's/OldHost-/NewHost-/g' nagios*
So it replaced all "OldHost-" with a "NewHost-" in all "nagios*" files. Before that I created an backup directory and all changed files ended up in that one (due to the -i'backup/*' part).
Worked like a charm, maybe instead of changing the description of Bulk Renaming Tool it would be better to improve it?
Bulk Renaming Tool - Performance data issue
-
kyang
Re: Bulk Renaming Tool - Performance data issue
Glad you did a sed command and it worked!
Did you have any more questions or are we okay to close this up?
Worked like a charm, maybe instead of changing the description of Bulk Renaming Tool it would be better to improve it?
That would a good idea. I'm sure it's in the works, but there is no set date for it. Something was said internally by @dwhitfield in the meantime thanks for the resolution!I'll put in a feature request for a more detailed Bulk Renaming Tool description.
Did you have any more questions or are we okay to close this up?
Re: Bulk Renaming Tool - Performance data issue
Nope, You can close this one 
Thanks!
Thanks!
-
kyang
Re: Bulk Renaming Tool - Performance data issue
Sounds good! I'll be closing this topic as resolved!
If you have any more questions, feel free to create another thread!
Thank you for using the Nagios Support Forum!
If you have any more questions, feel free to create another thread!
Thank you for using the Nagios Support Forum!