Skip to content

Zabbix's alertscript send alert message to ChatWork. This script works under Ruby 1.8.7.

License

Notifications You must be signed in to change notification settings

tamano/zabbix-chatwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zabbix-chatwork (prototype)

IMPORTANT: This script is prototype. It's not well tested and have a lack of error-solving-code.

Zabbix's alertscript send alert message to ChatWork. This script works under Ruby 1.8.7.

Works on

  • CentOS 5.5
  • Ruby 1.8.7

How To Use

Just install it.

$ cd /etc/zabbix/alertscripts/       # This path depends on zabbix_server.conf
$ git clone https://github.com/tamano/zabbix-chatwork.git

Then, configure Zabbix's alertscripts as it should be. The Send To of media, should be like this ChatWorkAPIToken:RoomId(Seperated with :). And it's all done!

tips

For testing purposed, this script can be executed on bash like this.

$ ruby /etc/zabbix/alertscripts/zabbix-chatwork/zabbix-chatwork.rb TOKEN:ROOMID TITLE MESSAGE

About

Zabbix's alertscript send alert message to ChatWork. This script works under Ruby 1.8.7.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages