Disable inherited service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cmavunga
Posts: 9
Joined: Wed Mar 30, 2016 2:25 pm

Disable inherited service

Post by cmavunga »

Morning

How do I completely disable and inherited service on a particular host?.

Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Disable inherited service

Post by lmiltchev »

You can easily deactivate a service under the Core Config Manager in Nagios XI. Simply click on the "Yes" under the "Active" column ("Deactivate"). You can check for dependent relationships (whether or not the service can be deleted/deactivated) by clicking on the "Relationship Info" button next to the service.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cmavunga
Posts: 9
Joined: Wed Mar 30, 2016 2:25 pm

Re: Disable inherited service

Post by cmavunga »

Sorry, maybe I wasn't clear.

I have a template with a few services, this template is inherited by a whole bunch of servers. The issue is i need to disable a few of these services from specific servers without affecting every server that inherits the service via the template.

Thanks for th response.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Disable inherited service

Post by lmiltchev »

Can you show us an example configs of this template, and hosts or services it is attached to?
Be sure to check out our Knowledgebase for helpful articles and solutions!
cmavunga
Posts: 9
Joined: Wed Mar 30, 2016 2:25 pm

Re: Disable inherited service

Post by cmavunga »

I'm not sure how to do that, I have found an identical post to mine from a while back though, but the final response seems wrong to me.

https://support.nagios.com/forum/viewto ... f=6&t=4741

since what is suggested here would delete the service completely and thus remove it from the template and from all inheriting hosts.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Disable inherited service

Post by lmiltchev »

I'm not sure how to do that...
You can go to CCM, click on "Hosts", "Services", "Host Templates", "Service Templates", etc., then click on the "View config" actions button (the diskette icon) next to the object, to view the configuration file.

In order to help you out, we need to view all of the relevant configs. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked