Forwards events to 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)))
Formats an event into a string
(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 settings room-name)
Sets up the room to send events too. Pass in the settings created with cf-settings and the room name