Connection Refused

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Connection Refused

Post 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 ?
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

Post 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"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Connection Refused

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Connection Refused

Post 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.
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Connection Refused

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Connection Refused

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Connection Refused

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Connection Refused

Post 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.
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

Post by nagiostool »

i have overcome the problem thanks for all your posts :)
Locked