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 ?
Connection Refused
-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Connection Refused
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Connection Refused
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"
Configure -> Core Config Manager -> Services
and see if the service is still listed, if so delete the service, then click "Apply Configuration"
-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: Connection Refused
I have checked in the above mentioned path but i didn't findscottwilkerson 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"
Re: Connection Refused
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.
-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: Connection Refused
I have tried to search with the service description but not able to find the host.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 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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Connection Refused
Let's try this to find the service, ssh to your Nagios XI machine, then...
This should display the file that contains this service.
Code: Select all
cd /usr/local/nagios/etc
grep -lir "CPU Usage" *-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: Connection Refused
I have tried it but no use , didn't reflect those particular hosts.scottwilkerson wrote:Let's try this to find the service, ssh to your Nagios XI machine, then...This should display the file that contains this service.Code: Select all
cd /usr/local/nagios/etc grep -lir "CPU Usage" *
Re: Connection Refused
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: Connection Refused
i have overcome the problem thanks for all your posts 