Comments on: How to Configure Zabbix to Send Email Alerts to Gmail Account – Part 2 https://www.tecmint.com/configure-zabbix-to-send-email-alerts-to-gmail/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 28 Oct 2021 08:09:38 +0000 hourly 1 By: Jens Pauwels https://www.tecmint.com/configure-zabbix-to-send-email-alerts-to-gmail/comment-page-1/#comment-1330643 Tue, 28 Apr 2020 09:05:20 +0000 http://www.tecmint.com/?p=15251#comment-1330643 In reply to djiman wabi.

Hello,

I also was not able to find that file on that location. Please check the server conf file at /etc/zabbix/zabbix_server.conf and look for ‘alertscripts‘ path.

My default folder was /usr/lib/zabbix/alertscripts for some reason.

]]>
By: djiman wabi https://www.tecmint.com/configure-zabbix-to-send-email-alerts-to-gmail/comment-page-1/#comment-1324625 Wed, 01 Apr 2020 21:57:07 +0000 http://www.tecmint.com/?p=15251#comment-1324625 Good Evening…

Please we do not understand how you could make the script file.

# vi /usr/local/share/zabbix/alertscripts/zabbix-sendmail [On RHEL / CentOS 7]
$ sudo nano/usr/local/share/zabbix/alertscripts / zabbix-sendmail [On Debian 8]
]]>
By: Andreas Geesen https://www.tecmint.com/configure-zabbix-to-send-email-alerts-to-gmail/comment-page-1/#comment-1314862 Wed, 05 Feb 2020 16:02:49 +0000 http://www.tecmint.com/?p=15251#comment-1314862 I stumbled onto this howto and was mildly irritated by the use of SSMTP but then for anybody using RedHat it might be harder to install the alternative Nullmailer.

In systems of the Debian family-like Raspi and Ubuntu, both are available. Nullmailer should be preferred because it is currently still maintained. In Red Hat’s descendants, you are more likely to find SSMTP. It has not been changed since 2014, although there are security concerns afaik.

While SSMTP dumps messages directly to the configured SMTP server and terminates immediately, Nullmailer works like a “real” mail server: The program uses a queue into which it accepts messages and which it processes regularly. Accordingly, a Nullmailer process runs permanently. Sending via Nullmailer is, therefore, more robust. SSMTP is more suitable as an extra in containers.

]]>
By: Rajesh https://www.tecmint.com/configure-zabbix-to-send-email-alerts-to-gmail/comment-page-1/#comment-1308333 Wed, 25 Dec 2019 09:13:15 +0000 http://www.tecmint.com/?p=15251#comment-1308333 Hi! The issue is: we are getting trigger alert emails as downloadable files. We need to download a file and then only we can see what is inside that file. We want alert as texts. Can anyone please help us out regarding this.

]]>
By: Kevin Stretch https://www.tecmint.com/configure-zabbix-to-send-email-alerts-to-gmail/comment-page-1/#comment-1098140 Wed, 30 Jan 2019 19:38:29 +0000 http://www.tecmint.com/?p=15251#comment-1098140 Could not get the old command to work with Office365. Try this one instead (don’t forget to add the command line arguments in the Zabbix dashboard)

/usr/bin/mail -s "$2" -r "HARDCODE_FROM_ADDRESS" "$1" <<< "$3"

]]>