Librato
  • 06 May 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Librato

  • Dark
    Light
  • PDF

Article Summary

Librato Integration Guide

Librato‘s flagship product, Metrics, monitors the entire IT infrastructure and generates any desired data. Integrate AlertOps’ alert management platform with Librato to receive and respond to critical alerts through email, SMS, push notification, and phone alerts. AlertOps ensures that alerts received from Librato always reach the correct, available team member by utilizing escalation policies and on-call schedules.

 AlertOps Configuration

  1. From the main menu, click on Integrations and then select Inbound Integrations from the sub menu.
  2. Select API tab
  3. Select the 'ADD API INTEGRATION' button.
  4. You should now be on the API Integration Detail page. Select Librato from the pre-built Integration Templates.
  5. Enter a name for the integration. Select an escalation rule to determine the integration's escalation policy. 
  6. Enter the names of recipient group(s) and recipient user(s). Click 'SAVE.' Then, click 'COPY URL' to copy the URL endpoint to be used in the Librato configuration. 

Librato Configuration

Step 1: Create a webhook in Librato Click here to view Librato Webhook Documentation.

Sample Alert

{
 “alert”:
 {
 “id”:6350202,
 “name”:”production.myprodsite.sector.5xx_error_rate”,
“runbook_url”:”http://example.com/runbook.pdf”,
 “version”:2,
 “description”:”The production.myprodsite.sector 5xx_error_rate is high.”
 },
“account”:”my-accounts@mydomain.com”,
 “trigger_time”:1463542286,
 “conditions”:[
 {
 “id”:6189610,
 “type”:”above”,
 “threshold”:1,
 “summary_function”:”average”,
 “duration”:600
 }
 ],
 “violations”:
 {
 “test-source”:[
 {
 “metric”:”somehost.sector.5xxErrorRate”,
 “value”:43,
 “recorded_at”:1463542286,
 “condition_violated”:6189610
 }
 ]},
 “triggered_by_user_test”:true
 }

 Alert Triggering Information

AlertOps will automatically create an incident when a new alert is received from Librato with an IncidentStatus status of “alert.”

If an alert with status “alert” matches an existing Open Alert, AlertOps will recognize the new alert as a duplicate and ignore the alert. The alert will be recorded in the Inbound Messages table as “Mapped Appended.”

AlertOps will automatically close the same incident when an alert with an IncidentStatus status “clear” is received.

 Testing and Troubleshooting

Click here to read about Web API Testing and Troubleshooting. 


Was this article helpful?

What's Next
ESC

Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses