4 service status for each monitored item

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
garrett320
Posts: 7
Joined: Thu Apr 27, 2017 11:44 am

4 service status for each monitored item

Post by garrett320 »

I moved my Nagios XI VM to another ESX host and when I powered on the VM Nagios is now showing 4 service status for each monitored item. For instance, I'm monitoring /opt on a system and it shows me 4 /opt's for each system. Can you tell me how this might have happened? Or more importantly resolve this back to 1 "service" for each device?
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: 4 service status for each monitored item

Post by dwhitfield »

What's the output of ps -aef | grep nagios.cfg?

If you have more than one parent (first # column should match second # column for all but the first), then you should:

Code: Select all

service nagios stop
killall nagios
service nagios start
If that doesn't do it, then it's possible there's a db issue. If you don't have killall install on your server, you can either install it or kill the processes manually.
garrett320
Posts: 7
Joined: Thu Apr 27, 2017 11:44 am

Re: 4 service status for each monitored item

Post by garrett320 »

Here is the output

[root@Nagios hosts]# ps -aef | grep nagios.cfg
nagios 1681 1 0 09:53 ? 00:00:02 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 2040 1681 0 09:53 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 110425 83629 0 15:40 pts/0 00:00:00 grep --color=auto nagios.cfg

I follow the steps you provided and that resolved my issue. Thank you for your help!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: 4 service status for each monitored item

Post by cdienger »

Glad to hear! Are we okay closing this thread or did you have any additional questions?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
garrett320
Posts: 7
Joined: Thu Apr 27, 2017 11:44 am

Re: 4 service status for each monitored item

Post by garrett320 »

You can close this thread, thank you.
Locked