Skip to content

Bot signature

Ilya Ableev edited this page Nov 19, 2018 · 4 revisions

If you are using two or more zabbix servers with only one bot, you can mark messages from different servers by enabling signature in config file.

You can turn it off for one/multiple actions by using "zbxtg;signature_disable" in your action.

https://github.com/ableev/Zabbix-in-Telegram/issues/145:

Could be used in two ways:

  1. $ sudo -u zabbix ./zbxtg.py ableev "$(echo -en 'Last value: 59.33 % (21:26:18)\n\nzbxtg;graphs\n\nzbxtg;graphs_period:10800\nzbxtg;itemid:835871\nzbxtg;title:Zabbix Server - Zabbix escalator processes more than 75% busy\nzbxtg;signature:https://zabbix.localhost/')" test --debug
  2. $ sudo -u zabbix ./zbxtg.py ableev "$(echo -en 'Last value: 59.33 % (21:26:18)\n\nzbxtg;graphs\n\nzbxtg;graphs_period:10800\nzbxtg;itemid:835871\nzbxtg;title:Zabbix Server - Zabbix escalator processes more than 75% busy')" test --debug --signature https://zabbix.localhost

image