2013-02-13 22:19:08 +01:00
|
|
|
define contact{
|
|
|
|
contact_name humbug
|
|
|
|
alias humbug
|
|
|
|
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-humbug
|
|
|
|
host_notification_commands notify-host-by-humbug
|
|
|
|
}
|
|
|
|
|
2013-08-06 21:32:15 +02:00
|
|
|
# Zulip commands
|
2013-02-13 22:19:08 +01:00
|
|
|
define command {
|
|
|
|
command_name notify-host-by-humbug
|
|
|
|
command_line /usr/local/share/humbug/integrations/nagios/nagios-notify-humbug --stream=nagios --type="$NOTIFICATIONTYPE$" --host="$HOSTADDRESS$" --state="$HOSTSTATE$" --output="$HOSTOUTPUT$" --long-output="$LONGHOSTOUTPUT$"
|
|
|
|
}
|
|
|
|
|
|
|
|
define command {
|
|
|
|
command_name notify-service-by-humbug
|
|
|
|
command_line /usr/local/share/humbug/integrations/nagios/nagios-notify-humbug --stream=nagios --type="$NOTIFICATIONTYPE$" --host="$HOSTADDRESS$" --service="$SERVICEDESC$" --state="$SERVICESTATE$" --output="$SERVICEOUTPUT$" --long-output="$LONGSERVICEOUTPUT$"
|
|
|
|
}
|