Skip to content
Integration between zabbix & Rocket.Chat
Shell
Branch: master
Clone or download

Latest commit

Trikke76 Delete Zabbix Action Example.png
replaced with new screenshots
Latest commit a17c065 Sep 6, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Configuration_of_Operations.png Add files via upload Sep 6, 2019
Configuration_of_Recovery.png Add files via upload Sep 6, 2019
Configuration_of_media_types.png Add files via upload Sep 6, 2019
Configuration_of_update.png Add files via upload Sep 6, 2019
Configuration_of_users.png Add files via upload Sep 6, 2019
README Update README Sep 6, 2019
rocketchat.sh Update rocketchat.sh Sep 6, 2019

README

# HOW TO #

* Create a new channel in Rocket.Chat and copy the token

* Copy the script to the alertscript path

* Create a new media type with the name of the script
$1 = {ALERT.SENDTO} 
$2 = {ALERT.SUBJECT}
$3 = {ALERT.MESSAGE}

* Add media to the correct user
type : rocketchat script
send to: the token of the rocketchat channel

* Create the action in Zabbix

** Operation:
Default subject: {TRIGGER.STATUS}
Default message: {EVENT.NAME} ({TRIGGER.SEVERITY}) on {HOST.HOST}

** Recovery Operation
Default subject: {TRIGGER.STATUS}
Default message: {EVENT.NAME} ({TRIGGER.SEVERITY}) on {HOST.HOST}

** Update Operations
Default subject: UPDATE
Default message: {USER.FULLNAME} acknowledged problem at {ACK.DATE} {ACK.TIME} with the following message: {ACK.MESSAGE}. {EVENT.NAME} ({TRIGGER.SEVERITY}) on {HOST.HOST}

!! (make sure it fits on 1 line no enters, rocketchat will not like it and refuse to print anything) !!

You can’t perform that action at this time.