[icinga-users] custom notification method for some service

2017-01-16 Thread Anton Gorlov
Hello. What right way to set custom notification methon for some services? Not for host globally ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users

[icinga-users] Create Endpoint & Zone for each host

2017-01-16 Thread Volker Janzen
Hi, I like to simplify adding new hosts to my top-down config sync setup. Currently, I need to add Endpoint & Zone entries for each host to my zones.conf file by hand. I found a config snippet that suggested to add a host template like this: /etc/icinga2/zones.d/global-templates/generic-agent.

Re: [icinga-users] Create Endpoint & Zone for each host

2017-01-16 Thread Paré , Caroline
Hello, Can you delete my address in your list. I have already unsubscribed and it seems it doesn't work... Regards, Merci et bonne journée! Caroline Paré | (418) 266-6656 # 24705 Chargée de projets et Responsable des systèmes Linux et du Laboratoire Direction des technologies de l'information (

Re: [icinga-users] custom notification method for some service

2017-01-16 Thread Volker Janzen
Hi, > What right way to set custom notification methon for some services? Not > for host globally I think you can use an apply Notification: apply Notification "mail-icingaadmin" to Service { import "mail-service-notification" user_groups = host.vars.notification.mail.groups users = host.

[icinga-users] Problem: puppetdb + hiera + example3 = zone.pp -> ... is not an array. It looks to be a String at ... zone.pp:51

2017-01-16 Thread Denny Fuchs
hi, I try to get the example3 working: https://github.com/Icinga/puppet-icinga2-rewrite/tree/master/examples/example3 The problem is the error message from puppet agent: Error: Could not retrieve … on Server „mon.example.com“ is not an Array. It looks to be a string at …. object/zone.pp:51 on

Re: [icinga-users] custom notification method for some service

2017-01-16 Thread Volker Janzen
Hi, sorry, I hit sent before finishing my sentence > You need to set the assign where rule according to your needs, e.g. use a custom variable that you add to all services you want to have a special notification. Regards Volker ___ icinga-users

Re: [icinga-users] Problem: puppetdb + hiera + example3 = zone.pp -> ... is not an array. It looks to be a String at ... zone.pp:51

2017-01-16 Thread Denny Fuchs
hi, while searching .. I found the same problem on dev.icinga.com: https://dev.icinga.com/issues/1 We have Puppet 3.8.5 (Jessie backports). Any suggestions ? cu denny ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.ici

Re: [icinga-users] Problem: puppetdb + hiera + example3 = zone.pp -> ... is not an array. It looks to be a String at ... zone.pp:51

2017-01-16 Thread David Raison
Ha, great, look who created that one... I didn't even remember this. But that's definitely something we should add to the puppet module example's Readme. Thanks for digging this up. On January 17, 2017 8:46:12 AM GMT+01:00, Denny Fuchs wrote: >hi, > >while searching .. I found the same proble