riemann.campfire

Forwards events to Campfire

campfire

(campfire token ssl sub-domain room-name)

Creates an adaptor to forward events to campfire. The campfire event will contain the host, state, service, metric and description.

Tested with: (streams (by [:host, :service] (let [camp (campfire “token”, true, “sub-domain”, “room”)] camp)))

campfire_message

(campfire_message e)

Formats an event into a string

cf-settings

(cf-settings token ssl sub-domain)

Setup settings for campfire. Required information is your api-token, ssl connection true or false, and your campfire sub-domain.

room

(room settings room-name)

Sets up the room to send events too. Pass in the settings created with cf-settings and the room name