Can't Delete Host or Services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Can't Delete Host or Services

Post by toleolu »

My first post as an actual customer, this is indeed a glorious day. :D

I added a Foundry Network Switch to my Nagios XI, the plugin wasn't working, so I decided to remove it, and try again. Nagios won't let me delete the service or the host via CCM, is there anything I can check on that or do I have to go into the command line to get rid of it?

If I do have to delete it from the command line, which files do I need to remove it from? On our old Nagios, we would have to delete those entries from host.cfg, services.cfg, and hostgroups.cfg.

Mahalo;
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Can't Delete Host or Services

Post by tmcdonald »

toleolu wrote:My first post as an actual customer, this is indeed a glorious day. :D
Welcome to the Customer Support forum! We have a fine selection of wines and comfy sofas to relax on.

Does the CCM give you any issues like "X service depends on Y host" or something?
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Can't Delete Host or Services

Post by BanditBBS »

Make sure and do these:

1. Delete any services for the host first
2. Delete the host(click the blue i icon to see any dependent relations)
3. Stay far away from tmcdonald, he's scary! :lol: (just joking of course, and actually hesitated to say it)
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Can't Delete Host or Services

Post by toleolu »

My bad, the error was being thrown because of a service on another host, I missed it in the config file earlier.

What a lame first post. :(
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Can't Delete Host or Services

Post by abrist »

No problem. I am sure you will have a real problem someday . . .:P Have a great weekend. I will lock it on up.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked