I'm trying to get my Zabbix to trigger Slack messages using the Slack Webhook from github, it works when i use the Test link, but the triggers dont send messages to slack channel. I see in the script it does a try/catch and sends a log entry with the error from slack, but i cant seem to find where that log is located? I checked /var/log/zabbix/zabbix_server.log and it's not in there. Also set debug level to 4 and it's still not logging it there.
Code:
catch (error) {
Zabbix.log(4, '[ Slack Webhook ] Slack notification failed : ' + error);
throw 'Slack notification failed : ' + error;
}
Comment