Page 1 of 4

Rename the service problem

Posted: Thu Jan 08, 2015 4:41 am
by phyo
Hi all,

I am using Nagios XI 2014R1.0 with RHEL 6.4 64bit. After adding the hosts and services, I rename some of the service name from Nagios Core Config Manager. After that I noticed the name of the old service is still there.
First picture is accessing from Service details.

Image

Interface cxgb status service is the old name and I have changed to cxgb-10G Fiber link status.

Second picture is the real services details for EMC-X400-01.

Image

I already tried as mention from http://support.nagios.com/forum/viewtop ... 16&t=26272 post. But after a few minutes later, the old service come back.

So how can I fix this issue?

Thanks.

Re: Rename the service problem

Posted: Thu Jan 08, 2015 12:36 pm
by sreinhardt
More than likely the end resolve is going to be doing updates to the system. I would suggest at least going to 2014r1.5 if not r2.3. This seems to me, to be a bug we had with the original 2014 core and ndo issues.

Re: Rename the service problem

Posted: Thu Jan 08, 2015 8:33 pm
by phyo
sreinhardt wrote:More than likely the end resolve is going to be doing updates to the system. I would suggest at least going to 2014r1.5 if not r2.3. This seems to me, to be a bug we had with the original 2014 core and ndo issues.
To update to latest version, do we need to backup the current configuration? or just follow the update instruction http://assets.nagios.com/downloads/nagi ... nstall.pdf?
Thanks.

Re: Rename the service problem

Posted: Thu Jan 08, 2015 9:16 pm
by Box293
Follow the steps in that PDF, your existing configurations will remain intact after the upgrade.

OR you can upgrade via the XI web interface:
Admin
System Information
Check For Updates
There will be an Upgrade button on this screen.


You can create a manual backup before the upgrade via:
Admin
System Backups
Local Backup Archives
Click Create Backup

Re: Rename the service problem

Posted: Wed Jan 14, 2015 9:54 pm
by phyo
Update process failed because of maintenance license has expired.

Re: Rename the service problem

Posted: Thu Jan 15, 2015 10:17 am
by tmcdonald
That you would need to talk to our Sales department about - A maintenance license is what allows upgrades to the system.

Re: Rename the service problem

Posted: Thu Feb 26, 2015 9:13 pm
by phyo
I deleted all old configuration and readd the new services again. But old services name are still there. From nagios core, everything is ok. From nagiosxi site only saw the old services and old hostname.
For host, delete old host and all service. then add again with different host name.

Any solution for this issue?

My xi version is 2014R1.0

Thanks.

Re: Rename the service problem

Posted: Thu Feb 26, 2015 9:16 pm
by Box293
Can you show some screenshots that highlight what you are talking about.

Re: Rename the service problem

Posted: Thu Feb 26, 2015 9:37 pm
by phyo
Box293 wrote:Can you show some screenshots that highlight what you are talking about.
Old services name include Traffic keywords. Then I deleted all the services name which include "Traffic" and added new services with "Bandwidth" by running Network Switch / Router wizard.
Image
This STB-NC2-Router host and services are already deleted. But still there. I deleted from CCM.
Image

Re: Rename the service problem

Posted: Thu Feb 26, 2015 9:43 pm
by Box293
Open an ssh session to nagios XI and execute these commands:

Code: Select all

rm -f /usr/local/nagios/etc/hosts/*.*
rm -f /usr/local/nagios/etc/services/*.*
Go into CCM
Quick Tools > Apply Configuration
Click the Apply Configuration button

Are they gone now?