mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-05 02:20:51 +08:00
Bug fixes.
This commit is contained in:
@@ -86,13 +86,13 @@ define command{
|
||||
# 'host-notify-by-fedmsg' command definition
|
||||
define command{
|
||||
command_name host-notify-by-fedmsg
|
||||
command_line /usr/bin/echo {"type": "$NOTIFICATIONTYPE$", "host": "$HOSTALIAS$", "state": "$HOSTSTATE$", "host_ack_author": "$HOSTACKAUTHOR$", "service_ack_author": $SERVICEACKAUTHOR$"} | fedmsg-logger --cert-prefix nagios --modname nagios --topic host.state.change
|
||||
command_line /usr/bin/echo '{"type": "$NOTIFICATIONTYPE$", "host": "$HOSTALIAS$", "state": "$HOSTSTATE$", "host_ack_author": "$HOSTACKAUTHOR$", "service_ack_author": "$SERVICEACKAUTHOR$"}' | fedmsg-logger --cert-prefix nagios --modname nagios --topic host.state.change --json-input
|
||||
}
|
||||
|
||||
# 'notify-by-fedmsg' command definition
|
||||
define command{
|
||||
command_name notify-by-fedmsg
|
||||
command_line /usr/bin/echo {"type": "$NOTIFICATIONTYPE$", "host": "$HOSTALIAS$", "state": "$SERVICESTATE$", "host_ack_author": "$HOSTACKAUTHOR$", "service_ack_author": $SERVICEACKAUTHOR$"} | fedmsg-logger --cert-prefix nagios --modname nagios --topic service.state.change
|
||||
command_line /usr/bin/echo '{"type": "$NOTIFICATIONTYPE$", "host": "$HOSTALIAS$", "state": "$SERVICESTATE$", "host_ack_author": "$HOSTACKAUTHOR$", "service_ack_author": "$SERVICEACKAUTHOR$"}' | fedmsg-logger --cert-prefix nagios --modname nagios --topic service.state.change --json-input
|
||||
}
|
||||
|
||||
# 'notify-by-xmpp' command definition
|
||||
|
||||
Reference in New Issue
Block a user