318ba3a50e
(imported from commit fe8e33241215ea880f7351c3c86b0fb546faf8d3)
22 lines
1 KiB
INI
22 lines
1 KiB
INI
define contact{
|
|
contact_name zulip
|
|
alias zulip
|
|
service_notification_period 24x7
|
|
host_notification_period 24x7
|
|
service_notification_options w,u,c,r
|
|
host_notification_options d,r
|
|
service_notification_commands notify-service-by-zulip
|
|
host_notification_commands notify-host-by-zulip
|
|
}
|
|
|
|
# Zulip commands
|
|
define command {
|
|
command_name notify-host-by-zulip
|
|
command_line /usr/local/share/humbug/integrations/nagios/nagios-notify-zulip --stream=nagios --type="$NOTIFICATIONTYPE$" --host="$HOSTADDRESS$" --state="$HOSTSTATE$" --output="$HOSTOUTPUT$" --long-output="$LONGHOSTOUTPUT$"
|
|
}
|
|
|
|
define command {
|
|
command_name notify-service-by-zulip
|
|
command_line /usr/local/share/humbug/integrations/nagios/nagios-notify-zulip --stream=nagios --type="$NOTIFICATIONTYPE$" --host="$HOSTADDRESS$" --service="$SERVICEDESC$" --state="$SERVICESTATE$" --output="$SERVICEOUTPUT$" --long-output="$LONGSERVICEOUTPUT$"
|
|
}
|