Hi Patric,

Many thanks, We tested with one dummy user and then it runs perfect :)

Kind Regards,

Christian Moreno

Christian Moreno Moreno
System Engineer Offers

idealo internet GmbH
Ritterstraße 11
10969 Berlin, Deutschland
Tel.: +49 (0)30 40 30 10 33
Fax: +49 (0)30 221 94 33 - 21
E-Mail: [email protected]
Geschäftsführer:
Dr. Albrecht von Sonntag, Dr. Philipp-Christopher Peitsch
HRB 76749 – Amtsgericht Berlin-Charlottenburg
[image: idealo Logo] <http://www.idealo.de/>





2017-01-31 12:00 GMT+01:00 <[email protected]>:

> Send icinga-users mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.icinga.org/mailman/listinfo/icinga-users
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of icinga-users digest..."
>
>
> Today's Topics:
>
>    1.  notifications Problems after upgrade 2.4 -> 2.6 (Stiffel Patric)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 31 Jan 2017 08:46:19 +0000
> From: Stiffel Patric <[email protected]>
> To: "[email protected]" <[email protected]>
> Subject: [icinga-users]  notifications Problems after upgrade 2.4 ->
>         2.6
> Message-ID:
>         <[email protected].
> eurodata.de>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >Message: 5
> >Date: Tue, 31 Jan 2017 09:35:37 +0100
> >From: Christian Moreno Moreno <[email protected]>
> >To: [email protected]
> >Subject: [icinga-users] notifications Problems after upgrade 2.4 ->
> >       2.6
> >Message-ID:
> >       <CAHCD4S_mFeriUXWLS+YZ2S8+ZT5rz_ZCieULqY==_2UdUqOnQQ@
> mail.gmail.com>
> >Content-Type: text/plain; charset="utf-8"
> >
> >Hi,
> >
> >We did one upgrade from icinga2.4 to 2.6 (inclusive icingaweb2), but we
> >have Problems with the notifications templates.
> >
> >We have configured in our hosts and services theses variables for the
> >notifications:
> >
> >vars.notification.mail.users = "[email protected]"
> >vars.notificaton.sms.users = "operations_sms"
> >
> >and our notifications.conf was something like:
> >
> >FOR MAIL:
> >
> >apply Notification "mail-icingaadmin" to Host {
> >  import "mail-host-notification"
> >
> >  interval = 0 // re-notification disabled
> >
> >  users = host.vars.notification.mail.users
> >
> >  assign where host.vars.notification.mail
> >}
> >
> >apply Notification "mail-icingaadmin" to Service {
> >  import "mail-service-notification"
> >
> >
> >  users = host.vars.notification.mail.users
> >  if (service.vars.notification.mail.users != "" ) {
> >        users = service.vars.notification.mail.users
>
> Same here. We used the same approach to model exceptions in the
> notifications.
> At last, we had to introduce a dummy user/group instead of the empty
> string.
> Somehow, there didn't seem to be a check for empty string before V2.6
>
> Kind regards
>
> Patric Stiffel
> Administrator NOC
> NOC - Network Operation Center
>
> eurodata AG | Gro?blittersdorfer Str. 257-259 | D-66119 Saarbr?cken
> Telefon +49 681 8808 0 | Telefax +49 681 8808 300
> [email protected] | www.eurodata.de | www.facebook.com/eurodata.de
>
> HRB 101336 Amtsgericht Saarbr?cken | USt-IdNr. DE 182634634
> Aufsichtsratsvorsitzender: Franz-Josef Wernze
> Vorstand: Uwe Richter (Vorsitzender), Dieter Leinen
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
> ------------------------------
>
> End of icinga-users Digest, Vol 37, Issue 32
> ********************************************
>
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to