Can you locate both of the service config files that you're having issues with in the /usr/local/nagios/etc/services directory, and then try deleting both service config files. Access the Core Config Manager and use the "Write Config Tool" to write out a fresh set of configurations from the database.
If your issue still persists, email us a "Configuration Snapshot" tarball of your current config and we'll see if we can identify the source of the issue.
It seems that a process was using the old configuration. Killing all nagios processes before restarting it, solved the problem of the duplication of service on the Service Details page. Thanks !!
To answer your question, before killing everything, i already used the "Write Config Tool" and only the new configuration appeared in the services directory. It was like a process had memorizing the old one...
As you can see on the attached screenshots, on the "Service Detail" page, for a host that has been renamed its state appears OK and all its services too but when i click on them they appears pending, with notification disabled, and no link to "Schedule an immediate check"
Aurélien.
You do not have the required permissions to view the files attached to this post.
Configuration: Nagios XI 2014R2.5
manually upgraded on 64bits CentOS 6 with nothing extra, no gnome, no proxy, no SSL
Add-ons: Hypermap, Minemap, Ping Action, Traceroute Action, Network Replay, Graph Explorer, Latest Alert
I think I've seen this on one of my own test boxes, but I thought it was something I broke since it was my development test box ; ) I'll do some digging on this and see what I can find out, but it looks like this could be a bug since another user is reporting the exact same thing.
I was waiting for 2011R1.4 but today i finally decided to install the devel release xi-2011-06021654.tar.gz
Unfortunately, this release seems to have bugs when i try to apply a new configuration it just keep on checking the configuration.
Nagios XI_1307692889687.png
When i try to restart NagiosXI component from the Administration page it says that the command can't be processing as the server is busy. Exact message is:
Your request was not processed in a timely manner. It may still execute, as the server may be temporarily busy.
Effectively server's load is 1 (top command)
I try to use the "Write Config Files" Tool, which works properly even to restart Nagios.
If your need more informations, just let me know and i hope 2011R1.4 will be released soon 'cause i am now stuck and can't work on XI anymore.
EDIT: I find out that the problem does not come from the release but from the Switch/Router Monitoring Wizard that i was using. It was checking the configuration indefinitely cause one service name had illegal character in the service name... As the host and the services were in fact created, i have simply corrected the service names. Then when applying the configuration it was still keeping on checking the configuration, but using the "Write Config Files" Tool made the host and its services appear on the "Service Details" page.
I guess there is still a bug in the release as the Apply Configuration function doesn't work properly
You do not have the required permissions to view the files attached to this post.
Configuration: Nagios XI 2014R2.5
manually upgraded on 64bits CentOS 6 with nothing extra, no gnome, no proxy, no SSL
Add-ons: Hypermap, Minemap, Ping Action, Traceroute Action, Network Replay, Graph Explorer, Latest Alert
"retention.dat" is the file that Nagios will use for storing status, downtime, and comment information before it
shuts down. When Nagios is restarted it will use the information stored in this file for setting the initial
states of services and hosts before it starts monitoring anything.
Have you restarted nagios since you've experienced the duplication of the services?
Be sure to check out our Knowledgebase for helpful articles and solutions!