{"id":11549,"date":"2019-03-14T12:06:30","date_gmt":"2019-03-14T12:06:30","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11549"},"modified":"2019-03-14T12:06:30","modified_gmt":"2019-03-14T12:06:30","slug":"how-to-configure-zabbix-monitoring-to-send-email-alerts-to-gmail-account-part-2","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/how-to-configure-zabbix-monitoring-to-send-email-alerts-to-gmail-account-part-2\/","title":{"rendered":"How to Configure \u2018Zabbix Monitoring\u2019 to Send Email Alerts to Gmail Account \u2013 Part 2"},"content":{"rendered":"<p>If you are using\u00a0<strong>Zabbix<\/strong>\u00a0to monitor your infrastructure you might want to receive email alerts from your local domain somewhere on public internet domain, even if you don\u2019t own a valid registered internet domain name with a mail server which you can configure on your own.<\/p>\n<div id=\"attachment_15267\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-to-send-email-alerts.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15267\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-to-send-email-alerts-620x297.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-to-send-email-alerts-620x297.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-to-send-email-alerts.jpg 720w\" alt=\"Configure Zabbix Mail Alerts\" width=\"620\" height=\"297\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure Zabbix Mail Alerts \u2013 Part 2<\/p>\n<\/div>\n<p>This tutorial will briefly discuss you on how to setup\u00a0<strong>Zabbix<\/strong>\u00a0server to send mail reports to a\u00a0<strong>Gmail<\/strong>\u00a0address by using\u00a0<strong>SSMTP<\/strong>\u00a0program, without the need to install and configure any local\u00a0<strong>MTA<\/strong>\u00a0daemon, such as\u00a0<strong>Postfix<\/strong>,\u00a0<strong>Exim<\/strong>etc.<\/p>\n<h4>Requirements<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/install-and-configure-zabbix-monitoring-on-debian-centos-rhel\/\" target=\"_blank\" rel=\"noopener\">Install Zabbix Monitoring Server<\/a><\/li>\n<\/ol>\n<h3>Step 1: Install and Configure SSMTP<\/h3>\n<p><strong>1.<\/strong>\u00a0<strong>SSMTP<\/strong>\u00a0is a small software, which does not fulfill any of the functionality of a mail server, but only delivers emails from a local machine to an external email address on a\u00a0<strong>mailhub<\/strong>.<\/p>\n<p>To install\u00a0<strong>SSMTP<\/strong>\u00a0program alongside with\u00a0<strong>mailutils<\/strong>\u00a0package that you will use it to send mails, issue the following command on your\u00a0<strong>RedHat<\/strong>\u00a0and\u00a0<strong>Debian<\/strong>\u00a0like server:<\/p>\n<pre># yum install ssmtp mailx                    [On <strong>RHEL<\/strong>\/<strong>CentOS 7<\/strong>] \r\n$ sudo apt-get install ssmtp mailutils       [On <strong>Debian 8<\/strong>]\r\n<\/pre>\n<p><center><strong>2.<\/strong>\u00a0After the packages are installed on the system, configure\u00a0<strong>SSMTP<\/strong>\u00a0program to send local emails to your\u00a0<strong>Gmail<\/strong>account by opening the main configuration file for editing with your favorite text editor and root privileges and use the following parameter settings:<\/center><\/p>\n<pre># vi \/etc\/ssmtp\/ssmtp.conf                   [On <strong>RHEL<\/strong>\/<strong>CentOS 7<\/strong>]\r\n$ sudo nano \/etc\/ssmtp\/ssmtp.conf            [On <strong>Debian 8<\/strong>]\r\n<\/pre>\n<p><strong>SSMTP<\/strong>\u00a0settings for\u00a0<strong>GMAIL<\/strong>\u00a0account<\/p>\n<pre>root=gmail-username@gmail.com\r\nmailhub=smtp.gmail.com:587\r\nrewriteDomain=your_local_domain\r\nhostname=your_local_FQDN\r\nUseTLS=Yes\r\nUseSTARTTLS=Yes\r\nAuthUser=Gmail_username\r\nAuthPass=Gmail_password\r\nFromLineOverride=YES\r\n<\/pre>\n<div id=\"attachment_15252\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-Email-Alerts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15252\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-Email-Alerts-599x450.png\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-Email-Alerts-599x450.png 599w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-Email-Alerts.png 777w\" alt=\"Configure Zabbix Email Alerts\" width=\"599\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure Zabbix Email Alerts<\/p>\n<\/div>\n<h3>Step 2: Gmail Tests for Zabbix Email Alerts<\/h3>\n<p><strong>3.<\/strong>\u00a0On the next step it\u2019s time to send a local generated email to\u00a0<strong>Gmail<\/strong>\u00a0account by issuing the below command.<\/p>\n<pre># echo \"Body test email from 'hostname -f' \"| mail -s \"subject here\" gmail_user@gmail.com\r\n<\/pre>\n<div id=\"attachment_15253\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Gmail-Tests.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15253\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Gmail-Tests-620x148.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Gmail-Tests-620x148.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Gmail-Tests.png 740w\" alt=\"Gmail Tests\" width=\"620\" height=\"148\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Gmail Tests<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0Normally,\u00a0<strong>Gmail<\/strong>\u00a0prevents different types of authentications to their servers from your account, so, in case you get the error \u201c<strong>mail: cannot send message: Process exited with non-zero status<\/strong>\u201d, then login to your Gmail account from browser and navigate to the following link\u00a0<a href=\"https:\/\/www.google.com\/settings\/security\/lesssecureapps\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/www.google.com\/settings\/security\/lesssecureapps<\/a>\u00a0in order to allow access for less secure apps as in the following screen.<\/p>\n<div id=\"attachment_15254\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Manage-Secure-Gmail-Apps.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15254\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Manage-Secure-Gmail-Apps-620x268.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Manage-Secure-Gmail-Apps-620x268.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Manage-Secure-Gmail-Apps.png 741w\" alt=\"Manage Secure Gmail Apps\" width=\"620\" height=\"268\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Manage Secure Gmail Apps<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0After you have turned on\u00a0<strong>Less Secure Apps<\/strong>\u00a0feature on your\u00a0<strong>Gmail<\/strong>\u00a0account, run the above mail command again and verify your Inbox after a few seconds to check if the locally generated email has been successfully delivered \u2013 you should normally see the email has incoming from Gmail.<\/p>\n<div id=\"attachment_15255\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Mail-Delivery-Confirm.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15255\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Mail-Delivery-Confirm-620x249.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Mail-Delivery-Confirm-620x249.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Mail-Delivery-Confirm.jpg 741w\" alt=\"Mail Delivery Confirm\" width=\"620\" height=\"249\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Mail Delivery Confirm<\/p>\n<\/div>\n<h3>Step 3: Configure Zabbix Sendmail Script<\/h3>\n<p><strong>6.<\/strong>\u00a0Further, based on the\u00a0<code>$(which mail)<\/code>\u00a0command create the following Bash script to Zabbix\u00a0<strong>alertscripts<\/strong>directory with the following content and give it execute permissions:<\/p>\n<pre># vi \/usr\/local\/share\/zabbix\/alertscripts\/zabbix-sendmail            [On <strong>RHEL<\/strong>\/<strong>CentOS 7<\/strong>]\r\n$ sudo nano \/usr\/local\/share\/zabbix\/alertscripts\/zabbix-sendmail     [On <strong>Debian 8<\/strong>]\r\n<\/pre>\n<p>Script content:<\/p>\n<pre>#!\/bin\/bash\r\necho \"$3\" | \/usr\/bin\/mail -s \"$2\" $1\r\n<\/pre>\n<div id=\"attachment_15256\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Sendmail-Zabbix.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15256\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Sendmail-Zabbix-620x202.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Sendmail-Zabbix-620x202.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Sendmail-Zabbix.png 727w\" alt=\"Configure Sendmail Zabbix\" width=\"620\" height=\"202\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure Sendmail Zabbix<\/p>\n<\/div>\n<p>Next, set the execute permission on the script file.<\/p>\n<pre># chmod +x \/usr\/local\/share\/zabbix\/alertscripts\/zabbix-sendmail\r\n<\/pre>\n<p><strong>7.<\/strong>\u00a0Next, as previously, test the script functionality by sending a local\u00a0<strong>email to Gmail<\/strong>\u00a0account. The way to run the script with positional parameters is explained above:<\/p>\n<pre># \/usr\/local\/share\/zabbix\/alertscripts\/zabbix-sendmail gmail_username@gmail.com \"Subject here\" \"Body of the message here\"\r\n<\/pre>\n<div id=\"attachment_15257\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Linux-Send-Mail-to-Gmail-Account.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15257\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Linux-Send-Mail-to-Gmail-Account-620x71.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Linux-Send-Mail-to-Gmail-Account-620x71.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Linux-Send-Mail-to-Gmail-Account.png 746w\" alt=\"Send Mail to Gmail Account from Linux\" width=\"620\" height=\"71\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Send Mail to Gmail Account<\/p>\n<\/div>\n<p>Afterwards, verify\u00a0<strong>Gmail<\/strong>\u00a0Inbox and check if the new local message has arrived.<\/p>\n<div id=\"attachment_15258\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verify-Mail-Delivery.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15258\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verify-Mail-Delivery-620x263.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verify-Mail-Delivery-620x263.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verify-Mail-Delivery.jpg 740w\" alt=\"Verify Mail Delivery\" width=\"620\" height=\"263\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Verify Mail Delivery<\/p>\n<\/div>\n<h3>Step 4: Configure Zabbix to Send Alerts to Gmail<\/h3>\n<p><strong>8.<\/strong>\u00a0If the tests so far were successful, then you can move to next step and setup Zabbix to send generated email alerts to Gmail. First, login to Zabbix web interface and navigate to the following menu:\u00a0<strong>Administration<\/strong>\u00a0-&gt;\u00a0<strong>Media types<\/strong>\u00a0-&gt;\u00a0<strong>Create<\/strong>\u00a0media type.<\/p>\n<div id=\"attachment_15259\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Administration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15259\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Administration-620x238.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Administration-620x238.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Administration.png 743w\" alt=\"Zabbix Administration\" width=\"620\" height=\"238\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Zabbix Administration<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0On the next screen enter an arbitrary\u00a0<strong>Name<\/strong>\u00a0to uniquely identify for the script in the\u00a0<strong>Zabbix<\/strong>\u00a0configurations (in this example\u00a0<strong>Send-Email-Script<\/strong>\u00a0is used), choose\u00a0<strong>Script<\/strong>\u00a0as\u00a0<strong>Type<\/strong>\u00a0from the list and enter the name of the Bash script created earlier (<strong>zabbix-sendmail<\/strong>\u00a0used in this tutorial) to send email from command line (don\u2019t use the path for the script, only the script name). When you\u2019re done, hit the\u00a0<strong>Add<\/strong>\u00a0button below to reflect changes.<\/p>\n<div id=\"attachment_15260\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Create-Zabbix-Email-Alerts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15260\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Create-Zabbix-Email-Alerts-620x264.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Create-Zabbix-Email-Alerts-620x264.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Create-Zabbix-Email-Alerts.png 762w\" alt=\"Create Zabbix Email Alerts\" width=\"620\" height=\"264\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Create Zabbix Email Alerts<\/p>\n<\/div>\n<p><strong>10.<\/strong>\u00a0Further, let\u2019s configure an email address to which you will send Zabbix alerts. Go to\u00a0<strong>Profile<\/strong>\u00a0-&gt;\u00a0<strong>Media<\/strong>\u00a0-&gt;\u00a0<strong>Add<\/strong>and a new pop-up window should appear.<\/p>\n<p>Here, select the name of the script that you have earlier named (in this example\u00a0<strong>Send-Email-Script<\/strong>\u00a0is used) for\u00a0<strong>Type<\/strong>, enter the\u00a0<strong>Gmail<\/strong>\u00a0address to which you will send emails, choose the time period (week, hours) when email reports should be active for sending, choose the severity of the messages that you want to receive on your Gmail address, select\u00a0<strong>Enabled<\/strong>\u00a0as\u00a0<strong>Status<\/strong>\u00a0and hit the\u00a0<strong>Add<\/strong>\u00a0button to add the media. Finally hit the\u00a0<strong>Update<\/strong>\u00a0button to apply configuration.<\/p>\n<div id=\"attachment_15261\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-Mail-Alerts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15261\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-Mail-Alerts-620x417.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-Mail-Alerts-620x417.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-Zabbix-Mail-Alerts.png 730w\" alt=\"Configure Zabbix Mail Address\" width=\"620\" height=\"417\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure Zabbix Mail Address<\/p>\n<\/div>\n<div id=\"attachment_15262\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Update-Configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15262\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Update-Configuration-620x242.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Update-Configuration-620x242.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Update-Configuration.png 742w\" alt=\"Zabbix Update Configuration\" width=\"620\" height=\"242\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Zabbix Update Configuration<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0On the next step, enable the defult zabbix alerts by navigating to\u00a0<strong>Configuration<\/strong>\u00a0-&gt;\u00a0<strong>Actions<\/strong>, select as the\u00a0<strong>Event Source<\/strong>\u00a0\u2013 &gt;\u00a0<strong>Triggers<\/strong>\u00a0from the right menu and hit on\u00a0<strong>Disabled Status<\/strong>\u00a0in order to enable it. Repeat the step for\u00a0<strong>Event Source<\/strong>\u00a0\u2013 &gt;\u00a0<strong>Internal<\/strong>\u00a0or other custom created Actions and you\u2019re done.<\/p>\n<div id=\"attachment_15263\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Enable-Default-Zabbix-Mail-Alert.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15263\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Enable-Default-Zabbix-Mail-Alert-620x232.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Enable-Default-Zabbix-Mail-Alert-620x232.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Enable-Default-Zabbix-Mail-Alert.png 747w\" alt=\"Enable Default Zabbix Mail Alert\" width=\"620\" height=\"232\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Enable Default Zabbix Mail Alert<\/p>\n<\/div>\n<div id=\"attachment_15264\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Enabled-Actions.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15264\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Enabled-Actions-620x241.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Enabled-Actions-620x241.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Enabled-Actions.png 744w\" alt=\"Zabbix Enabled Actions\" width=\"620\" height=\"241\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Zabbix Enabled Actions<\/p>\n<\/div>\n<p>Wait for a while for\u00a0<strong>Zabbix<\/strong>\u00a0to start gather information and generate some reports, then verify your\u00a0<strong>Gmail Inbox<\/strong>and you should see some\u00a0<strong>Zabbix alerts<\/strong>\u00a0submitted so far.<\/p>\n<div id=\"attachment_15265\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Monitoring-Mail-Alerts.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15265\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Monitoring-Mail-Alerts-620x218.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Monitoring-Mail-Alerts-620x218.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Zabbix-Monitoring-Mail-Alerts.jpg 707w\" alt=\"Zabbix Monitoring Mail Alerts\" width=\"620\" height=\"218\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Zabbix Monitoring Mail Alerts<\/p>\n<\/div>\n<p>That\u2019s all! Although this guide was mainly focused on sending Zabbix alerts to a Gmail account using\u00a0<strong>Gmail SMTP<\/strong>\u00a0server as a mailhub, using the same configuration you can, also, push zabbix email alerts further to other valid internet email accounts by relying on Gmail to route your emails through SMTP servers.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/configure-zabbix-to-send-email-alerts-to-gmail\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are using\u00a0Zabbix\u00a0to monitor your infrastructure you might want to receive email alerts from your local domain somewhere on public internet domain, even if you don\u2019t own a valid registered internet domain name with a mail server which you can configure on your own. Configure Zabbix Mail Alerts \u2013 Part 2 This tutorial will &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/how-to-configure-zabbix-monitoring-to-send-email-alerts-to-gmail-account-part-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Configure \u2018Zabbix Monitoring\u2019 to Send Email Alerts to Gmail Account \u2013 Part 2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11549","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11549"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11549\/revisions"}],"predecessor-version":[{"id":11550,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11549\/revisions\/11550"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}