From ad78d9f90f7a30d900faafa82a23cab8a86978fb Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 14 Dec 2015 21:13:08 +0000 Subject: [PATCH] Bug fixes. --- roles/nagios_server/files/nagios/misccommands.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nagios_server/files/nagios/misccommands.cfg b/roles/nagios_server/files/nagios/misccommands.cfg index eb6e4362c6..1ca641cd71 100644 --- a/roles/nagios_server/files/nagios/misccommands.cfg +++ b/roles/nagios_server/files/nagios/misccommands.cfg @@ -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