Skip to content

An Zabbix bot for chat channels, like Matrix.org

License

Notifications You must be signed in to change notification settings

mpiscaer/zabbixBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zabbixBot

An Zabbix bot for chat channels, like Matrix.org

To send a alert, you use the command:

  • zabbixBot.py -a --room 'roomid' The messages got send via STDIN in a JSON form.

This json has to have the following variables: {"triggerStatus": "1", "host": "mgmt-test-01", "description": "test alert", "priority": "2"}

The zabbix action can have the following syntax: Problem: {"triggerStatus": "1", "host": "{HOSTNAME} ({IPADDRESS})", "description": "{TRIGGER.NAME}", "priority": "{TRIGGER.NSEVERITY}"}

Recovery: {"triggerStatus": "0", "host": "{HOSTNAME} ({IPADDRESS})", "description": "{TRIGGER.NAME}", "priority": "{TRIGGER.NSEVERITY}"}

About

An Zabbix bot for chat channels, like Matrix.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages