Page 2 of 2

Re: Chk services after host is up for x min (or other soluti

Posted: Tue Nov 04, 2014 7:44 pm
by dariopalermo
Yes, it works. Nagios will now allow, however, dependent_servicegroup_name key if no dependent_host_name is defined and you have to make a 1 to 1 service dependecy for every host: from a single service dependency I now have (for 4 dependent services) 8 service dependencies in the configs.

And adding more hosts requires some work, where the initial solution makes the operation very easy.

Bye, Dario

Re: Chk services after host is up for x min (or other soluti

Posted: Tue Nov 04, 2014 7:49 pm
by eloyd
The host/service group dependency thing looks a lot like my post/bug: http://support.nagios.com/forum/viewtop ... =7&t=28200

Re: Chk services after host is up for x min (or other soluti

Posted: Wed Nov 05, 2014 3:51 pm
by sreinhardt
I would agree, it looks similar, but probably not identical. Same family of bug and area of the code though, almost definitely! I know post ndo changes, which isn't too far off, back to core he goes, and I would be happy to prod him a bit on this one.

Re: Chk services after host is up for x min (or other soluti

Posted: Wed Nov 26, 2014 10:52 am
by dariopalermo
Sorry for the late response, didn't have much time to spend on the matter. Anyway, it works if I put the 2 directives you pointed out, but doing so I'll have to define every single dependency, and that's a huge work to do and keep updated.

Bye

Re: Chk services after host is up for x min (or other soluti

Posted: Wed Nov 26, 2014 12:17 pm
by abrist
dariopalermo wrote:and that's a huge work to do and keep updated.
Yeah, though it may be the only feasible way to do this atm.