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