-
Notifications
You must be signed in to change notification settings - Fork 72
Channels
In Inspeqtor you send alerts via a "channel", e.g. send alerts via <channel>
.
Configure Inspeqtor to send some or all alerts to your org's Slack chat room:
- Create a new
Incoming Webhook
integration on your Integrations page:https://$TEAMNAME.slack.com/services/new
. Note the URL for the created integration. - Add an entry to your
/etc/inspeqtor/inspeqtor.conf
for the integration:
send alerts to slack_room
via slack with url $URL, icon_emoji ghost
and then make it the owner or send specific alerts to it:
check service memcached with owner slack_room
if memory:rss > 100m then alert, restart
Or even make all alerts go to Slack by default:
send alerts
via slack with url $URL, icon_emoji ghost
Configure Inspeqtor to send some or all alerts to your org's Campfire chat room:
- Note your team name and Room ID in your campfire URL:
https://$TEAMNAME.campfirenow.com/room/$ROOMID
. - Go to the "My Info" page for the Campfire user you want Inspeqtor to use to speak in the room and note that user's API authentication token.
- Add an entry to your
/etc/inspeqtor/inspeqtor.conf
for the integration:
send alerts to campfire_room
via campfire with team $TEAMNAME, room $ROOMID, token $TOKEN
and then give it ownership or send specific alerts to it:
check service memcached with owner ops_campfire
if memory:rss > 100m then alert ops_campfire, restart
Or even make all alerts go to Campfire by default:
send alerts
via campfire with team $TEAMNAME, room $ROOMID, token $TOKEN
Configure Inspeqtor to send some or all alerts to your org's HipChat chat room:
- Note your Room ID by going to your Room's Chat History and look at the URL:
https://YOURORG.hipchat.com/history/room/$ROOMID
. - Create a Notification token for Inspeqtor using the v1 API page
https://YOURORG.hipchat.com/admin/api
. Note the token. - Add an entry to your
/etc/inspeqtor/inspeqtor.conf
for the integration:
send alerts to ops_room
via hipchat with room $ROOMID, token $TOKEN
and then give it ownership or send specific alerts to it:
check service memcached with owner ops_room
if memory:rss > 100m then alert ops_room, restart
Or even make all alerts go to HipChat by default:
send alerts
via hipchat with room $ROOMID, token $TOKEN
Configure Inspeqtor to send some or all alerts to your org's Flowdock chat room:
- Find the Flow API token for your Flow by going to Settings > Inbox Settings. Note the token.
- Add an entry to your
/etc/inspeqtor/inspeqtor.conf
for the integration:
send alerts to ops_flow
via flowdock with token $TOKEN
and then give it ownership or send specific alerts to it:
check service memcached with owner ops_flow
if memory:rss > 100m then alert ops_flow, restart
Or even make all alerts go to Flowdock by default:
send alerts
via flowdock with token $TOKEN
Open an issue to request support for other services.