Hi.

I'm trying to make the notifications which Icinga2 sends out as useful as 
possible.

For the DOWNTIMESTART Notification, I can include who set the downtime by using 
$notification.author$ and I can include the comment they added by using 
$notification.comment$

I'd also like to be able to add either the downtime duration or the downtime 
end time.

What variable name do I need to be able to include either of those in the 
downtime notification messages?

The documentation about Downtime objects looks like they should have 
start_time, end_time and duration attributes, as well as author and comment, 
but I can't seem to work out how to reference the Downtime object when I'm 
processing a DOWNTIMESTART Notification.

Any ideas?


Thanks,


Antony.

-- 
Ramdisk is not an installation procedure.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to