define contact{ contact_name matrix alias matrix 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-matrix host_notification_commands notify-host-by-matrix } define command { command_name notify-host-by-matrix command_line /etc/nagios/push-notification.sh "$HOSTNAME$" "$HOSTADDRESS$" 'Host' "$HOSTSTATE$" "$HOSTOUTPUT$" "$NOTIFICATIONCOMMENT$" } define command { command_name notify-service-by-matrix command_line /etc/nagios/push-notification.sh "$SERVICEDISPLAYNAME$" "$HOSTADDRESS$" "$SERVICEDESC$" "$SERVICESTATE$" "$SERVICEOUTPUT$" "None." }