delete service
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
delete service
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,
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
sounds like a case of reverse ghosts
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: delete service
it is really Ok
You do not have the required permissions to view the files attached to this post.
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: delete service
I tried the the following but the services still appear:
killall nagios
service nagios start
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
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.
Re: delete service
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?
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
I have nagios R20141.0
I deleted them from Nagios config manager and apply changes after that
I deleted them from Nagios config manager and apply changes after that
Re: delete service
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 antispamdbBe 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
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
[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.