Come join our live training webinar every other Wednesday at 11am PST and hear LogicMonitor experts explain best practices and answer common questions. We understand these are uncertain times, and we are here to help!
Group Chat Tools, such as 37Signals Campfire have been adopted by many companies for communication management. It is straightforward to configure LogicMonitor to deliver alerts to group chat rooms via a Custom HTTP Alert Delivery Method.
A good use of this integration is to both avoid email alert overload, and to increase responsiveness to an alert. Having alerts sent to Campfire requires:
NOTE: We recommend that you make a separate campfire user named LogicMonitor which you will use to log in when generating the authentication token. This user will be the one shown as speaking the alerts into the room, and that user will not receive the alert in the chatroom unless they refresh the page.
Obtain a Campfire “Auth Token”
Login to Campfire from your web browser. From your home page click the “My Info” link at the top right. The token will be on this page.
The only other information that you will need from Campfire is the URL for the room you want to be alerted in, which you can copy directly from your browser while in the relevant room. For example:
That’s all we need from Campfire. Now on to getting it into LogicMonitor!
The Auth Token will be be used by a LogicMonitor Custom HTTP Alert Delivery Method to route the alerts into Campfire. While you could hardcode it directly into the Custom HTTP Alert Delivery Method, it is a better practice to define it as a Property within LogicMonitor, just as you would set other authentication credentials such as an SNMP community or a MySQL password.
The properties we will be setting are:
This property corresponds to the “Auth Token” gathered earlier from Campfire.
From the “Devices” tab in LogicMonitor, select Manage at the account level (click the company name in the navigation pane) and set the properties:
Add a custom HTTP alert delivery method from Settings | Integrations | Add | Custom HTTP Delivery Method:
The fields are set as follows:
The Custom HTTP Alert Delivery Method you just created (“to_Campfire_TechOps” in our example) is now a new alert destination for any user. For the purpose of Campfire, you will simply want to add one user with this new alert destination to any escalation chain in which you want a message to a Campfire room to be part of the chain. In the example below, we chose the user Bill. The only difference in using different users is if a reference is made to the “##ADMIN##” token in the Alert Data. If that token is present, than the user for which the alert is being generated will be substituted. In this case we are not referencing ##ADMIN##, so any active user will work:
Any alert that hits the “CampfireErrors” escalation chain (following the routing of the defined rules) will now send an alert message to the specified Campfire room (“TechOps: in our example)
In This Article