From 6f78c54e4f28ee8ed9ea5ed479656628620dd8f7 Mon Sep 17 00:00:00 2001 From: Dmitry Ibragimov Date: Sat, 20 Feb 2016 13:45:06 +0300 Subject: [PATCH] Update README.md Add Zabbix 3.0 examples, add /tmp folder rights known issue --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 37db684..7b6113e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,13 @@ Rate on [share.zabbix.com](https://share.zabbix.com): https://share.zabbix.com/c * Add new media for Telegram in Zabbix web interface with these settings: - + * If you use Zabbix 3.0, add following script parameters: +``` +{ALERT.SENDTO} +{ALERT.SUBJECT} +{ALERT.MESSAGE} +``` + * Add another one if you want to send messages to the group @@ -86,4 +92,11 @@ You can use markdown in your action: https://core.telegram.org/bots/api#using-ma If you see this error, it means that you rich the limit of caption with 200 symbols in it (Telegram API's limitaion). Such captions will be automatically cut to 200 symbols. +#### Zabbix don't send messages +If you successfully sent messages form console directly, you may need to check user rights to /tmp/zbxtg folder. User zabbix need to write access here: + +```chown -R zabbix:zabbix /tmp/zbxtg``` + +Or just delete this folder, zabbix will create this folder with first alert. + -