hubot-zabbix-ack-plugin

0.1.3 • Public • Published

Quickstart

docker run -it \
    -e ROCKETCHAT_URL=localhost:3000 \
    -e ROCKETCHAT_ROOM=''\
    -e LISTEN_ON_ALL_PUBLIC=true \
    -e ROCKETCHAT_USER=bot \
    -e ROCKETCHAT_PASSWORD=pass \
    -e ROCKETCHAT_AUTH=password \
    -e BOT_NAME=bot \
    -e ZABBIX_USER=Admin \
    -e ZABBIX_PASS=zabbix \
    -e ZABBIX_URL=localhost \
    -v $PWD/scripts:/home/hubot/scripts \
    --net="host" \
    rocketchat/hubot-rocketchat

Required variables for the script

  • ZABBIX_USER - User used by bot to login to Zabbix
  • ZABBIX_PASS - Pass used by bot to login to Zabbix
  • ZABBIX_URL - URL used by bot to determine the location of Your Zabbix frontend instance. It's in the form of "http://" + ZABBIX_URL + "/api_jsonrpc.php"

Usage

Simply type ack {hostName} to ack latest event from specified host

Package Sidebar

Install

npm i hubot-zabbix-ack-plugin

Weekly Downloads

2

Version

0.1.3

License

MIT

Last publish

Collaborators

  • matisse
  • vandavv