statuspage-notifications-user-configuration.conf.template 873 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
template Notification "statuspage-notifications-user-configuration" {
    import "statuspage-notifications-default-configuration"

    vars.statuspage_notifications_api_url = "<YOUR STATUSPAGE.IO API URL>, e.g. https://api.statuspage.io/v1/pages/PAGE_ID"
    vars.statuspage_notifications_api_key = "<YOUR STATUSPAGE.IO API KEY>, e.g. some-long-hash"
    vars.statuspage_notifications_component_dictionary = { "component-name": "component-id" }
    vars.statuspage_notifications_icinga2_base_url = "<YOUR ICINGA2 BASE URL>, e.g. http://icinga-web.yourcompany.com/icingaweb2"
}

template Notification "statuspage-notifications-user-configuration-hosts" {
    import "statuspage-notifications-default-configuration-hosts"
}

template Notification "statuspage-notifications-user-configuration-services" {
    import "statuspage-notifications-default-configuration-services"
}