Wavefront Installation Instructions

How to Integrate Wavefront by VMware with BigPanda

Create an App Key

First create an App Key. You'll need a separate App Key for each integrated system.

Create a BigPanda Alert Target in Wavefront

1. In Wavefront, create a custom alert target

2. Name your alert target, e.g. Send to BigPanda and give it a useful description

3. Select which triggers should send a notification to BigPanda

4. Set Type to Webhook

5. Set URL to the custom URL from the BigPanda Integration Console

6. Set Content Type to application/json

7. Add the following custom headers:

NameValue
AuthorizationBearer $TOKEN

8. In the Body Template text area copy and paste the following template:

{
{{#setDefaultIterationLimit}}500{{/setDefaultIterationLimit}}
{{#setFailingLimit}}500{{/setFailingLimit}}
{{#setInMaintenanceLimit}}500{{/setInMaintenanceLimit}}
{{#setNewlyFailingLimit}}500{{/setNewlyFailingLimit}}
{{#setRecoveredLimit}}500{{/setRecoveredLimit}}
"app_key": "$YOUR_ID",
"alerts": [
{{#trimTrailingComma}}
{{#failingAlertSeries}}
{
"host" :  "{{#host}}{{{host}}}{{/host}}{{^host}}"unknown"{{/host}}",
"status": {{#severitySevere}}"critical"{{/severitySevere}}{{#severityWarn}}"warning"{{/severityWarn}}{{#severityInfo}}"info"{{/severityInfo}}{{#severitySmoke}}"smoke"{{/severitySmoke}},
"check": "{{#jsonEscape}}{{{name}}}{{/jsonEscape}}",
"description": "{{#jsonEscape}}{{{subject}}} {{{reason}}} [{{{severity}}}] {{{name}}}{{/jsonEscape}}\nMessage: \n{{#jsonEscape}}{{{errorMessage}}}{{/jsonEscape}}",
"additionalInformation": "{{#jsonEscape}}{{{additionalInformation}}}{{/jsonEscape}}",
"url": "{{{url}}}",
"alert_severity": "{{{severity}}}",
"condition": "{{#jsonEscape}}{{{condition}}}{{/jsonEscape}}",
"host_tags": "{{tags}}",
"alert_tags" : "{{#alertTags}}{{#jsonEscape}}{{{.}}}{{/jsonEscape}}|{{/alertTags}}",
"incident_identifier": "{{host}}__{{#jsonEscape}}{{{name}}}{{/jsonEscape}}__{{#jsonEscape}}{{{condition}}}{{/jsonEscape}}"
},
{{/failingAlertSeries}}
{{#recoveredAlertSeries}}
{
"host" : "{{host}}",
"status": "ok",
"check": "{{#jsonEscape}}{{{name}}}{{/jsonEscape}}",
"description": "{{#jsonEscape}}{{{subject}}} {{{reason}}} [{{{severity}}}] {{{name}}}{{/jsonEscape}}",
"additionalInformation": "{{#jsonEscape}}{{{additionalInformation}}}{{/jsonEscape}}",
"url": "{{{url}}}",
"alert_severity": "{{{severity}}}",
"condition": "{{#jsonEscape}}{{{condition}}}{{/jsonEscape}}",
"host_tags": "{{tags}}",
"alert_tags" : "{{#alertTags}}{{#jsonEscape}}{{{.}}}{{/jsonEscape}}|{{/alertTags}}",
"incident_identifier": "{{host}}__{{#jsonEscape}}{{{name}}}{{/jsonEscape}}__{{#jsonEscape}}{{{condition}}}{{/jsonEscape}}"
},
{{/recoveredAlertSeries}}
{{/trimTrailingComma}}
]
}

9. Click Save

Assign BigPanda Alert Target to Wavefront Alerts

1. Navigate to the Alerts browser in Wavefront

2. Locate an alert and click its name to open the edit screen

3. Under Target List enter your BigPanda alert target name

4. Select the alert target from the dropdown list

5. Click Save

6. Repeat steps 2 - 5 for all alerts you wish to send to BigPanda