Hi
I have enabled both email and slack notifications but when testing the notifications are not being received.
Server: openSuSE 15.1 HyperV VM
I have tested on a user with superadmin privilege, enabling both notification types individually and concurrently.
For email:
I have followed instructions for email here
The server has another application (itop) that is successfully sending mail via postfix/phpmail
I have attempted to send and receive email from multiple email addresses including the one being used on itop, each with different domains.
I have searched the error log for any relevant messages /var/log/zabbix/zabbix_server.log - The only error i get seems to suggest a spam block but that is for all email addresses including the ones working in itop and my work mail, all of which are working fine.
Error from Administration > Media Types
Failed sending data to the peer: RCPT failed: 554
Error from zabbix log:
Failed to send email: wrong answer on RCPT TO "554 5.7.1 <workemail>: Recipient address rejected: Blocked by policy"
There are no errors in /var/log/mail(.err .warn .info)
For Slack
I have followed instructions for Slack here and here
I can successfully run curl and send a simple test as detailed in the Slack documentation:
curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' https://hooks.slack.com/services/webhookURL
I have adjusted the slack endpoint variable to match the webhook url as provided by slack and tried both the oauth tokens (xoxp and xoxb).
When testing the media type in Administration > Media Types I get a "Test successful" message but nothing comes through to Slack.
I cannot find any messages in the logs relating to the Slack notification - I've searched for terms slack media, hook xox and others, so unless I am not searching correctly, there is nothing there.
Any help in diagnosing this problem would be gratefully received.
I have enabled both email and slack notifications but when testing the notifications are not being received.
Server: openSuSE 15.1 HyperV VM
I have tested on a user with superadmin privilege, enabling both notification types individually and concurrently.
For email:
I have followed instructions for email here
The server has another application (itop) that is successfully sending mail via postfix/phpmail
I have attempted to send and receive email from multiple email addresses including the one being used on itop, each with different domains.
I have searched the error log for any relevant messages /var/log/zabbix/zabbix_server.log - The only error i get seems to suggest a spam block but that is for all email addresses including the ones working in itop and my work mail, all of which are working fine.
Error from Administration > Media Types
Failed sending data to the peer: RCPT failed: 554
Error from zabbix log:
Failed to send email: wrong answer on RCPT TO "554 5.7.1 <workemail>: Recipient address rejected: Blocked by policy"
There are no errors in /var/log/mail(.err .warn .info)
For Slack
I have followed instructions for Slack here and here
I can successfully run curl and send a simple test as detailed in the Slack documentation:
curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' https://hooks.slack.com/services/webhookURL
I have adjusted the slack endpoint variable to match the webhook url as provided by slack and tried both the oauth tokens (xoxp and xoxb).
When testing the media type in Administration > Media Types I get a "Test successful" message but nothing comes through to Slack.
I cannot find any messages in the logs relating to the Slack notification - I've searched for terms slack media, hook xox and others, so unless I am not searching correctly, there is nothing there.
Any help in diagnosing this problem would be gratefully received.