Remove ghost services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Remove ghost services

Post by Naveed »

Hello,

I have recreating all of my infrastructure in nagios.

All of my services are working fine. But few services are in unknown state and I dont even defined in monitoring.

From where its getting these services.

Screenshot is attached.

Kindly help!

Thank you!
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Remove ghost services

Post by rkennedy »

I think this would be better solved over a remote, is submitting a ticket in an option for you so that we can get a remote setup for this? We've looked over multiple things now in multiple different threads, and I don't believe any of it's adding up.
Former Nagios Employee
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Re: Remove ghost services

Post by Naveed »

Hello,

I found solution by myself.

Any creative idea hit in my mind and made my life so easy.

All services those were in unknown state, I defined for only one server not for all. But services were in unknown state on all servers of a hostgroup.

I Just edit the service which is running fine on one server and removed it hostgroup and servicegroup that solved my issue. But still I am not clear that what was the issue and why it was showing on for all other servers as well.
Otherthan this service all other services are also having shared hostgroup/servicegroup but not showing on other servers.

Please explain.

Thank you!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Remove ghost services

Post by rkennedy »

Naveed wrote:Hello,

I found solution by myself.

Any creative idea hit in my mind and made my life so easy.

All services those were in unknown state, I defined for only one server not for all. But services were in unknown state on all servers of a hostgroup.

I Just edit the service which is running fine on one server and removed it hostgroup and servicegroup that solved my issue. But still I am not clear that what was the issue and why it was showing on for all other servers as well.
Otherthan this service all other services are also having shared hostgroup/servicegroup but not showing on other servers.

Please explain.

Thank you!
Nice catch!

There is probably a service assigned to the host group, and since it's not applicable for that host - it was coming back unknown. It sounds like you've fixed that accordingly.

Are we good to mark this thread as resolved?
Former Nagios Employee
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Re: Remove ghost services

Post by Naveed »

I agree sir!

But there are so many other services as well those are shared with host group but those do not show in other hosts.

I am not clear on it.

Thank you!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Remove ghost services

Post by rkennedy »

It's hard to say, that's why I asked if we could get a remote going. As this is resolved now though, going to close this one out.
Former Nagios Employee
Locked