Dear all,
I'm structuring our XI server.
I want to change names of services, but want to retain the performance data.
Is it possible to achieve this, and if so, how to do it.
With kind regards,
Ralph
Change service name retain performance data
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Change service name retain performance data
Hello, @rdebok. Yes, it's possible but you'd need to use a Bulk Renaming Tool in Core Configurations Manager. That's the only way to rename hosts and services if you want to keep the performance data.
Before you start, it would probably be a good idea to make a backup of your XI, just in case.
Before you start, it would probably be a good idea to make a backup of your XI, just in case.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Change service name retain performance data
Dear npolovenko,
Thank you for your answer.
I found this option, but it is only available in the enterprise edition.
There is no option to rename only 1 service.
Is there a way to accomplish this manually without the enterprise edition.
I don't mind if this cost me a few hours to achieve since it will be a one time action.
with kind regards,
Ralph
Thank you for your answer.
I found this option, but it is only available in the enterprise edition.
There is no option to rename only 1 service.
Is there a way to accomplish this manually without the enterprise edition.
I don't mind if this cost me a few hours to achieve since it will be a one time action.
with kind regards,
Ralph
Re: Change service name retain performance data
@box293's Performance Data Tool component allows you to merge "old" performance data into "new" performance data:
https://exchange.nagios.org/directory/A ... ol/details
https://exchange.nagios.org/directory/A ... ol/details
So essentially, you'd rename the service, allow the "new" RRD to be produced, then merge the old RRD in.**If you rename a host/service the performance data can be merged into the new RRD files
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Change service name retain performance data
@rdebok, I think sometimes when you update the XI you get 60 days trial of Enterprise Features, but don't catch me on that.
Also, sometimes, and not for all services, simply renaming the RRD and XML files in /usr/local/nagios/share/perfdata/ folder works. So say you had a service called service1, and you renamed it to be service2. Immediately after you'd go to /usr/local/nagios/share/perfdata/ open the host folder, find the service1.xml and service1.rrd and rename it to service2.xml and service2.rrd. But before you experiment with this please backup the XI, or atleast the /usr/local/nagios/share/perfdata/ folder. Otherwise, what @mcapra recommended would be the "recommended" way of doing this, probably not the easiest though.
Also, sometimes, and not for all services, simply renaming the RRD and XML files in /usr/local/nagios/share/perfdata/ folder works. So say you had a service called service1, and you renamed it to be service2. Immediately after you'd go to /usr/local/nagios/share/perfdata/ open the host folder, find the service1.xml and service1.rrd and rename it to service2.xml and service2.rrd. But before you experiment with this please backup the XI, or atleast the /usr/local/nagios/share/perfdata/ folder. Otherwise, what @mcapra recommended would be the "recommended" way of doing this, probably not the easiest though.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Change service name retain performance data
Thank you all for the suggestions.
Unfortunately I "used" my trail period. (Probably activated it during initial setup)
I'll give the Performance Data Tool a shot.
With kind regards,
Ralph
Unfortunately I "used" my trail period. (Probably activated it during initial setup)
I'll give the Performance Data Tool a shot.
With kind regards,
Ralph
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Change service name retain performance data
@rdebok, Sounds good. I'll leave this thread open for a while in case you have any questions during the process.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.