Hi,

we are in the process of switching from our own SMS-Gateway to a
third-party service provider for Notifications. As our confidence in the
current setup is not quite good enough, we would like to delay the
notifications via SMS-Gateway for a couple of minutes (as a fall back
basically).

Unfortunately the Setup is tested by only one team, and we would like to
delay the notifications based on the team user.

Our configuration for the host notifications is currently:
> apply Notification "host_sms_notification" to Host {
>   import "host_sms_notification"
> 
>   interval = 30m // re-notification
> 
>   users = host.vars.notification.sms.users
>   assign where host.vars.notification.sms
> }

where the appropriate host might look like this:
> object Host "Hostname" {
>     import "generic-host"
>     display_name= "hostname"
>     address = "127.0.0.1"
>     vars.parent  = "not_defined"
>     groups  = ["all","a","b"]
>     vars.notification.mail.users = ["mail_teamuser1"]
>     vars.notification.sms.users = ["sms_teamuser1", "sms_teamuser2", 
> "sms_teamuser3"]
> }

We thought about setting the delay in the user:
> object User "sms_teamuser1" {
>     import "generic-user"
>     display_name = "sms_teamuser1"
>     vars.notification.times = {
>         begin = 10m
>     }
> }

But unfortunately this does not work.

Is there any other way, to set the notification delay for, say,
sms_teamuser1, without having to reconfigure all checks or having to
split the definitions of users?

Thanks for your help!

Cheers,

Tobias

-- 
Tobias Vollmer
Team Systems

idealo internet GmbH
Ritterstraße 11
10969 Berlin, Deutschland
E-Mail: tobias.voll...@idealo.de <mailto:tobias.voll...@idealo.de>
Geschäftsführer:
Dr. Albrecht von Sonntag, Dr. Philipp-Christopher Peitsch, Jörn Rehse
HRB 76749 – Amtsgericht Berlin-Charlottenburg

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to