How to Configure ‘Zabbix Monitoring’ to Send Email Alerts to Gmail Account – Part 2

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Hosting referral link if you planning to start your blog ($3.82/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

36 Responses

  1. Joseph John says:

    Good article, but now Zabbix version is 3.2.X and setup they have given in Can you please update the contents for the latest zabbix version, this will help new comers..

    • Ravi Saive says:


      Thanks for notifying us about latest release of Zabbix 3.2.x, yes we will update the article to meet latest version, till then stay tuned to Tecmint.

  2. Matei Cezar says:

    In case you have issues with mail concerning different versions of Zabbix, please read their documentation at

  3. syam says:

    Hi i am using 2.4.8 version till step: 3, I able to see the mail notifications to my gmail account. In step:4 I have done the same steps but i unable to receive the mails. Zabbix not sending emails reporting msg “status: not sent. Can some one please help me.

  4. Hamilton Jimenez says:

    Since Zabbix 3.0 you must configure the Media Type to pass the parameters manually, they are not passed automatically as $1, $2 and $3 anymore so you need to add three parameters to the Media Type manually:


    if you don’t fix the media type like this, the script wont do anything.

  5. anoop vijayan maniankara says:

    This is awesome post! thanks !

  6. mana says:

    I have installed zabbix and done your configuration to send email, but when in your instruction you pass the $1, $2 and $3 parameters to the mail script?

  7. Balaraju says:

    Hi team
    Can we do sms alerts using http API.

  8. Daniel says:

    I have the same error.

    My Zabbix tell sending emails reporting msg “status: sent”.
    but i cant see the mail
    Can u help me?

    sorry for my english.

    • Matei Cezar says:

      It looks like your mail server is not configured propery to send or forward mails. Invastigate this issue further.

  9. Matei Cezar says:

    Go to Configuration — > Action and check if email setting are Enable and properly configured.

  10. Andrews says:

    I’m testing using command line and its works fine.
    But my Zabbix not sending emails reporting msg “status: not sent”.
    Can u help me?

    • Mike A. says:

      It’s the same problem I have now. Sending email via command line works but not in Zabbix. Did you come up with a solution or a way to trace where the problem is?


Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 202,035
  2. 9,267
  3. 38,621

Are you subscribed?