[icinga-users] icinga 1 - service attached to hostgoup except hostnames starting with internal*

2017-02-02 Thread Jan Matis
Hi all, this is to my understanding quite easily achievable in icinga2 : (not tested, but this is where i'd start ) apply Service "app: tomcat" { import "generic-service" check_command = "nrpe" vars.nrpe_command = "check_tomcat" assign where "tomcats" in host.groups ignore where match("

Re: [icinga-users] icinga 1 - service attached to hostgoup except hostnames starting with internal*

2017-02-05 Thread Jan Matis
n exception of this rule and I wanted to avoid hard coding those exceptions into my "autoregister" script and just set them in services. Jan On Sun, Feb 5, 2017 at 1:35 PM, Assaf Flatto wrote: > On 02/02/17 18:32, Jan Matis wrote: > > Hi all, > > this is to my unde

Re: [icinga-users] icinga 1 - service attached to hostgoup except hostnames starting with internal*

2017-02-06 Thread Jan Matis
!internal* service_description app: tomcat check_command check_nrpe!check_tomcat } On Mon, Feb 6, 2017 at 8:33 AM, Assaf Flatto wrote: > On 06/02/17 10:22, Jan Matis wrote: > > :) I'll try once again: > > What I'm trying to achieve is se