Ad Widget

Collapse

mail: No recipients specified (Zabbix email send through gmail error)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Franca
    Junior Member
    • Aug 2018
    • 9

    #1

    mail: No recipients specified (Zabbix email send through gmail error)

    Hey everyone
    I am having trouble to configure the email sending correctlly in Zabbix 3.4
    I am following this tutorial https://www.tecmint.com/configure-za...erts-to-gmail/
    Everything is working just fine, I can send emails through the terminal with no error at all.
    All the options on Zabbix were configured correctly (Media type, Users, Actions and the script is at the correct place).
    But when an action try to send an email I am having this error ( mail: No recipients specified ) and no email is send at all.
    Does anyone knows how to get this fixed?

    Many thanks.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Have you specified arguments in media settings?
    The referenced page seems to be a procedure with the old version of Zabbix(2.4.5).
    From Zabbix 3.0, in order to pass the same value as the old version as the argument, you need to explicitly specify the argument in the media setting.

    Please try add setting {ALERT.SENDTO}, {ALERT.SUBJECT} and {ALERT.MESSAGE} for Script parameters.

    Comment


    • Peter Franca
      Peter Franca commented
      Editing a comment
      Atsushi,

      That's what it is!
      Your are a Legend!
      I am a novice with Zabbix. I did not notice that I had to include the arguments on Media Types, everything is working now.

      Thanks for that, I can now keep with my studies.

Working...