Switch to SERVICESTATE instead of HOSTSTATE in notify.cfg
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
This commit is contained in:
parent
bb377670ce
commit
c2b5cf45ac
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ define command{
|
|||
# 'notify-by-matrixbot' command definition
|
||||
define command{
|
||||
command_name notify-by-matrixbot
|
||||
command_line /usr/bin/echo '{"notificationtype": "$NOTIFICATIONTYPE$", "hostname": "$HOSTNAME$", "servicedesc": "$SERVICEDESC$", "servicestate": "$HOSTSTATE$", "serviceoutput": "$HOSTOUTPUT$", "hostackauthor": "$HOSTACKAUTHOR$", "serviceackauthor": "$SERVICEACKAUTHOR$"}' | /usr/local/bin/matrix-notify.sh true
|
||||
command_line /usr/bin/echo '{"notificationtype": "$NOTIFICATIONTYPE$", "hostname": "$HOSTNAME$", "servicedesc": "$SERVICEDESC$", "servicestate": "$SERVICESTATE$", "serviceoutput": "$SERVICEOUTPUT$", "hostackauthor": "$HOSTACKAUTHOR$", "serviceackauthor": "$SERVICEACKAUTHOR$"}' | /usr/local/bin/matrix-notify.sh true
|
||||
}
|
||||
|
||||
# 'host-notify-by-fedmsg' command definition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue