Page 1 of 1

Connection Refused

Posted: Thu Dec 22, 2011 3:51 am
by nagiostool
Hi,
I have configured a host which is pointing to gateway and in the services of that particular host it automatically a service named CPU Usage and when I'm trying to delete the service error is poping up i have attached the screenshot.

Can you help me with this ?

Re: Connection Refused

Posted: Thu Dec 22, 2011 10:52 am
by scottwilkerson
Let's try going to:
Configure -> Core Config Manager -> Services
and see if the service is still listed, if so delete the service, then click "Apply Configuration"

Re: Connection Refused

Posted: Thu Dec 22, 2011 11:10 pm
by nagiostool
scottwilkerson wrote:Let's try going to:
Configure -> Core Config Manager -> Services
and see if the service is still listed, if so delete the service, then click "Apply Configuration"
I have checked in the above mentioned path but i didn't find

Re: Connection Refused

Posted: Wed Dec 28, 2011 2:46 pm
by mguthrie
My guess is that service has either been assigned to multiple hosts, or it has been assigned as a service->hostgroup assignment. Search in the Core Config Manager for this service by the "service description." The "Config Name" filter doesn't necessarily mean that it's tied to any particular host, it functions more as a label.

Re: Connection Refused

Posted: Thu Dec 29, 2011 4:01 am
by nagiostool
mguthrie wrote:My guess is that service has either been assigned to multiple hosts, or it has been assigned as a service->hostgroup assignment. Search in the Core Config Manager for this service by the "service description." The "Config Name" filter doesn't necessarily mean that it's tied to any particular host, it functions more as a label.
I have tried to search with the service description but not able to find the host.
I have configured a dummy host with name as domain_host_name ,and the service is by default associated and i didn't find the host when tried to search with that particular name, but all other hosts are found associated with that service description.

Re: Connection Refused

Posted: Thu Dec 29, 2011 11:03 am
by scottwilkerson
Let's try this to find the service, ssh to your Nagios XI machine, then...

Code: Select all

cd /usr/local/nagios/etc
grep -lir "CPU Usage" *
This should display the file that contains this service.

Re: Connection Refused

Posted: Thu Dec 29, 2011 10:26 pm
by nagiostool
scottwilkerson wrote:Let's try this to find the service, ssh to your Nagios XI machine, then...

Code: Select all

cd /usr/local/nagios/etc
grep -lir "CPU Usage" *
This should display the file that contains this service.
I have tried it but no use , didn't reflect those particular hosts.

Re: Connection Refused

Posted: Mon Jan 02, 2012 1:31 pm
by lmiltchev
Go to: Configure -> Core Config Manager -> Services, use the Config name filter to find the particular host you are having issues with, find the "CPU Usage" service and click on the "Information" Action button to the right of it. See why the deletion is not possible - it should be listed there.

Re: Connection Refused

Posted: Thu Apr 24, 2014 3:23 am
by nagiostool
i have overcome the problem thanks for all your posts :)