Rename the service problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Rename the service problem

Post 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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Rename the service problem

Post 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.
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.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: Rename the service problem

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Rename the service problem

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: Rename the service problem

Post by phyo »

Update process failed because of maintenance license has expired.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Rename the service problem

Post by tmcdonald »

That you would need to talk to our Sales department about - A maintenance license is what allows upgrades to the system.
Former Nagios employee
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: Rename the service problem

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Rename the service problem

Post by Box293 »

Can you show some screenshots that highlight what you are talking about.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: Rename the service problem

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Rename the service problem

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked