Skip to content

Instantly share code, notes, and snippets.

@ampledata
Created December 3, 2011 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ampledata/1428457 to your computer and use it in GitHub Desktop.
Save ampledata/1428457 to your computer and use it in GitHub Desktop.
'save and test notification' JSON
{
"node": {
"status": "running",
"provider_id": "pa931001",
"tags": ["agent"],
"color": "#fffffff",
"ipaddress": "1.2.3.4",
"id": "n1ad8bdcc9",
"name": "test",
"private_ips": [],
"public_ips": ["1.2.3.4"],
"details": {},
"provider_name": "Private",
"agent_state": "connected"
},
"account": "generic_account_name",
"severity": "WARNING",
"state_change": {
"current": {
"status": "Warning",
"duration": 3600.0,
"status_details": "",
"time": "1970-01-30T12:00:00"
}
},
"post_url": "http://xxx",
"check": {
"details": "Fake check details",
"type": "HTTP",
"id": "c0f71b251f",
"summary": "This check does not exist."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment