I have integrated slack notification using the link below
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
However, i would like to add the $HOSTNOTESURL$ as another field. But it doesnt seem to work
Code: Select all
./slack_nagios.pl -field slack_channel=#nagios -field HOSTALIAS="$HOSTNAME$" -field HOSTSTATE="$HOSTSTATE$" -field NOTESURL="$HOSTNOTESURL$"
Host ‘Linux-Test-ninobenamy’ is UP:
SSH OK - OpenSSH_7.4 (protocol 2.0)
Thanks,
Nino