Renaming interface removes perf data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
notverynick
Posts: 62
Joined: Wed Jun 13, 2012 8:47 am

Renaming interface removes perf data

Post by notverynick »

Hi Guys,

I ran the network / switch wizard against my core switch and it worked perfectly, however I've not named all my interfaces on the switch and so need now to rename them within XI.

I have a particular port and when I rename it's 'Description' inside the new CCM I lose all historic perf data. Rename it back and it all comes back.

What can I do to resolve this please?

I'm running 2012 r1.4

Thanks,

Nick
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Renaming interface removes perf data

Post by scottwilkerson »

If you go to Configure -> CCM -> Tools -> Renaming Tool there is a tool that can rename hosts/services and keep their performance data.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
notverynick
Posts: 62
Joined: Wed Jun 13, 2012 8:47 am

Re: Renaming interface removes perf data

Post by notverynick »

Enterprise only?

I assume this can be done via CLI?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Renaming interface removes perf data

Post by scottwilkerson »

Yes this is an Enterprise feature. If you haven't used your fully functional 60 day trial you could turn it on and make the changes.

Otherwise, yes you can do this via the CLI.

The performance graphs live as
/usr/local/nagios/share/perfdata/<HOSTNAME>/<SERVICENAME>.rrd
/usr/local/nagios/share/perfdata/<HOSTNAME>/<SERVICENAME>.xml

Simply move/rename them appropriately and the perfdata will go to the newly names host/service
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
notverynick
Posts: 62
Joined: Wed Jun 13, 2012 8:47 am

Re: Renaming interface removes perf data

Post by notverynick »

Excellent, thanks Scott
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Renaming interface removes perf data

Post by slansing »

Closing and marked as resolved. Thank's for letting us know notverynick.