Page 1 of 1

Apply config should be more lenient

Posted: Thu Jul 13, 2017 4:45 pm
by eloyd
I wish there were a better place for Nagios XI suggestions. :-)

#1: I really believe that hosts should be able to be disabled without eliminating/disabling the services that run on them.

#2: I really believe that services without hosts should not be a deal breaker for apply config

Re: Apply config should be more lenient

Posted: Thu Jul 13, 2017 4:47 pm
by tmcdonald

Re: Apply config should be more lenient

Posted: Thu Jul 13, 2017 4:57 pm
by gormank
Put hosts in hostgroups and apply the hostgroups to services. Hosts can then be disabled w/o CCM getting upset even if there are no active hosts applied to a service.
I jst verified by creating a host, hostgroup with that host, and a service with the hostgroup, then deactivated the host and applied w/o error.

Re: Apply config should be more lenient

Posted: Thu Jul 13, 2017 4:57 pm
by eloyd
See, I'm not sure I agree.

Since "active/inactive" is a database thing, the CCM could "cascade" the inactive host to deactivate all services that are assigned to it so that when Core is restarted, those things are ignored.


Edited for grammar.

Re: Apply config should be more lenient

Posted: Fri Jul 14, 2017 8:40 am
by mcapra
eloyd wrote:the CCM could "cascade"
+1

Re: Apply config should be more lenient

Posted: Fri Jul 14, 2017 9:10 am
by eloyd
While this is a workaround, it does not change my mind that the underlying functionality that I described should still exist.
gormank wrote:Put hosts in hostgroups and apply the hostgroups to services. Hosts can then be disabled w/o CCM getting upset even if there are no active hosts applied to a service.
I jst verified by creating a host, hostgroup with that host, and a service with the hostgroup, then deactivated the host and applied w/o error.

Re: Apply config should be more lenient

Posted: Fri Jul 14, 2017 10:06 am
by dwhitfield
I have submitted this feature request to the developers. It will be up to them if and when this ever exists.

Re: Apply config should be more lenient

Posted: Fri Jul 14, 2017 12:11 pm
by eloyd
Thanks. I'll go bug them now. :-)

Close.