Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 879 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 879 Bytes

nsqadmin2hipchat.py

This is a reader for NSQ that takes in json messages of the format emitted by nsqadmin and posts them (in a human-friendly representation) to Hipchat. To use it, nsqadmin should be configured to post notifications to nsqd as described in its readme file. Everything offered as-is with no promise of success - good luck.

usage: nsqadmin2hipchat.py [-h] --hipchat-auth-token HIPCHAT_AUTH_TOKEN
                           --hipchat-room-id HIPCHAT_ROOM_ID --nsq-topic
                           NSQ_TOPIC [--nsq-channel NSQ_CHANNEL] [-v]
                           (--nsqd-tcp-address NSQD_TCP_ADDRESS | --nsqlookupd-http-address NSQLOOKUPD_HTTP_ADDRESS)