Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Zabbix not able to send email alerts.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 457
Location: India

PostPosted: Fri Mar 15, 2019 4:23 am    Post subject: Zabbix not able to send email alerts. Reply with quote

Hi Experts, I recently installed zabbix server using emerge and all is working fine except it is not able to send email alerts. When I enable media and configure it for emails, I see the below error on the Dashboard next to the alert -

Quote:
Support for SMTP Authentication was not compiled in.


I tried USE="cyrus-sasl" emerge zabbix as below -

Quote:
# USE="cyrus-sasl" emerge -a zabbix

* IMPORTANT: 20 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

* Last emerge --sync was 37d 3h 45m 28s ago.

* IMPORTANT: config file '/etc/portage/package.use' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R *] net-analyzer/zabbix-4.0.2 USE="-snmp*"

Would you like to merge these packages? [Yes/No]



But the error remains the same.

Quote:
I am able to send alert emails with using sendmails from other applications but it does not work from Zabbix.

Need your help in getting over this, I am completely out of ideas . Thanks for all your help in advance.
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Thu Mar 21, 2019 1:29 am    Post subject: Reply with quote

hey manu_leo!

you need to enable the curl USE flag in order to have emailing working on a zabbix server...

btw, if you would have googled "Support for SMTP Authentication was not compiled in" you would have got a hint about what's wrong some days before than this reply. :roll:
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 457
Location: India

PostPosted: Thu Mar 28, 2019 11:40 am    Post subject: Reply with quote

Thanks Skunk, its now resolved, what I was trying to do is USE="cyrus-sasl" becasue curl thing never came in my mind. I read through multiple articles and all said that the curl version should be min X , but no where it said that I need to compile zabbix with curl.

Thanks anyways for all your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum