delete service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

delete service

Post by hanya.radwan »

hi,

I deleted two service from nagios core, I mean services , but these services still appear on Nagios XI.so how can I disappear them from Nagios XI

thanks,
matt.lilek
Posts: 137
Joined: Wed Aug 07, 2013 11:53 am

Re: delete service

Post by matt.lilek »

sounds like a case of reverse ghosts
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: delete service

Post by hanya.radwan »

nagiosxi.png
it is really Ok
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: delete service

Post by slansing »

What do you mean by "it is really Ok"?

http://support.nagios.com/wiki/index.ph ... t_Hosts.29
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: delete service

Post by hanya.radwan »

I tried the the following but the services still appear:
killall nagios
service nagios start
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: delete service

Post by slansing »

Killing a nagios process will not solve that, you need to read through what I gave you in the previous post and follow the instructions.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: delete service

Post by tmcdonald »

You said you deleted them from Core. Do you mean you deleted the .cfg files or you deleted the services from the Core Config Manager? You will need to remove them from the Core Config Manager and click Apply Configuration for the changes to take effect.

What Nagios XI version is this?
Former Nagios employee
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: delete service

Post by hanya.radwan »

I have nagios R20141.0

I deleted them from Nagios config manager and apply changes after that
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: delete service

Post by lmiltchev »

Can you find these services now in the CCM? What are the config timestamps? Can you find them in the CLI?

Code: Select all

ll -t /usr/local/nagios/etc/hosts | grep -i antispamdb
ll -t /usr/local/nagios/etc/services | grep -i antispamdb
Be sure to check out our Knowledgebase for helpful articles and solutions!
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: delete service

Post by hanya.radwan »

the following is the command result:
[root@nms ~]# ll -t /usr/local/nagios/etc/hosts | grep -i antispamdb
-rw-rw-r-- 1 apache nagios 956 Sep 3 14:01 AntiSpamDB.cfg
-rw-rw-r-- 1 apache nagios 923 Sep 3 14:01 AntiSpamDB2.cfg
-rw-rw-r-- 1 apache nagios 923 Sep 3 14:01 AntiSpamDB1.cfg
[root@nms ~]# ll -t /usr/local/nagios/etc/services | grep -i antispamdb
-rw-rw-r-- 1 apache nagios 1040 Sep 3 14:01 AntispamDB.cfg
-rw-rw-r-- 1 apache nagios 4772 Sep 3 14:01 AntiSpamDB2.cfg
-rw-rw-r-- 1 apache nagios 1082 Sep 3 14:01 AntiSpamDB1.cfg

but this service "SQL Server" not exits
You do not have the required permissions to view the files attached to this post.
Locked