Skip to content

Instantly share code, notes, and snippets.

@estib
Created July 14, 2016 19:48
Show Gist options
  • Save estib/2cef1f1e8cafdd100f180f140ee4bc4a to your computer and use it in GitHub Desktop.
Save estib/2cef1f1e8cafdd100f180f140ee4bc4a to your computer and use it in GitHub Desktop.
Code I ran:
# queried the last week's worth of events from a test account
resp = api.Event.query(start=start_t, end=end_t, priority="normal")
for each in resp['events']:
print each
print '\n\n\n'
# to tidy up:
for each in resp['events']:
print 'is_aggregate:', each['is_aggregate'], 'date_happened', each['date_happened'], 'title', each['title']
_______
Output:
-------
{'date_happened': 1468462871, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host', 'url': '/event/event?id=3425907601102083772', 'text': u'%%%\nWent critical on host:\n\nTest was below 1 during the last 5 minutes. This is on host {{host.name}}\n\n- - -\n\n[[Monitor Status](/monitors#519901?)] \xb7 [[Edit Monitor](/monitors#519901/edit)]\n%%%', 'tags': ['host:', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3425907601102083772, 'resource': '/api/v1/events/3425907601102083772', 'children': [{'date_happened': 1468462871, 'alert_type': 'success', 'id': '3425907597444650683'}, {'date_happened': 1468463163, 'alert_type': 'error', 'id': '3425912495703856896'}, {'date_happened': 1468465231, 'alert_type': 'success', 'id': '3425947194274879974'}, {'date_happened': 1468465529, 'alert_type': 'error', 'id': '3425952185781852770'}, {'date_happened': 1468520553, 'alert_type': 'success', 'id': '3426875347864392280'}, {'date_happened': 1468520851, 'alert_type': 'error', 'id': '3426880342508704437'}]}
{'date_happened': 1468520547, 'alert_type': 'user_update', 'handle': '[email protected]', 'title': None, 'url': '/event/event?id=3426875237570973697', 'text': 'This is a test event #test', 'tags': ['test'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Users', 'host': None, 'is_aggregate': False, 'resource': '/api/v1/events/3426875237570973697', 'id': 3426875237570973697}
{'date_happened': 1468458555, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Network Check Test Group is 25% down or more is ok on 1 *', 'url': '/event/event?id=3425835194379147181', 'text': u'%%%\n`http.can_connect` recovered on *\n\nNetwork Check Test Group is 25% down or more.\n\nInfo:\n\nurl_name: {{url.name}} \ninstance_name: {{instance.name}} \nhost_ip: {{host.ip}} \nhost_name: {{host.name}} \n\nExtra:\nhost_test-group-1: {{host.test-group-1}} \nhost_tester1: {{host.tester1}}\n\n- - -\n\n[[Monitor Status](/monitors#608683?)] \xb7 [[Edit Monitor](/monitors#608683/edit)]\n%%%', 'tags': ['monitor', 'type:test_tag'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3425835194379147181, 'resource': '/api/v1/events/3425835194379147181', 'children': [{'date_happened': 1468458555, 'alert_type': 'error', 'id': '3425835191543797676'}, {'date_happened': 1468463596, 'alert_type': 'error', 'id': '3425919770388601755'}, {'date_happened': 1468465354, 'alert_type': 'error', 'id': '3425949257486572674'}, {'date_happened': 1468503397, 'alert_type': 'success', 'id': '3426587513450401851'}, {'date_happened': 1468514879, 'alert_type': 'error', 'id': '3426780148655986117'}, {'date_happened': 1468514932, 'alert_type': 'success', 'id': '3426781036674029001'}, {'date_happened': 1468520098, 'alert_type': 'error', 'id': '3426867703292366934'}, {'date_happened': 1468520155, 'alert_type': 'success', 'id': '3426868670935076957'}]}
{'date_happened': 1468457059, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] Test', 'url': '/event/event?id=3425810089859096497', 'text': u'%%%\nTest\n\n\n\n[![Metric Graph](https://p.datadoghq.com/snapshot/view/dd-snapshots-prod/org_45021/2016-07-14/b974443cb713c06f05fd0193021917affd45989b.png)](/monitors#469391?to_ts=1468520040000&from_ts=1468518840000)\n\n**system.load.1** over **\\*** was **<= 10.0** at all times during the **last 5m**.\n\nThe monitor was last triggered **2 mins ago**.\n\n- - -\n\n[[Monitor Status](/monitors#469391?)] \xb7 [[Edit Monitor](/monitors#469391/edit)]\n%%%', 'tags': ['monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3425810089859096497, 'resource': '/api/v1/events/3425810089859096497', 'children': [{'date_happened': 1468457059, 'alert_type': 'error', 'id': '3425810087527063472'}, {'date_happened': 1468463664, 'alert_type': 'success', 'id': '3425920911625164660'}, {'date_happened': 1468503441, 'alert_type': 'error', 'id': '3426588244685361809'}, {'date_happened': 1468503865, 'alert_type': 'success', 'id': '3426595358778594047'}, {'date_happened': 1468520004, 'alert_type': 'error', 'id': '3426866126972260804'}, {'date_happened': 1468520124, 'alert_type': 'success', 'id': '3426868153508958695'}]}
{'date_happened': 1468463541, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up', 'url': '/event/event?id=3425919034724455492', 'text': ' NYs-MacBook-Pro-94.local reported that Test_Ping (http://google.com) recovered', 'tags': ['test-group-1', 'type:test_tag', 'url:http://google.com'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'My Apps', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3425919034724455492, 'resource': '/api/v1/events/3425919034724455492', 'children': [{'date_happened': 1468463541, 'alert_type': 'error', 'id': '3425919034674123843'}, {'date_happened': 1468474010, 'alert_type': 'success', 'id': '3426371790748786233'}, {'date_happened': 1468497017, 'alert_type': 'error', 'id': '3426586459472142302'}, {'date_happened': 1468503350, 'alert_type': 'success', 'id': '3426586842361762229'}, {'date_happened': 1468514844, 'alert_type': 'error', 'id': '3426779704462416342'}, {'date_happened': 1468514866, 'alert_type': 'success', 'id': '3426780105572096964'}, {'date_happened': 1468520059, 'alert_type': 'error', 'id': '3426867260122208493'}, {'date_happened': 1468520080, 'alert_type': 'success', 'id': '3426867670727793367'}]}
{'date_happened': 1468456876, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Host is down {{host.name}} is ok on 1 host', 'url': '/event/event?id=3425807030634419855', 'text': u'%%%\n`datadog.agent.up` recovered on host:NYs-MacBook-Pro-94.local\n\n{{#is_alert}}\nHost is down {{host.name}} \n{{/is_alert}} \n\n{{#is_recovery}}\nhost is back up! {{host.name}} \n{{/is_recovery}}\n\n- - -\n\n[[Monitor Status](/monitors#592979?)] \xb7 [[Edit Monitor](/monitors#592979/edit)]\n%%%', 'tags': ['host:nys-macbook-pro-94.local', 'monitor', 'test-group-1'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3425807030634419855, 'resource': '/api/v1/events/3425807030634419855', 'children': [{'date_happened': 1468456876, 'alert_type': 'error', 'id': '3425807028201723534'}, {'date_happened': 1468463596, 'alert_type': 'success', 'id': '3425919768526330778'}, {'date_happened': 1468463734, 'alert_type': 'error', 'id': '3425922078883191719'}, {'date_happened': 1468503397, 'alert_type': 'success', 'id': '3426587511638462522'}, {'date_happened': 1468519852, 'alert_type': 'error', 'id': '3426863577573625900'}, {'date_happened': 1468520040, 'alert_type': 'success', 'id': '3426866740179505233'}]}
{'date_happened': 1468462858, 'alert_type': 'info', 'is_aggregate': True, 'title': 'Downtime on Test ended and rescheduled', 'url': '/event/event?id=3425907409002960793', 'text': '%%%\nScheduled downtime on **[Test](/monitors#469391?)** has ended and has been rescheduled for Jul 15, 2016 at 02:07:00.\n\n%%%\n%%%\ntesting downtimes: @[email protected] \n%%%', 'tags': ['audit', 'downtime', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Datadog', 'host': None, 'id': 3425907409002960793, 'resource': '/api/v1/events/3425907409002960793', 'children': [{'date_happened': 1468462858, 'alert_type': 'info', 'id': '3425907375230423041'}, {'date_happened': 1468465217, 'alert_type': 'info', 'id': '3425946960618590209'}]}
{'date_happened': 1468377812, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] Test', 'url': '/event/event?id=3424480551090788113', 'text': u'%%%\nTest\n\n\n\n[![Metric Graph](https://p.datadoghq.com/snapshot/view/dd-snapshots-prod/org_45021/2016-07-13/61b723378f7fc7951907ebd399362d9b15e747c7.png)](/monitors#469391?to_ts=1468428480000&from_ts=1468427280000)\n\n**system.load.1** over **\\*** was **<= 10.0** at all times during the **last 5m**.\n\nThe monitor was last triggered **54 mins ago**.\n\n- - -\n\n[[Monitor Status](/monitors#469391?)] \xb7 [[Edit Monitor](/monitors#469391/edit)]\n%%%', 'tags': ['monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3424480551090788113, 'resource': '/api/v1/events/3424480551090788113', 'children': [{'date_happened': 1468377812, 'alert_type': 'success', 'id': '3424480547198474000'}, {'date_happened': 1468385067, 'alert_type': 'error', 'id': '3424602269893533289'}, {'date_happened': 1468391667, 'alert_type': 'success', 'id': '3424713002941683936'}, {'date_happened': 1468391903, 'alert_type': 'error', 'id': '3424716949647530323'}, {'date_happened': 1468408944, 'alert_type': 'error', 'id': '3425002862650856701'}, {'date_happened': 1468409187, 'alert_type': 'error', 'id': '3425006929733227874'}, {'date_happened': 1468413028, 'alert_type': 'error', 'id': '3425071365416295143'}, {'date_happened': 1468413267, 'alert_type': 'error', 'id': '3425075381311380279'}, {'date_happened': 1468414223, 'alert_type': 'error', 'id': '3425091429725117574'}, {'date_happened': 1468414580, 'alert_type': 'success', 'id': '3425097414510386429'}, {'date_happened': 1468419805, 'alert_type': 'error', 'id': '3425185080111272886'}, {'date_happened': 1468419924, 'alert_type': 'success', 'id': '3425187072472781793'}, {'date_happened': 1468425326, 'alert_type': 'error', 'id': '3425277706969815697'}, {'date_happened': 1468428560, 'alert_type': 'success', 'id': '3425331962875744842'}]}
{'date_happened': 1468377409, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Network Check Test Group is 25% down or more is ok on 1 *', 'url': '/event/event?id=3424473789587527200', 'text': u'%%%\n`http.can_connect` recovered on *\n\nNetwork Check Test Group is 25% down or more.\n\nInfo:\n\nurl_name: {{url.name}} \ninstance_name: {{instance.name}} \nhost_ip: {{host.ip}} \nhost_name: {{host.name}} \n\nExtra:\nhost_test-group-1: {{host.test-group-1}} \nhost_tester1: {{host.tester1}}\n\n- - -\n\n[[Monitor Status](/monitors#608683?)] \xb7 [[Edit Monitor](/monitors#608683/edit)]\n%%%', 'tags': ['monitor', 'type:test_tag'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3424473789587527200, 'resource': '/api/v1/events/3424473789587527200', 'children': [{'date_happened': 1468377409, 'alert_type': 'success', 'id': '3424473786215306782'}, {'date_happened': 1468386582, 'alert_type': 'error', 'id': '3424627681956731482'}, {'date_happened': 1468391592, 'alert_type': 'success', 'id': '3424711731446816013'}, {'date_happened': 1468393391, 'alert_type': 'error', 'id': '3424741916829294060'}, {'date_happened': 1468412954, 'alert_type': 'success', 'id': '3425070128297941068'}, {'date_happened': 1468418288, 'alert_type': 'error', 'id': '3425159621944286047'}, {'date_happened': 1468418349, 'alert_type': 'success', 'id': '3425160642401672042'}, {'date_happened': 1468422871, 'alert_type': 'error', 'id': '3425236502731300416'}, {'date_happened': 1468422943, 'alert_type': 'success', 'id': '3425237715606576711'}, {'date_happened': 1468426806, 'alert_type': 'error', 'id': '3425302524314259660'}, {'date_happened': 1468428491, 'alert_type': 'error', 'id': '3425330793587675790'}, {'date_happened': 1468428545, 'alert_type': 'success', 'id': '3425331707794952855'}]}
{'date_happened': 1468377409, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Host is down {{host.name}} is ok on 1 host', 'url': '/event/event?id=3424473789872739873', 'text': u'%%%\n`datadog.agent.up` recovered on host:NYs-MacBook-Pro-94.local\n\n{{#is_alert}}\nHost is down {{host.name}} \n{{/is_alert}} \n\n{{#is_recovery}}\nhost is back up! {{host.name}} \n{{/is_recovery}}\n\n- - -\n\n[[Monitor Status](/monitors#592979?)] \xb7 [[Edit Monitor](/monitors#592979/edit)]\n%%%', 'tags': ['host:nys-macbook-pro-94.local', 'monitor', 'test-group-1'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3424473789872739873, 'resource': '/api/v1/events/3424473789872739873', 'children': [{'date_happened': 1468377409, 'alert_type': 'success', 'id': '3424473787742033439'}, {'date_happened': 1468383767, 'alert_type': 'error', 'id': '3424580461056235747'}, {'date_happened': 1468383831, 'alert_type': 'success', 'id': '3424581522852681961'}, {'date_happened': 1468384852, 'alert_type': 'error', 'id': '3424598654151825786'}, {'date_happened': 1468391592, 'alert_type': 'success', 'id': '3424711729903312140'}, {'date_happened': 1468391711, 'alert_type': 'error', 'id': '3424713737162988826'}, {'date_happened': 1468412954, 'alert_type': 'success', 'id': '3425070127173867595'}, {'date_happened': 1468413074, 'alert_type': 'error', 'id': '3425072141865850973'}, {'date_happened': 1468414151, 'alert_type': 'success', 'id': '3425090221564238049'}, {'date_happened': 1468419675, 'alert_type': 'error', 'id': '3425182895029886003'}, {'date_happened': 1468419855, 'alert_type': 'success', 'id': '3425185910113705066'}, {'date_happened': 1468425153, 'alert_type': 'error', 'id': '3425274803773251439'}, {'date_happened': 1468428491, 'alert_type': 'success', 'id': '3425330792279052941'}]}
{'date_happened': 1468377331, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up', 'url': '/event/event?id=3424473054963570244', 'text': ' NYs-MacBook-Pro-94.local reported that Test_Ping (http://google.com) recovered', 'tags': ['test-group-1', 'type:test_tag', 'url:http://google.com'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'My Apps', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3424473054963570244, 'resource': '/api/v1/events/3424473054963570244', 'children': [{'date_happened': 1468377331, 'alert_type': 'error', 'id': '3424473054896461379'}, {'date_happened': 1468377380, 'alert_type': 'success', 'id': '3424473590324533381'}, {'date_happened': 1468408834, 'alert_type': 'error', 'id': '3425001189945645559'}, {'date_happened': 1468412917, 'alert_type': 'success', 'id': '3425069657143382133'}, {'date_happened': 1468418240, 'alert_type': 'error', 'id': '3425158993654324103'}, {'date_happened': 1468418282, 'alert_type': 'success', 'id': '3425159698918154203'}, {'date_happened': 1468419799, 'alert_type': 'error', 'id': '3425185119554509976'}, {'date_happened': 1468419819, 'alert_type': 'success', 'id': '3425185422265818725'}, {'date_happened': 1468422846, 'alert_type': 'error', 'id': '3425236355544783524'}, {'date_happened': 1468422867, 'alert_type': 'success', 'id': '3425236500567038917'}, {'date_happened': 1468428465, 'alert_type': 'error', 'id': '3425330463378510532'}, {'date_happened': 1468428485, 'alert_type': 'success', 'id': '3425330939398460746'}]}
{'date_happened': 1468376429, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host', 'url': '/event/event?id=3424457347311867267', 'text': u'%%%\nWent critical on host:\n\nTest was below 1 during the last 5 minutes. This is on host {{host.name}}\n\n- - -\n\n[[Monitor Status](/monitors#519901?)] \xb7 [[Edit Monitor](/monitors#519901/edit)]\n%%%', 'tags': ['host:', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3424457347311867267, 'resource': '/api/v1/events/3424457347311867267', 'children': [{'date_happened': 1468376429, 'alert_type': 'success', 'id': '3424457345298601346'}, {'date_happened': 1468376730, 'alert_type': 'error', 'id': '3424462385476277741'}, {'date_happened': 1468378848, 'alert_type': 'success', 'id': '3424497920609622007'}, {'date_happened': 1468379137, 'alert_type': 'error', 'id': '3424502781740849208'}]}
{'date_happened': 1468376418, 'alert_type': 'info', 'is_aggregate': True, 'title': 'Downtime on Test ended and rescheduled', 'url': '/event/event?id=3424457182895150229', 'text': '%%%\nScheduled downtime on **[Test](/monitors#469391?)** has ended and has been rescheduled for Jul 14, 2016 at 02:07:00.\n\n%%%\n%%%\ntesting downtimes: @[email protected] \n%%%', 'tags': ['audit', 'downtime', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Datadog', 'host': None, 'id': 3424457182895150229, 'resource': '/api/v1/events/3424457182895150229', 'children': [{'date_happened': 1468376418, 'alert_type': 'info', 'id': '3424457154323550209'}, {'date_happened': 1468378835, 'alert_type': 'info', 'id': '3424497712924463106'}]}
{'date_happened': 1468284731, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Network Check Test Group is 25% down or more ', 'url': '/event/event?id=3422918926667879177', 'text': u'%%%\n`http.can_connect` stopped reporting on *\n\nNetwork Check Test Group is 25% down or more.\n\nInfo:\n\nurl_name: {{url.name}} \ninstance_name: {{instance.name}} \nhost_ip: {{host.ip}} \nhost_name: {{host.name}} \n\nExtra:\nhost_test-group-1: {{host.test-group-1}} \nhost_tester1: {{host.tester1}}\n\n- - -\n\n[[Monitor Status](/monitors#608683?)] \xb7 [[Edit Monitor](/monitors#608683/edit)]\n%%%', 'tags': ['monitor', 'type:test_tag'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3422918926667879177, 'resource': '/api/v1/events/3422918926667879177', 'children': [{'date_happened': 1468284731, 'alert_type': 'error', 'id': '3422918911971037960'}, {'date_happened': 1468285692, 'alert_type': 'success', 'id': '3422935037090206624'}, {'date_happened': 1468287441, 'alert_type': 'error', 'id': '3422964377756636278'}, {'date_happened': 1468288518, 'alert_type': 'success', 'id': '3422982446449169663'}, {'date_happened': 1468290972, 'alert_type': 'error', 'id': '3423023617569461787'}, {'date_happened': 1468291033, 'alert_type': 'success', 'id': '3423024641365513766'}, {'date_happened': 1468295236, 'alert_type': 'error', 'id': '3423095154393749525'}, {'date_happened': 1468298116, 'alert_type': 'success', 'id': '3423143464370444675'}, {'date_happened': 1468299911, 'alert_type': 'error', 'id': '3423173587308124758'}, {'date_happened': 1468304232, 'alert_type': 'success', 'id': '3423246084946795504'}, {'date_happened': 1468306033, 'alert_type': 'error', 'id': '3423276286938717339'}, {'date_happened': 1468310726, 'alert_type': 'success', 'id': '3423355026741927673'}, {'date_happened': 1468312527, 'alert_type': 'error', 'id': '3423385248061198478'}, {'date_happened': 1468317214, 'alert_type': 'success', 'id': '3423463875993932702'}, {'date_happened': 1468319017, 'alert_type': 'error', 'id': '3423494129038922849'}, {'date_happened': 1468330420, 'alert_type': 'error', 'id': '3423685434767579569'}, {'date_happened': 1468330474, 'alert_type': 'success', 'id': '3423686352414185914'}, {'date_happened': 1468345180, 'alert_type': 'error', 'id': '3423933078857324039'}, {'date_happened': 1468345246, 'alert_type': 'success', 'id': '3423934185549600274'}, {'date_happened': 1468345929, 'alert_type': 'error', 'id': '3423945641049462357'}, {'date_happened': 1468345992, 'alert_type': 'success', 'id': '3423946693366781553'}, {'date_happened': 1468348747, 'alert_type': 'error', 'id': '3423992908741611978'}, {'date_happened': 1468348809, 'alert_type': 'success', 'id': '3423993948845117902'}, {'date_happened': 1468360608, 'alert_type': 'error', 'id': '3424191910766450535'}, {'date_happened': 1468365465, 'alert_type': 'success', 'id': '3424273400808349038'}, {'date_happened': 1468367508, 'alert_type': 'error', 'id': '3424307673305194348'}]}
{'date_happened': 1468283242, 'alert_type': 'error', 'is_aggregate': True, 'title': '[No data] Test', 'url': '/event/event?id=3422893931417836672', 'text': u'%%%\nTest\n\n\n\n**The monitor** has been missing data for the **last 5m**\n\nThe monitor was last triggered **26 secs ago**.\n\n- - -\n\n[[Monitor Status](/monitors#469391?)] \xb7 [[Edit Monitor](/monitors#469391/edit)]\n%%%', 'tags': ['monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3422893931417836672, 'resource': '/api/v1/events/3422893931417836672', 'children': [{'date_happened': 1468283242, 'alert_type': 'error', 'id': '3422893927894621311'}, {'date_happened': 1468288582, 'alert_type': 'success', 'id': '3422983508631490921'}, {'date_happened': 1468293742, 'alert_type': 'error', 'id': '3423070080055908135'}, {'date_happened': 1468330462, 'alert_type': 'warning', 'id': '3423686144829692027'}, {'date_happened': 1468330705, 'alert_type': 'success', 'id': '3423690225434499265'}, {'date_happened': 1468331848, 'alert_type': 'error', 'id': '3423709398235617841'}, {'date_happened': 1468332143, 'alert_type': 'success', 'id': '3423714339947813553'}, {'date_happened': 1468338261, 'alert_type': 'error', 'id': '3423816994833568268'}, {'date_happened': 1468338798, 'alert_type': 'success', 'id': '3423825998913737395'}, {'date_happened': 1468340898, 'alert_type': 'error', 'id': '3423861240110257625'}, {'date_happened': 1468341928, 'alert_type': 'success', 'id': '3423878518008715038'}, {'date_happened': 1468359083, 'alert_type': 'error', 'id': '3424166325696598273'}, {'date_happened': 1468365497, 'alert_type': 'success', 'id': '3424273943198964159'}, {'date_happened': 1468365986, 'alert_type': 'error', 'id': '3424282136805382734'}]}
{'date_happened': 1468283067, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Host is down {{host.name}} ', 'url': '/event/event?id=3422890994297737736', 'text': u'%%%\n`datadog.agent.up` stopped reporting on host:NYs-MacBook-Pro-94.local\n\n{{#is_alert}}\nHost is down {{host.name}} \n{{/is_alert}} \n\n{{#is_recovery}}\nhost is back up! {{host.name}} \n{{/is_recovery}}\n\n- - -\n\n[[Monitor Status](/monitors#592979?)] \xb7 [[Edit Monitor](/monitors#592979/edit)]\n%%%', 'tags': ['host:nys-macbook-pro-94.local', 'monitor', 'test-group-1'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3422890994297737736, 'resource': '/api/v1/events/3422890994297737736', 'children': [{'date_happened': 1468283067, 'alert_type': 'error', 'id': '3422890992368357895'}, {'date_happened': 1468285692, 'alert_type': 'success', 'id': '3422935035328598943'}, {'date_happened': 1468285753, 'alert_type': 'error', 'id': '3422936060903035816'}, {'date_happened': 1468288518, 'alert_type': 'success', 'id': '3422982447774569728'}, {'date_happened': 1468293557, 'alert_type': 'error', 'id': '3423066975549527888'}, {'date_happened': 1468298116, 'alert_type': 'success', 'id': '3423143462357178754'}, {'date_happened': 1468298235, 'alert_type': 'error', 'id': '3423145460355832212'}, {'date_happened': 1468304233, 'alert_type': 'success', 'id': '3423246087815699441'}, {'date_happened': 1468304353, 'alert_type': 'error', 'id': '3423248107406629885'}, {'date_happened': 1468310726, 'alert_type': 'success', 'id': '3423355027815669498'}, {'date_happened': 1468310834, 'alert_type': 'error', 'id': '3423356845476028179'}, {'date_happened': 1468317214, 'alert_type': 'success', 'id': '3423463877269001119'}, {'date_happened': 1468317340, 'alert_type': 'error', 'id': '3423466002220848046'}, {'date_happened': 1468330420, 'alert_type': 'success', 'id': '3423685435958761906'}, {'date_happened': 1468338035, 'alert_type': 'error', 'id': '3423813194425049078'}, {'date_happened': 1468338760, 'alert_type': 'success', 'id': '3423825358426738789'}, {'date_happened': 1468340737, 'alert_type': 'error', 'id': '3423858524382303111'}, {'date_happened': 1468341851, 'alert_type': 'success', 'id': '3423877216834950259'}, {'date_happened': 1468358926, 'alert_type': 'error', 'id': '3424163698099361432'}, {'date_happened': 1468365465, 'alert_type': 'success', 'id': '3424273399097073005'}, {'date_happened': 1468365827, 'alert_type': 'error', 'id': '3424279464882740697'}]}
{'date_happened': 1468285632, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up', 'url': '/event/event?id=3422981378277381614', 'text': ' NYs-MacBook-Pro-94.local reported that Test_Ping (http://google.com) recovered', 'tags': ['test-group-1', 'type:test_tag', 'url:http://google.com'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'My Apps', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3422981378277381614, 'resource': '/api/v1/events/3422981378277381614', 'children': [{'date_happened': 1468285632, 'alert_type': 'error', 'id': '3422981378227049965'}, {'date_happened': 1468288466, 'alert_type': 'success', 'id': '3422981776383940440'}, {'date_happened': 1468288789, 'alert_type': 'error', 'id': '3422987305902677412'}, {'date_happened': 1468288811, 'alert_type': 'success', 'id': '3422987457300274694'}, {'date_happened': 1468290918, 'alert_type': 'error', 'id': '3423023326551871570'}, {'date_happened': 1468290963, 'alert_type': 'success', 'id': '3423023522107101357'}, {'date_happened': 1468330428, 'alert_type': 'success', 'id': '3423685615374308209'}, {'date_happened': 1468330240, 'alert_type': 'error', 'id': '3423686194708354601'}, {'date_happened': 1468331737, 'alert_type': 'error', 'id': '3423707790223350922'}, {'date_happened': 1468331758, 'alert_type': 'success', 'id': '3423708152376335848'}, {'date_happened': 1468335937, 'alert_type': 'error', 'id': '3423778485804473827'}, {'date_happened': 1468335977, 'alert_type': 'success', 'id': '3423778879465070536'}, {'date_happened': 1468345148, 'alert_type': 'error', 'id': '3423932782353584223'}, {'date_happened': 1468345168, 'alert_type': 'success', 'id': '3423932976902181388'}, {'date_happened': 1468345896, 'alert_type': 'error', 'id': '3423945352498125847'}, {'date_happened': 1468345921, 'alert_type': 'success', 'id': '3423945800030363123'}, {'date_happened': 1468348733, 'alert_type': 'error', 'id': '3423992735063872946'}, {'date_happened': 1468348753, 'alert_type': 'success', 'id': '3423993258529790293'}, {'date_happened': 1468365388, 'alert_type': 'error', 'id': '3424272660278810506'}, {'date_happened': 1468365439, 'alert_type': 'success', 'id': '3424273170708830653'}]}
{'date_happened': 1468290028, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host', 'url': '/event/event?id=3423007800932963044', 'text': u'%%%\nWent critical on host:\n\nTest was below 1 during the last 5 minutes. This is on host {{host.name}}\n\n- - -\n\n[[Monitor Status](/monitors#519901?)] \xb7 [[Edit Monitor](/monitors#519901/edit)]\n%%%', 'tags': ['host:', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3423007800932963044, 'resource': '/api/v1/events/3423007800932963044', 'children': [{'date_happened': 1468290028, 'alert_type': 'success', 'id': '3423007771925156579'}, {'date_happened': 1468290331, 'alert_type': 'error', 'id': '3423012854347862853'}, {'date_happened': 1468292431, 'alert_type': 'success', 'id': '3423048090695767481'}, {'date_happened': 1468292733, 'alert_type': 'error', 'id': '3423053156743910937'}]}
{'date_happened': 1468290016, 'alert_type': 'info', 'is_aggregate': True, 'title': 'Downtime on Test ended and rescheduled', 'url': '/event/event?id=3423007579775705086', 'text': '%%%\nScheduled downtime on **[Test](/monitors#469391?)** has ended and has been rescheduled for Jul 13, 2016 at 02:07:00.\n\n%%%\n%%%\ntesting downtimes: @[email protected] \n%%%', 'tags': ['audit', 'downtime', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Datadog', 'host': None, 'id': 3423007579775705086, 'resource': '/api/v1/events/3423007579775705086', 'children': [{'date_happened': 1468290016, 'alert_type': 'info', 'id': '3423007571789746177'}, {'date_happened': 1468292420, 'alert_type': 'info', 'id': '3423047910323916802'}]}
{'date_happened': 1468210599, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up', 'url': '/event/event?id=3421675217485831449', 'text': ' NYs-MacBook-Pro-94.local reported that Test_Ping (http://google.com) recovered', 'tags': ['test-group-1', 'type:test_tag', 'url:http://google.com'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'My Apps', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3421675217485831449, 'resource': '/api/v1/events/3421675217485831449', 'children': [{'date_happened': 1468210599, 'alert_type': 'error', 'id': '3421675217435499800'}, {'date_happened': 1468218003, 'alert_type': 'success', 'id': '3421799468389896884'}, {'date_happened': 1468244943, 'alert_type': 'error', 'id': '3422251800906962417'}, {'date_happened': 1468244974, 'alert_type': 'success', 'id': '3422251936617862936'}, {'date_happened': 1468277052, 'alert_type': 'error', 'id': '3422790167373552553'}, {'date_happened': 1468277073, 'alert_type': 'success', 'id': '3422790663593270662'}]}
{'date_happened': 1468210697, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] Test', 'url': '/event/event?id=3421676836201960720', 'text': u'%%%\nTest\n\n\n\n[![Metric Graph](https://p.datadoghq.com/snapshot/view/dd-snapshots-prod/org_45021/2016-07-11/8525e4eb33bbe1b0b37f9c7054b1d8ca0e33aafe.png)](/monitors#469391?to_ts=1468274880000&from_ts=1468273680000)\n\n**system.load.1** over **\\*** was **<= 10.0** at all times during the **last 5m**.\n\nThe monitor was last triggered **22 mins ago**.\n\n- - -\n\n[[Monitor Status](/monitors#469391?)] \xb7 [[Edit Monitor](/monitors#469391/edit)]\n%%%', 'tags': ['monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3421676836201960720, 'resource': '/api/v1/events/3421676836201960720', 'children': [{'date_happened': 1468210697, 'alert_type': 'success', 'id': '3421676829004535055'}, {'date_happened': 1468210941, 'alert_type': 'error', 'id': '3421680918601930060'}, {'date_happened': 1468245024, 'alert_type': 'error', 'id': '3422252736068982889'}, {'date_happened': 1468245444, 'alert_type': 'success', 'id': '3422259777332320536'}, {'date_happened': 1468273639, 'alert_type': 'error', 'id': '3422732818420076860'}, {'date_happened': 1468274960, 'alert_type': 'success', 'id': '3422754982011605706'}]}
{'date_happened': 1468210654, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Host is down {{host.name}} is ok on 1 host', 'url': '/event/event?id=3421676107131263537', 'text': u'%%%\n`datadog.agent.up` recovered on host:NYs-MacBook-Pro-94.local\n\n{{#is_alert}}\nHost is down {{host.name}} \n{{/is_alert}} \n\n{{#is_recovery}}\nhost is back up! {{host.name}} \n{{/is_recovery}}\n\n- - -\n\n[[Monitor Status](/monitors#592979?)] \xb7 [[Edit Monitor](/monitors#592979/edit)]\n%%%', 'tags': ['host:nys-macbook-pro-94.local', 'monitor', 'test-group-1'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3421676107131263537, 'resource': '/api/v1/events/3421676107131263537', 'children': [{'date_happened': 1468210654, 'alert_type': 'success', 'id': '3421676103322835503'}, {'date_happened': 1468210778, 'alert_type': 'error', 'id': '3421678185140460095'}, {'date_happened': 1468218060, 'alert_type': 'success', 'id': '3421800352951836201'}, {'date_happened': 1468218174, 'alert_type': 'error', 'id': '3421802269144784441'}, {'date_happened': 1468224534, 'alert_type': 'success', 'id': '3421908968027459899'}, {'date_happened': 1468224655, 'alert_type': 'error', 'id': '3421911001157603657'}, {'date_happened': 1468231015, 'alert_type': 'success', 'id': '3422017693799158910'}, {'date_happened': 1468231138, 'alert_type': 'error', 'id': '3422019765416236177'}, {'date_happened': 1468232337, 'alert_type': 'success', 'id': '3422039877456237884'}, {'date_happened': 1468232461, 'alert_type': 'error', 'id': '3422041964558685521'}, {'date_happened': 1468244995, 'alert_type': 'success', 'id': '3422252246123945062'}, {'date_happened': 1468273455, 'alert_type': 'error', 'id': '3422729719081081842'}, {'date_happened': 1468274893, 'alert_type': 'success', 'id': '3422753854918237341'}]}
{'date_happened': 1468201895, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Network Check Test Group is 25% down or more is ok on 1 *', 'url': '/event/event?id=3421529158952424883', 'text': u'%%%\n`http.can_connect` recovered on *\n\nNetwork Check Test Group is 25% down or more.\n\nInfo:\n\nurl_name: {{url.name}} \ninstance_name: {{instance.name}} \nhost_ip: {{host.ip}} \nhost_name: {{host.name}} \n\nExtra:\nhost_test-group-1: {{host.test-group-1}} \nhost_tester1: {{host.tester1}}\n\n- - -\n\n[[Monitor Status](/monitors#608683?)] \xb7 [[Edit Monitor](/monitors#608683/edit)]\n%%%', 'tags': ['monitor', 'type:test_tag'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3421529158952424883, 'resource': '/api/v1/events/3421529158952424883', 'children': [{'date_happened': 1468201895, 'alert_type': 'success', 'id': '3421529156620391858'}, {'date_happened': 1468203174, 'alert_type': 'error', 'id': '3421550613421364829'}, {'date_happened': 1468210654, 'alert_type': 'error', 'id': '3421676105336101424'}, {'date_happened': 1468212456, 'alert_type': 'error', 'id': '3421706324608555819'}, {'date_happened': 1468218060, 'alert_type': 'success', 'id': '3421800354143018538'}, {'date_happened': 1468219861, 'alert_type': 'error', 'id': '3421830565395963695'}, {'date_happened': 1468224534, 'alert_type': 'success', 'id': '3421908961048138042'}, {'date_happened': 1468226336, 'alert_type': 'error', 'id': '3421939202181304852'}, {'date_happened': 1468231015, 'alert_type': 'success', 'id': '3422017695460103295'}, {'date_happened': 1468234137, 'alert_type': 'error', 'id': '3422070075455182366'}, {'date_happened': 1468244995, 'alert_type': 'success', 'id': '3422252244915985509'}]}
{'date_happened': 1468235618, 'alert_type': 'info', 'is_aggregate': False, 'title': '[Monitor Report] You received 273 alerts, -50% from the previous week', 'url': '/event/event?id=3422094934256128825', 'text': '%%%\nTake a look at your [interactive Monitor report](/report/ma).\n%%%', 'tags': [], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'resource': '/api/v1/events/3422094934256128825', 'id': 3422094934256128825}
{'date_happened': 1468203626, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host', 'url': '/event/event?id=3421558192277036343', 'text': u'%%%\nWent critical on host:\n\nTest was below 1 during the last 5 minutes. This is on host {{host.name}}\n\n- - -\n\n[[Monitor Status](/monitors#519901?)] \xb7 [[Edit Monitor](/monitors#519901/edit)]\n%%%', 'tags': ['host:', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3421558192277036343, 'resource': '/api/v1/events/3421558192277036343', 'children': [{'date_happened': 1468203626, 'alert_type': 'success', 'id': '3421558185381600564'}, {'date_happened': 1468203929, 'alert_type': 'error', 'id': '3421563275135950259'}, {'date_happened': 1468206028, 'alert_type': 'success', 'id': '3421598490730438619'}, {'date_happened': 1468206327, 'alert_type': 'error', 'id': '3421603498041544762'}]}
{'date_happened': 1468203610, 'alert_type': 'info', 'is_aggregate': True, 'title': 'Downtime on Test ended and rescheduled', 'url': '/event/event?id=3421557969324612667', 'text': '%%%\nScheduled downtime on **[Test](/monitors#469391?)** has ended and has been rescheduled for Jul 12, 2016 at 02:07:00.\n\n%%%\n%%%\ntesting downtimes: @[email protected] \n%%%', 'tags': ['audit', 'downtime', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Datadog', 'host': None, 'id': 3421557969324612667, 'resource': '/api/v1/events/3421557969324612667', 'children': [{'date_happened': 1468203610, 'alert_type': 'info', 'id': '3421557927800999937'}, {'date_happened': 1468206015, 'alert_type': 'info', 'id': '3421598271167008770'}]}
{'date_happened': 1468109751, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Network Check Test Group is 25% down or more ', 'url': '/event/event?id=3419983236242084840', 'text': u'%%%\n`http.can_connect` stopped reporting on *\n\nNetwork Check Test Group is 25% down or more.\n\nInfo:\n\nurl_name: {{url.name}} \ninstance_name: {{instance.name}} \nhost_ip: {{host.ip}} \nhost_name: {{host.name}} \n\nExtra:\nhost_test-group-1: {{host.test-group-1}} \nhost_tester1: {{host.tester1}}\n\n- - -\n\n[[Monitor Status](/monitors#608683?)] \xb7 [[Edit Monitor](/monitors#608683/edit)]\n%%%', 'tags': ['monitor', 'type:test_tag'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3419983236242084840, 'resource': '/api/v1/events/3419983236242084840', 'children': [{'date_happened': 1468109751, 'alert_type': 'error', 'id': '3419983232316216295'}, {'date_happened': 1468118989, 'alert_type': 'error', 'id': '3420138218442463110'}, {'date_happened': 1468119051, 'alert_type': 'success', 'id': '3420139252187404179'}, {'date_happened': 1468119110, 'alert_type': 'error', 'id': '3420140245432145823'}, {'date_happened': 1468119167, 'alert_type': 'success', 'id': '3420141206498187173'}, {'date_happened': 1468119289, 'alert_type': 'error', 'id': '3420143249141012402'}, {'date_happened': 1468119347, 'alert_type': 'success', 'id': '3420144220659259323'}, {'date_happened': 1468120966, 'alert_type': 'error', 'id': '3420171377217378391'}, {'date_happened': 1468121030, 'alert_type': 'success', 'id': '3420172455472273498'}, {'date_happened': 1468121333, 'alert_type': 'error', 'id': '3420177542441605250'}, {'date_happened': 1468121389, 'alert_type': 'success', 'id': '3420178485019154569'}, {'date_happened': 1468125772, 'alert_type': 'error', 'id': '3420252019875650055'}, {'date_happened': 1468125828, 'alert_type': 'success', 'id': '3420252950977583629'}, {'date_happened': 1468126889, 'alert_type': 'error', 'id': '3420270751737977471'}, {'date_happened': 1468126933, 'alert_type': 'success', 'id': '3420271491680311940'}, {'date_happened': 1468138934, 'alert_type': 'error', 'id': '3420472837163458453'}, {'date_happened': 1468139838, 'alert_type': 'success', 'id': '3420488001820565497'}, {'date_happened': 1468160115, 'alert_type': 'error', 'id': '3420828197757917353'}, {'date_happened': 1468184433, 'alert_type': 'error', 'id': '3421236178915955800'}, {'date_happened': 1468184519, 'alert_type': 'success', 'id': '3421237628316423266'}, {'date_happened': 1468192834, 'alert_type': 'error', 'id': '3421377125750411601'}]}
{'date_happened': 1468119380, 'alert_type': 'error', 'is_aggregate': True, 'title': '[No data] Test', 'url': '/event/event?id=3420144790111523324', 'text': u'%%%\nTest\n\n\n\n**The monitor** has been missing data for the **last 5m**\n\nThe monitor was last triggered **23 secs ago**.\n\n- - -\n\n[[Monitor Status](/monitors#469391?)] \xb7 [[Edit Monitor](/monitors#469391/edit)]\n%%%', 'tags': ['monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3420144790111523324, 'resource': '/api/v1/events/3420144790111523324', 'children': [{'date_happened': 1468119380, 'alert_type': 'success', 'id': '3420144771404927482'}, {'date_happened': 1468119979, 'alert_type': 'error', 'id': '3420154832332264086'}, {'date_happened': 1468120703, 'alert_type': 'success', 'id': '3420166968433447755'}, {'date_happened': 1468127485, 'alert_type': 'error', 'id': '3420280762736319676'}, {'date_happened': 1468129047, 'alert_type': 'success', 'id': '3420306959805456089'}, {'date_happened': 1468129343, 'alert_type': 'error', 'id': '3420311926515703569'}, {'date_happened': 1468130902, 'alert_type': 'success', 'id': '3420338077850144936'}, {'date_happened': 1468131147, 'alert_type': 'error', 'id': '3420342192714027251'}, {'date_happened': 1468132764, 'alert_type': 'success', 'id': '3420369316372026271'}, {'date_happened': 1468133008, 'alert_type': 'error', 'id': '3420373424994784255'}, {'date_happened': 1468134619, 'alert_type': 'success', 'id': '3420400438158038690'}, {'date_happened': 1468134859, 'alert_type': 'error', 'id': '3420404463733577490'}, {'date_happened': 1468136482, 'alert_type': 'success', 'id': '3420431708019759338'}, {'date_happened': 1468136722, 'alert_type': 'error', 'id': '3420435729367439665'}, {'date_happened': 1468139002, 'alert_type': 'success', 'id': '3420473973568183311'}, {'date_happened': 1468139241, 'alert_type': 'error', 'id': '3420477988490189899'}, {'date_happened': 1468140803, 'alert_type': 'success', 'id': '3420504193041964569'}, {'date_happened': 1468141101, 'alert_type': 'error', 'id': '3420509199178669689'}, {'date_happened': 1468142668, 'alert_type': 'success', 'id': '3420535481576722513'}, {'date_happened': 1468142900, 'alert_type': 'error', 'id': '3420539381172146333'}, {'date_happened': 1468144522, 'alert_type': 'success', 'id': '3420566594688914139'}, {'date_happened': 1468144763, 'alert_type': 'error', 'id': '3420570631790400291'}, {'date_happened': 1468146381, 'alert_type': 'success', 'id': '3420597774607979824'}, {'date_happened': 1468146620, 'alert_type': 'error', 'id': '3420601781980239232'}, {'date_happened': 1468148247, 'alert_type': 'success', 'id': '3420629087016720348'}, {'date_happened': 1468148483, 'alert_type': 'error', 'id': '3420633046288701475'}, {'date_happened': 1468150041, 'alert_type': 'success', 'id': '3420659183698057952'}, {'date_happened': 1468150340, 'alert_type': 'error', 'id': '3420664207417285443'}, {'date_happened': 1468151901, 'alert_type': 'success', 'id': '3420690383565233516'}, {'date_happened': 1468152144, 'alert_type': 'error', 'id': '3420694459120098782'}, {'date_happened': 1468153766, 'alert_type': 'success', 'id': '3420721675220557769'}, {'date_happened': 1468154002, 'alert_type': 'error', 'id': '3420725630600224767'}, {'date_happened': 1468155621, 'alert_type': 'success', 'id': '3420752793332355580'}, {'date_happened': 1468155864, 'alert_type': 'error', 'id': '3420756881084256808'}, {'date_happened': 1468157480, 'alert_type': 'success', 'id': '3420783983519077399'}, {'date_happened': 1468157723, 'alert_type': 'error', 'id': '3420788064308434020'}, {'date_happened': 1468184537, 'alert_type': 'success', 'id': '3421237935104596787'}, {'date_happened': 1468191383, 'alert_type': 'error', 'id': '3421352786606952964'}]}
{'date_happened': 1468118989, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Host is down {{host.name}} ', 'url': '/event/event?id=3420138225287567240', 'text': u'%%%\n`datadog.agent.up` stopped reporting on host:NYs-MacBook-Pro-94.local\n\n{{#is_alert}}\nHost is down {{host.name}} \n{{/is_alert}} \n\n{{#is_recovery}}\nhost is back up! {{host.name}} \n{{/is_recovery}}\n\n- - -\n\n[[Monitor Status](/monitors#592979?)] \xb7 [[Edit Monitor](/monitors#592979/edit)]\n%%%', 'tags': ['host:nys-macbook-pro-94.local', 'monitor', 'test-group-1'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3420138225287567240, 'resource': '/api/v1/events/3420138225287567240', 'children': [{'date_happened': 1468118989, 'alert_type': 'success', 'id': '3420138222737430407'}, {'date_happened': 1468119837, 'alert_type': 'error', 'id': '3420152449313282032'}, {'date_happened': 1468120668, 'alert_type': 'success', 'id': '3420166378059995191'}, {'date_happened': 1468121868, 'alert_type': 'error', 'id': '3420186513789425853'}, {'date_happened': 1468121926, 'alert_type': 'success', 'id': '3420187487371270344'}, {'date_happened': 1468127300, 'alert_type': 'error', 'id': '3420277658448042665'}, {'date_happened': 1468128091, 'alert_type': 'success', 'id': '3420290922246576889'}, {'date_happened': 1468128200, 'alert_type': 'error', 'id': '3420292752942832385'}, {'date_happened': 1468128975, 'alert_type': 'success', 'id': '3420305758506457929'}, {'date_happened': 1468129096, 'alert_type': 'error', 'id': '3420307791888259931'}, {'date_happened': 1468129939, 'alert_type': 'success', 'id': '3420321931272919975'}, {'date_happened': 1468130064, 'alert_type': 'error', 'id': '3420324017016413114'}, {'date_happened': 1468130834, 'alert_type': 'success', 'id': '3420336942955371530'}, {'date_happened': 1468130955, 'alert_type': 'error', 'id': '3420338965683641364'}, {'date_happened': 1468131791, 'alert_type': 'success', 'id': '3420353001569655912'}, {'date_happened': 1468131913, 'alert_type': 'error', 'id': '3420355052349430908'}, {'date_happened': 1468132699, 'alert_type': 'success', 'id': '3420368234728135927'}, {'date_happened': 1468132812, 'alert_type': 'error', 'id': '3420370132248042751'}, {'date_happened': 1468133593, 'alert_type': 'success', 'id': '3420383224096890192'}, {'date_happened': 1468133711, 'alert_type': 'error', 'id': '3420385219377634651'}, {'date_happened': 1468134556, 'alert_type': 'success', 'id': '3420399389967916472'}, {'date_happened': 1468134675, 'alert_type': 'error', 'id': '3420401385164774849'}, {'date_happened': 1468135462, 'alert_type': 'success', 'id': '3420414588364004899'}, {'date_happened': 1468135576, 'alert_type': 'error', 'id': '3420416498517155371'}, {'date_happened': 1468136413, 'alert_type': 'success', 'id': '3420430536953306776'}, {'date_happened': 1468136531, 'alert_type': 'error', 'id': '3420432526009704106'}, {'date_happened': 1468137317, 'alert_type': 'success', 'id': '3420445704831639280'}, {'date_happened': 1468137440, 'alert_type': 'error', 'id': '3420447772002754309'}, {'date_happened': 1468138872, 'alert_type': 'success', 'id': '3420471801573023635'}, {'date_happened': 1468139054, 'alert_type': 'error', 'id': '3420474854908895134'}, {'date_happened': 1468139838, 'alert_type': 'success', 'id': '3420487999824076792'}, {'date_happened': 1468139955, 'alert_type': 'error', 'id': '3420489964452843528'}, {'date_happened': 1468140735, 'alert_type': 'success', 'id': '3420503055110508608'}, {'date_happened': 1468140859, 'alert_type': 'error', 'id': '3420505127163793480'}, {'date_happened': 1468141692, 'alert_type': 'success', 'id': '3420519105604620443'}, {'date_happened': 1468141814, 'alert_type': 'error', 'id': '3420521163598598311'}, {'date_happened': 1468142598, 'alert_type': 'success', 'id': '3420534314301919479'}, {'date_happened': 1468142723, 'alert_type': 'error', 'id': '3420536405649002764'}, {'date_happened': 1468143552, 'alert_type': 'success', 'id': '3420550323876401505'}, {'date_happened': 1468143677, 'alert_type': 'error', 'id': '3420552406482555254'}, {'date_happened': 1468144460, 'alert_type': 'success', 'id': '3420565552421147091'}, {'date_happened': 1468144573, 'alert_type': 'error', 'id': '3420567452256309727'}, {'date_happened': 1468145352, 'alert_type': 'success', 'id': '3420580514795360812'}, {'date_happened': 1468145486, 'alert_type': 'error', 'id': '3420582761264583245'}, {'date_happened': 1468146321, 'alert_type': 'success', 'id': '3420596772924297883'}, {'date_happened': 1468146435, 'alert_type': 'error', 'id': '3420598686147678882'}, {'date_happened': 1468147212, 'alert_type': 'success', 'id': '3420611714461209300'}, {'date_happened': 1468147342, 'alert_type': 'error', 'id': '3420613896321372895'}, {'date_happened': 1468148121, 'alert_type': 'success', 'id': '3420626970117935905'}, {'date_happened': 1468148303, 'alert_type': 'error', 'id': '3420630021255992120'}, {'date_happened': 1468149073, 'alert_type': 'success', 'id': '3420642935400567691'}, {'date_happened': 1468149202, 'alert_type': 'error', 'id': '3420645102161236891'}, {'date_happened': 1468149978, 'alert_type': 'success', 'id': '3420658131246519281'}, {'date_happened': 1468150096, 'alert_type': 'error', 'id': '3420660110119146497'}, {'date_happened': 1468150937, 'alert_type': 'success', 'id': '3420674211302085732'}, {'date_happened': 1468151054, 'alert_type': 'error', 'id': '3420676170075608175'}, {'date_happened': 1468151833, 'alert_type': 'success', 'id': '3420689241473029321'}, {'date_happened': 1468151961, 'alert_type': 'error', 'id': '3420691387731940636'}, {'date_happened': 1468152791, 'alert_type': 'success', 'id': '3420705322468120054'}, {'date_happened': 1468152855, 'alert_type': 'error', 'id': '3420706386797925888'}, {'date_happened': 1468153693, 'alert_type': 'success', 'id': '3420720450903217766'}, {'date_happened': 1468153817, 'alert_type': 'error', 'id': '3420722539297511035'}, {'date_happened': 1468154591, 'alert_type': 'success', 'id': '3420735526204872409'}, {'date_happened': 1468154710, 'alert_type': 'error', 'id': '3420737521301067493'}, {'date_happened': 1468155561, 'alert_type': 'success', 'id': '3420751793057961806'}, {'date_happened': 1468155678, 'alert_type': 'error', 'id': '3420753756143228763'}, {'date_happened': 1468156458, 'alert_type': 'success', 'id': '3420766847371319196'}, {'date_happened': 1468156577, 'alert_type': 'error', 'id': '3420768831008675751'}, {'date_happened': 1468157359, 'alert_type': 'success', 'id': '3420781959381522401'}, {'date_happened': 1468157548, 'alert_type': 'error', 'id': '3420785129822361579'}, {'date_happened': 1468158317, 'alert_type': 'success', 'id': '3420798031182698547'}, {'date_happened': 1468158436, 'alert_type': 'error', 'id': '3420800021128288312'}, {'date_happened': 1468184433, 'alert_type': 'success', 'id': '3421236180140692569'}, {'date_happened': 1468191152, 'alert_type': 'error', 'id': '3421348915818008763'}]}
{'date_happened': 1468118614, 'alert_type': 'error', 'is_aggregate': True, 'title': '[Alert] NYs-MacBook-Pro-94.local reported that Test_Ping is down', 'url': '/event/event?id=3420137736617595756', 'text': " NYs-MacBook-Pro-94.local reported that Test_Ping (http://google.com) failed 1 time(s) within 1 last attempt(s). Last error: HTTPConnectionPool(host='google.com', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10419f950>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)). Connection failed after 3 ms", 'tags': ['test-group-1', 'type:test_tag', 'url:http://google.com'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'My Apps', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3420137736617595756, 'resource': '/api/v1/events/3420137736617595756', 'children': [{'date_happened': 1468118614, 'alert_type': 'error', 'id': '3420137736567264107'}, {'date_happened': 1468118979, 'alert_type': 'success', 'id': '3420138180928607778'}, {'date_happened': 1468119065, 'alert_type': 'error', 'id': '3420139636301765714'}, {'date_happened': 1468119087, 'alert_type': 'success', 'id': '3420140443487178788'}, {'date_happened': 1468119237, 'alert_type': 'error', 'id': '3420142946496813555'}, {'date_happened': 1468119283, 'alert_type': 'success', 'id': '3420143734371654949'}, {'date_happened': 1468120923, 'alert_type': 'error', 'id': '3420171022463147862'}, {'date_happened': 1468120954, 'alert_type': 'success', 'id': '3420171353544724674'}, {'date_happened': 1468121290, 'alert_type': 'error', 'id': '3420177100294854839'}, {'date_happened': 1468121319, 'alert_type': 'success', 'id': '3420177480768559725'}, {'date_happened': 1468121877, 'alert_type': 'error', 'id': '3420186968955294339'}, {'date_happened': 1468121899, 'alert_type': 'success', 'id': '3420187129328702204'}, {'date_happened': 1468125736, 'alert_type': 'error', 'id': '3420251545432756705'}, {'date_happened': 1468125759, 'alert_type': 'success', 'id': '3420251971456603072'}, {'date_happened': 1468126587, 'alert_type': 'error', 'id': '3420265947766726275'}, {'date_happened': 1468126610, 'alert_type': 'success', 'id': '3420266238985641969'}, {'date_happened': 1468126840, 'alert_type': 'error', 'id': '3420270055332515863'}, {'date_happened': 1468126864, 'alert_type': 'success', 'id': '3420270655856186153'}, {'date_happened': 1468138874, 'alert_type': 'error', 'id': '3420472004208236278'}, {'date_happened': 1468139786, 'alert_type': 'success', 'id': '3420487350948468070'}, {'date_happened': 1468170372, 'alert_type': 'error', 'id': '3421236262181278441'}, {'date_happened': 1468184438, 'alert_type': 'success', 'id': '3421236374823506800'}, {'date_happened': 1468166455, 'alert_type': 'success', 'id': '3421236503655748677'}, {'date_happened': 1468158338, 'alert_type': 'error', 'id': '3421236971270313564'}]}
{'date_happened': 1468117267, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host', 'url': '/event/event?id=3420109322506477525', 'text': u'%%%\nWent critical on host:\n\nTest was below 1 during the last 5 minutes. This is on host {{host.name}}\n\n- - -\n\n[[Monitor Status](/monitors#519901?)] \xb7 [[Edit Monitor](/monitors#519901/edit)]\n%%%', 'tags': ['host:', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3420109322506477525, 'resource': '/api/v1/events/3420109322506477525', 'children': [{'date_happened': 1468117267, 'alert_type': 'success', 'id': '3420109318496722900'}, {'date_happened': 1468117567, 'alert_type': 'error', 'id': '3420114358640840734'}, {'date_happened': 1468119688, 'alert_type': 'success', 'id': '3420149940515508812'}, {'date_happened': 1468119987, 'alert_type': 'error', 'id': '3420154964016632474'}]}
{'date_happened': 1468117261, 'alert_type': 'info', 'is_aggregate': True, 'title': 'Downtime on Test ended and rescheduled', 'url': '/event/event?id=3420109251303971653', 'text': '%%%\nScheduled downtime on **[Test](/monitors#469391?)** has ended and has been rescheduled for Jul 11, 2016 at 02:07:00.\n\n%%%\n%%%\ntesting downtimes: @[email protected] \n%%%', 'tags': ['audit', 'downtime', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Datadog', 'host': None, 'id': 3420109251303971653, 'resource': '/api/v1/events/3420109251303971653', 'children': [{'date_happened': 1468117261, 'alert_type': 'info', 'id': '3420109230751879169'}, {'date_happened': 1468119666, 'alert_type': 'info', 'id': '3420149568900173826'}]}
{'date_happened': 1468023435, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Host is down {{host.name}} ', 'url': '/event/event?id=3418535092740429768', 'text': u'%%%\n`datadog.agent.up` stopped reporting on host:NYs-MacBook-Pro-94.local\n\n{{#is_alert}}\nHost is down {{host.name}} \n{{/is_alert}} \n\n{{#is_recovery}}\nhost is back up! {{host.name}} \n{{/is_recovery}}\n\n- - -\n\n[[Monitor Status](/monitors#592979?)] \xb7 [[Edit Monitor](/monitors#592979/edit)]\n%%%', 'tags': ['host:nys-macbook-pro-94.local', 'monitor', 'test-group-1'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3418535092740429768, 'resource': '/api/v1/events/3418535092740429768', 'children': [{'date_happened': 1468023435, 'alert_type': 'success', 'id': '3418535088076363719'}, {'date_happened': 1468023588, 'alert_type': 'error', 'id': '3418537652423497698'}, {'date_happened': 1468029500, 'alert_type': 'success', 'id': '3418636841287424468'}, {'date_happened': 1468032319, 'alert_type': 'error', 'id': '3418684136276105855'}, {'date_happened': 1468036543, 'alert_type': 'success', 'id': '3418754997783894960'}, {'date_happened': 1468041276, 'alert_type': 'error', 'id': '3418834408960954534'}, {'date_happened': 1468064978, 'alert_type': 'success', 'id': '3419232057048438801'}, {'date_happened': 1468065036, 'alert_type': 'error', 'id': '3419233041166374935'}, {'date_happened': 1468071461, 'alert_type': 'success', 'id': '3419340836037464222'}, {'date_happened': 1468071526, 'alert_type': 'error', 'id': '3419341921238126759'}, {'date_happened': 1468077935, 'alert_type': 'success', 'id': '3419449450811101896'}, {'date_happened': 1468078056, 'alert_type': 'error', 'id': '3419451482531959508'}, {'date_happened': 1468089511, 'alert_type': 'success', 'id': '3419643655491686737'}, {'date_happened': 1468089570, 'alert_type': 'error', 'id': '3419644642663076184'}, {'date_happened': 1468091076, 'alert_type': 'success', 'id': '3419669914972066275'}, {'date_happened': 1468106016, 'alert_type': 'error', 'id': '3419920569750000266'}, {'date_happened': 1468106855, 'alert_type': 'success', 'id': '3419934647813935839'}, {'date_happened': 1468107575, 'alert_type': 'error', 'id': '3419946727510119206'}, {'date_happened': 1468107988, 'alert_type': 'success', 'id': '3419953642524906297'}, {'date_happened': 1468108045, 'alert_type': 'error', 'id': '3419954613556613950'}]}
{'date_happened': 1468029508, 'alert_type': 'error', 'is_aggregate': True, 'title': '[No data] Test', 'url': '/event/event?id=3418636973173119754', 'text': u'%%%\nTest\n\n\n\n**The monitor** has been missing data for the **last 5m**\n\nThe monitor was last triggered **19 secs ago**.\n\n- - -\n\n[[Monitor Status](/monitors#469391?)] \xb7 [[Edit Monitor](/monitors#469391/edit)]\n%%%', 'tags': ['monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3418636973173119754, 'resource': '/api/v1/events/3418636973173119754', 'children': [{'date_happened': 1468029508, 'alert_type': 'success', 'id': '3418636968995592969'}, {'date_happened': 1468036584, 'alert_type': 'success', 'id': '3418755690431255163'}, {'date_happened': 1468041441, 'alert_type': 'error', 'id': '3418837178191450805'}, {'date_happened': 1468091064, 'alert_type': 'success', 'id': '3419669706699707430'}, {'date_happened': 1468106182, 'alert_type': 'error', 'id': '3419923352653927702'}, {'date_happened': 1468106901, 'alert_type': 'success', 'id': '3419935420455065046'}, {'date_happened': 1468107739, 'alert_type': 'error', 'id': '3419949478805771922'}]}
{'date_happened': 1468029405, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up', 'url': '/event/event?id=3418635720619728088', 'text': ' NYs-MacBook-Pro-94.local reported that Test_Ping (http://google.com) recovered', 'tags': ['test-group-1', 'type:test_tag', 'url:http://google.com'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'My Apps', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3418635720619728088, 'resource': '/api/v1/events/3418635720619728088', 'children': [{'date_happened': 1468029405, 'alert_type': 'error', 'id': '3418635720552619223'}, {'date_happened': 1468029447, 'alert_type': 'success', 'id': '3418636039521050172'}, {'date_happened': 1468032190, 'alert_type': 'error', 'id': '3418754814090156406'}, {'date_happened': 1468036543, 'alert_type': 'success', 'id': '3418755190336002846'}, {'date_happened': 1468089429, 'alert_type': 'error', 'id': '3419642810154881050'}, {'date_happened': 1468098562, 'alert_type': 'error', 'id': '3419795701276613967'}, {'date_happened': 1468098583, 'alert_type': 'success', 'id': '3419795993787375245'}, {'date_happened': 1468101624, 'alert_type': 'error', 'id': '3419847950157750089'}, {'date_happened': 1468101705, 'alert_type': 'success', 'id': '3419848437183549895'}, {'date_happened': 1468101877, 'alert_type': 'error', 'id': '3419851489663786623'}, {'date_happened': 1468101899, 'alert_type': 'success', 'id': '3419851711106260739'}, {'date_happened': 1468106768, 'alert_type': 'error', 'id': '3419933734210639636'}, {'date_happened': 1468106815, 'alert_type': 'success', 'id': '3419934070241499256'}]}
{'date_happened': 1468090997, 'alert_type': 'info', 'is_aggregate': True, 'title': "NYs-MacBook-Pro-94.local's Datadog Agent has started", 'url': '/event/event?id=3419668887032045189', 'text': u'', 'tags': ['test-group-1'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Datadog', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3419668887032045189, 'resource': '/api/v1/events/3419668887032045189', 'children': [{'date_happened': 1468090997, 'alert_type': 'info', 'id': '3419668886948159108'}]}
{'date_happened': 1468025236, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Network Check Test Group is 25% down or more is ok on 1 *', 'url': '/event/event?id=3418565306308630646', 'text': u'%%%\n`http.can_connect` recovered on *\n\nNetwork Check Test Group is 25% down or more.\n\nInfo:\n\nurl_name: {{url.name}} \ninstance_name: {{instance.name}} \nhost_ip: {{host.ip}} \nhost_name: {{host.name}} \n\nExtra:\nhost_test-group-1: {{host.test-group-1}} \nhost_tester1: {{host.tester1}}\n\n- - -\n\n[[Monitor Status](/monitors#608683?)] \xb7 [[Edit Monitor](/monitors#608683/edit)]\n%%%', 'tags': ['monitor', 'type:test_tag'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3418565306308630646, 'resource': '/api/v1/events/3418565306308630646', 'children': [{'date_happened': 1468025236, 'alert_type': 'error', 'id': '3418565304245033077'}, {'date_happened': 1468029500, 'alert_type': 'success', 'id': '3418636839156718035'}, {'date_happened': 1468033996, 'alert_type': 'error', 'id': '3418712262943185645'}, {'date_happened': 1468036543, 'alert_type': 'success', 'id': '3418754996458494895'}, {'date_happened': 1468042959, 'alert_type': 'error', 'id': '3418862649293672764'}, {'date_happened': 1468064978, 'alert_type': 'success', 'id': '3419232061829945362'}, {'date_happened': 1468066716, 'alert_type': 'error', 'id': '3419261225328974021'}, {'date_happened': 1468071461, 'alert_type': 'success', 'id': '3419340837262200991'}, {'date_happened': 1468073195, 'alert_type': 'error', 'id': '3419369916640268655'}, {'date_happened': 1468077935, 'alert_type': 'success', 'id': '3419449449217266375'}, {'date_happened': 1468079743, 'alert_type': 'error', 'id': '3419479771988366151'}, {'date_happened': 1468089511, 'alert_type': 'success', 'id': '3419643657337180498'}]}
{'date_happened': 1468031208, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host', 'url': '/event/event?id=3418665494624869647', 'text': u'%%%\nWent critical on host:\n\nTest was below 1 during the last 5 minutes. This is on host {{host.name}}\n\n- - -\n\n[[Monitor Status](/monitors#519901?)] \xb7 [[Edit Monitor](/monitors#519901/edit)]\n%%%', 'tags': ['host:', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3418665494624869647, 'resource': '/api/v1/events/3418665494624869647', 'children': [{'date_happened': 1468031208, 'alert_type': 'error', 'id': '3418665492510940430'}, {'date_happened': 1468033211, 'alert_type': 'success', 'id': '3418699100898467574'}, {'date_happened': 1468033509, 'alert_type': 'error', 'id': '3418704105961430839'}]}
{'date_happened': 1468030900, 'alert_type': 'info', 'is_aggregate': True, 'title': 'Downtime on Test ended and rescheduled', 'url': '/event/event?id=3418660342929036095', 'text': '%%%\nScheduled downtime on **[Test](/monitors#469391?)** has ended and has been rescheduled for Jul 10, 2016 at 02:07:00.\n\n%%%\n%%%\ntesting downtimes: @[email protected] \n%%%', 'tags': ['audit', 'downtime', 'monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Datadog', 'host': None, 'id': 3418660342929036095, 'resource': '/api/v1/events/3418660342929036095', 'children': [{'date_happened': 1468030900, 'alert_type': 'info', 'id': '3418660331403087875'}, {'date_happened': 1468033203, 'alert_type': 'info', 'id': '3418698969700634625'}]}
{'date_happened': 1467937583, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Host is down {{host.name}} ', 'url': '/event/event?id=3417094725327395711', 'text': u'%%%\n`datadog.agent.up` stopped reporting on host:NYs-MacBook-Pro-94.local\n\n{{#is_alert}}\nHost is down {{host.name}} \n{{/is_alert}} \n\n{{#is_recovery}}\nhost is back up! {{host.name}} \n{{/is_recovery}}\n\n- - -\n\n[[Monitor Status](/monitors#592979?)] \xb7 [[Edit Monitor](/monitors#592979/edit)]\n%%%', 'tags': ['host:nys-macbook-pro-94.local', 'host:precise64', 'monitor', 'test-group-1', 'tester1', 'zero'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'precise64', 'id': 3417094725327395711, 'resource': '/api/v1/events/3417094725327395711', 'children': [{'date_happened': 1467937583, 'alert_type': 'error', 'id': '3417094722844367740'}, {'date_happened': 1467937583, 'alert_type': 'error', 'id': '3417094724270431101'}, {'date_happened': 1467940343, 'alert_type': 'success', 'id': '3417141034352647361'}, {'date_happened': 1467940411, 'alert_type': 'error', 'id': '3417142178458115271'}, {'date_happened': 1467952459, 'alert_type': 'success', 'id': '3417344309601505822'}, {'date_happened': 1467952584, 'alert_type': 'error', 'id': '3417346397207269930'}, {'date_happened': 1467956421, 'alert_type': 'success', 'id': '3417410780327318549'}, {'date_happened': 1467956549, 'alert_type': 'error', 'id': '3417412918449280039'}, {'date_happened': 1467963870, 'alert_type': 'success', 'id': '3417535758624364465'}, {'date_happened': 1467963925, 'alert_type': 'error', 'id': '3417536677680256949'}, {'date_happened': 1467976824, 'alert_type': 'success', 'id': '3417753083684331225'}, {'date_happened': 1467976940, 'alert_type': 'error', 'id': '3417755027425468137'}, {'date_happened': 1467988565, 'alert_type': 'success', 'id': '3417950067980505090'}, {'date_happened': 1467988565, 'alert_type': 'success', 'id': '3417950069742112771'}, {'date_happened': 1467995180, 'alert_type': 'error', 'id': '3418061054867936399'}, {'date_happened': 1467995181, 'alert_type': 'error', 'id': '3418061056075895952'}, {'date_happened': 1467997498, 'alert_type': 'success', 'id': '3418099928600155568'}, {'date_happened': 1467997498, 'alert_type': 'success', 'id': '3418099930026218929'}, {'date_happened': 1468004876, 'alert_type': 'error', 'id': '3418223722996175253'}, {'date_happened': 1468004876, 'alert_type': 'error', 'id': '3418223724120248726'}, {'date_happened': 1468005182, 'alert_type': 'success', 'id': '3418228858367775150'}, {'date_happened': 1468005296, 'alert_type': 'error', 'id': '3418230772530680252'}, {'date_happened': 1468005656, 'alert_type': 'success', 'id': '3418236797648375825'}, {'date_happened': 1468021755, 'alert_type': 'error', 'id': '3418506898746382102'}, {'date_happened': 1468021996, 'alert_type': 'success', 'id': '3418510948883765030'}, {'date_happened': 1468022115, 'alert_type': 'error', 'id': '3418512941933139765'}]}
{'date_happened': 1467937761, 'alert_type': 'error', 'is_aggregate': True, 'title': '[No data] Test', 'url': '/event/event?id=3417097720496660264', 'text': u'%%%\nTest\n\n\n\n**The monitor** has been missing data for the **last 5m**\n\nThe monitor was last triggered **26 secs ago**.\n\n- - -\n\n[[Monitor Status](/monitors#469391?)] \xb7 [[Edit Monitor](/monitors#469391/edit)]\n%%%', 'tags': ['monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3417097720496660264, 'resource': '/api/v1/events/3417097720496660264', 'children': [{'date_happened': 1467937761, 'alert_type': 'error', 'id': '3417097716033920807'}, {'date_happened': 1467940344, 'alert_type': 'success', 'id': '3417141046465794681'}, {'date_happened': 1467940648, 'alert_type': 'error', 'id': '3417146158902940349'}, {'date_happened': 1467952529, 'alert_type': 'error', 'id': '3417345480969949386'}, {'date_happened': 1467952762, 'alert_type': 'error', 'id': '3417349392091320583'}, {'date_happened': 1467956481, 'alert_type': 'error', 'id': '3417411784024266404'}, {'date_happened': 1467956728, 'alert_type': 'error', 'id': '3417415934623619009'}, {'date_happened': 1467988641, 'alert_type': 'error', 'id': '3417951333938892821'}, {'date_happened': 1467989006, 'alert_type': 'success', 'id': '3417957464602054759'}, {'date_happened': 1467995360, 'alert_type': 'error', 'id': '3418064066109773653'}, {'date_happened': 1467997590, 'alert_type': 'success', 'id': '3418101486431771252'}, {'date_happened': 1468005081, 'alert_type': 'error', 'id': '3418227154675045446'}, {'date_happened': 1468005204, 'alert_type': 'success', 'id': '3418229214061532273'}, {'date_happened': 1468005497, 'alert_type': 'error', 'id': '3418234143459251422'}, {'date_happened': 1468005798, 'alert_type': 'success', 'id': '3418239181808210025'}, {'date_happened': 1468021946, 'alert_type': 'error', 'id': '3418510105811882616'}]}
{'date_happened': 1467940270, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up', 'url': '/event/event?id=3417140197387671947', 'text': ' NYs-MacBook-Pro-94.local reported that Test_Ping (http://google.com) recovered', 'tags': ['test-group-1', 'type:test_tag', 'url:http://google.com'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'My Apps', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3417140197387671947, 'resource': '/api/v1/events/3417140197387671947', 'children': [{'date_happened': 1467940270, 'alert_type': 'error', 'id': '3417140197320563082'}, {'date_happened': 1467952438, 'alert_type': 'success', 'id': '3417344057322509854'}, {'date_happened': 1467956387, 'alert_type': 'error', 'id': '3417410301472021279'}, {'date_happened': 1467963783, 'alert_type': 'success', 'id': '3417534523099845107'}, {'date_happened': 1467988536, 'alert_type': 'error', 'id': '3417950056907542823'}, {'date_happened': 1467988556, 'alert_type': 'success', 'id': '3417950095176372717'}, {'date_happened': 1467998323, 'alert_type': 'error', 'id': '3418114010355078288'}, {'date_happened': 1467998343, 'alert_type': 'success', 'id': '3418114229029311985'}, {'date_happened': 1468005125, 'alert_type': 'error', 'id': '3418228255193308822'}, {'date_happened': 1468005644, 'alert_type': 'success', 'id': '3418236696297216561'}]}
{'date_happened': 1467937581, 'alert_type': 'error', 'is_aggregate': True, 'title': 'Test Host Monitor - {{host.name}} ', 'url': '/event/event?id=3417094725075737470', 'text': u'%%%\n`datadog.agent.up` stopped reporting on host:precise64\n\n{{#is_alert}}\nAlert triggered on {{host.name}} \n{{/is_alert}} \n{{#is_no_data}}\nNo Data triggered on {{host.name}} \n{{/is_no_data}}\n\n- - -\n\n[[Monitor Status](/monitors#518530?)] \xb7 [[Edit Monitor](/monitors#518530/edit)]\n%%%', 'tags': ['host:precise64', 'monitor', 'tester1', 'zero'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'precise64', 'id': 3417094725075737470, 'resource': '/api/v1/events/3417094725075737470', 'children': [{'date_happened': 1467937581, 'alert_type': 'error', 'id': '3417094700111240059'}, {'date_happened': 1467988565, 'alert_type': 'success', 'id': '3417950070027325444'}, {'date_happened': 1467995181, 'alert_type': 'error', 'id': '3418061056361108625'}, {'date_happened': 1467997497, 'alert_type': 'success', 'id': '3418099925076940206'}, {'date_happened': 1468004876, 'alert_type': 'error', 'id': '3418223721754661268'}]}
{'date_happened': 1467939262, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Network Check Test Group is 25% down or more is ok on 1 *', 'url': '/event/event?id=3417122892947659850', 'text': u'%%%\n`http.can_connect` recovered on *\n\nNetwork Check Test Group is 25% down or more.\n\nInfo:\n\nurl_name: {{url.name}} \ninstance_name: {{instance.name}} \nhost_ip: {{host.ip}} \nhost_name: {{host.name}} \n\nExtra:\nhost_test-group-1: {{host.test-group-1}} \nhost_tester1: {{host.tester1}}\n\n- - -\n\n[[Monitor Status](/monitors#608683?)] \xb7 [[Edit Monitor](/monitors#608683/edit)]\n%%%', 'tags': ['monitor', 'type:test_tag'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3417122892947659850, 'resource': '/api/v1/events/3417122892947659850', 'children': [{'date_happened': 1467939262, 'alert_type': 'error', 'id': '3417122891320269897'}, {'date_happened': 1467940343, 'alert_type': 'success', 'id': '3417141035980037314'}, {'date_happened': 1467942085, 'alert_type': 'error', 'id': '3417170257226243513'}, {'date_happened': 1467952459, 'alert_type': 'success', 'id': '3417344307907007005'}, {'date_happened': 1467954269, 'alert_type': 'error', 'id': '3417374671648068348'}, {'date_happened': 1467956421, 'alert_type': 'success', 'id': '3417410782625797142'}, {'date_happened': 1467958222, 'alert_type': 'error', 'id': '3417440998475699425'}, {'date_happened': 1467963870, 'alert_type': 'success', 'id': '3417535757500290992'}, {'date_happened': 1467965600, 'alert_type': 'error', 'id': '3417564771480770705'}, {'date_happened': 1467976824, 'alert_type': 'success', 'id': '3417753082107272920'}, {'date_happened': 1467978590, 'alert_type': 'error', 'id': '3417782705083916223'}, {'date_happened': 1467988565, 'alert_type': 'success', 'id': '3417950063870087169'}, {'date_happened': 1467996839, 'alert_type': 'error', 'id': '3418088879092143455'}, {'date_happened': 1467997497, 'alert_type': 'success', 'id': '3418099926519780783'}]}
{'date_happened': 1467898759, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up', 'url': '/event/event?id=3416443688094538771', 'text': ' NYs-MacBook-Pro-94.local reported that Test_Ping (http://google.com) recovered', 'tags': ['test-group-1', 'type:test_tag', 'url:http://google.com'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'My Apps', 'host': 'NYs-MacBook-Pro-94.local', 'id': 3416443688094538771, 'resource': '/api/v1/events/3416443688094538771', 'children': [{'date_happened': 1467898759, 'alert_type': 'error', 'id': '3416443688044207122'}, {'date_happened': 1467898781, 'alert_type': 'success', 'id': '3416443901920156825'}, {'date_happened': 1467874089, 'alert_type': 'success', 'id': '3416443998640807248'}, {'date_happened': 1467930755, 'alert_type': 'error', 'id': '3416980215761475664'}, {'date_happened': 1467930775, 'alert_type': 'success', 'id': '3416980788116200203'}]}
{'date_happened': 1467898884, 'alert_type': 'success', 'is_aggregate': True, 'title': '[Recovered] Test', 'url': '/event/event?id=3416445468056491272', 'text': u'%%%\nTest\n\n\n\n[![Metric Graph](https://p.datadoghq.com/snapshot/view/dd-snapshots-prod/org_45021/2016-07-07/ea160d44f9e6af9812a414825ba91bad15cbe98f.png)](/monitors#469391?to_ts=1467929040000&from_ts=1467927840000)\n\n**system.load.1** over **\\*** was **<= 10.0** at all times during the **last 5m**.\n\nThe monitor was last triggered **19 mins ago**.\n\n- - -\n\n[[Monitor Status](/monitors#469391?)] \xb7 [[Edit Monitor](/monitors#469391/edit)]\n%%%', 'tags': ['monitor'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': None, 'id': 3416445468056491272, 'resource': '/api/v1/events/3416445468056491272', 'children': [{'date_happened': 1467898884, 'alert_type': 'error', 'id': '3416445462654227717'}, {'date_happened': 1467899180, 'alert_type': 'warning', 'id': '3416450432971576667'}, {'date_happened': 1467899246, 'alert_type': 'success', 'id': '3416451534580356466'}, {'date_happened': 1467927980, 'alert_type': 'error', 'id': '3416933625348755652'}, {'date_happened': 1467929120, 'alert_type': 'success', 'id': '3416952738171327027'}]}
{'date_happened': 1467898826, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Host is down {{host.name}} is ok on 2 hosts', 'url': '/event/event?id=3416444506973671909', 'text': u'%%%\n`datadog.agent.up` recovered on host:NYs-MacBook-Pro-94.local \n\n`datadog.agent.up` recovered on host:precise64\n\n\n\n- - -\n\n[[Monitor Status](/monitors#592979?)] \xb7 [[Edit Monitor](/monitors#592979/edit)]\n%%%', 'tags': ['host:nys-macbook-pro-94.local', 'host:precise64', 'monitor', 'test-group-1', 'tester1', 'zero'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'precise64', 'id': 3416444506973671909, 'resource': '/api/v1/events/3416444506973671909', 'children': [{'date_happened': 1467898826, 'alert_type': 'success', 'id': '3416444502997471713'}, {'date_happened': 1467898827, 'alert_type': 'success', 'id': '3416444504020881890'}, {'date_happened': 1467927799, 'alert_type': 'error', 'id': '3416930588119013145'}, {'date_happened': 1467927800, 'alert_type': 'error', 'id': '3416930590501377818'}, {'date_happened': 1467929064, 'alert_type': 'success', 'id': '3416951811028817847'}, {'date_happened': 1467929064, 'alert_type': 'success', 'id': '3416951812270331832'}]}
{'date_happened': 1467898827, 'alert_type': 'success', 'is_aggregate': True, 'title': 'Test Host Monitor - {{host.name}} is ok on 1 host', 'url': '/event/event?id=3416444507242107366', 'text': u'%%%\n`datadog.agent.up` recovered on host:precise64\n\n{{#is_alert}}\nAlert triggered on {{host.name}} \n{{/is_alert}} \n{{#is_no_data}}\nNo Data triggered on {{host.name}} \n{{/is_no_data}}\n\n- - -\n\n[[Monitor Status](/monitors#518530?)] \xb7 [[Edit Monitor](/monitors#518530/edit)]\n%%%', 'tags': ['host:precise64', 'monitor', 'tester1', 'zero'], 'comments': [], 'device_name': None, 'priority': 'normal', 'source': 'Monitor Alert', 'host': 'precise64', 'id': 3416444507242107366, 'resource': '/api/v1/events/3416444507242107366', 'children': [{'date_happened': 1467898827, 'alert_type': 'success', 'id': '3416444504255762915'}, {'date_happened': 1467927800, 'alert_type': 'error', 'id': '3416930591055025947'}, {'date_happened': 1467929064, 'alert_type': 'success', 'id': '3416951809015551926'}]}
is_aggregate: True date_happened 1468462871 title Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host
is_aggregate: False date_happened 1468520547 title None
is_aggregate: True date_happened 1468458555 title Network Check Test Group is 25% down or more is ok on 1 *
is_aggregate: True date_happened 1468457059 title [Recovered] Test
is_aggregate: True date_happened 1468463541 title [Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up
is_aggregate: True date_happened 1468456876 title Host is down {{host.name}} is ok on 1 host
is_aggregate: True date_happened 1468462858 title Downtime on Test ended and rescheduled
is_aggregate: True date_happened 1468377812 title [Recovered] Test
is_aggregate: True date_happened 1468377409 title Network Check Test Group is 25% down or more is ok on 1 *
is_aggregate: True date_happened 1468377409 title Host is down {{host.name}} is ok on 1 host
is_aggregate: True date_happened 1468377331 title [Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up
is_aggregate: True date_happened 1468376429 title Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host
is_aggregate: True date_happened 1468376418 title Downtime on Test ended and rescheduled
is_aggregate: True date_happened 1468284731 title Network Check Test Group is 25% down or more
is_aggregate: True date_happened 1468283242 title [No data] Test
is_aggregate: True date_happened 1468283067 title Host is down {{host.name}}
is_aggregate: True date_happened 1468285632 title [Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up
is_aggregate: True date_happened 1468290028 title Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host
is_aggregate: True date_happened 1468290016 title Downtime on Test ended and rescheduled
is_aggregate: True date_happened 1468210599 title [Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up
is_aggregate: True date_happened 1468210697 title [Recovered] Test
is_aggregate: True date_happened 1468210654 title Host is down {{host.name}} is ok on 1 host
is_aggregate: True date_happened 1468201895 title Network Check Test Group is 25% down or more is ok on 1 *
is_aggregate: False date_happened 1468235618 title [Monitor Report] You received 273 alerts, -50% from the previous week
is_aggregate: True date_happened 1468203626 title Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host
is_aggregate: True date_happened 1468203610 title Downtime on Test ended and rescheduled
is_aggregate: True date_happened 1468109751 title Network Check Test Group is 25% down or more
is_aggregate: True date_happened 1468119380 title [No data] Test
is_aggregate: True date_happened 1468118989 title Host is down {{host.name}}
is_aggregate: True date_happened 1468118614 title [Alert] NYs-MacBook-Pro-94.local reported that Test_Ping is down
is_aggregate: True date_happened 1468117267 title Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host
is_aggregate: True date_happened 1468117261 title Downtime on Test ended and rescheduled
is_aggregate: True date_happened 1468023435 title Host is down {{host.name}}
is_aggregate: True date_happened 1468029508 title [No data] Test
is_aggregate: True date_happened 1468029405 title [Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up
is_aggregate: True date_happened 1468090997 title NYs-MacBook-Pro-94.local's Datadog Agent has started
is_aggregate: True date_happened 1468025236 title Network Check Test Group is 25% down or more is ok on 1 *
is_aggregate: True date_happened 1468031208 title Test was below 1 during the last 5 minutes. This on host {{host.name}} is critical on 1 host
is_aggregate: True date_happened 1468030900 title Downtime on Test ended and rescheduled
is_aggregate: True date_happened 1467937583 title Host is down {{host.name}}
is_aggregate: True date_happened 1467937761 title [No data] Test
is_aggregate: True date_happened 1467940270 title [Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up
is_aggregate: True date_happened 1467937581 title Test Host Monitor - {{host.name}}
is_aggregate: True date_happened 1467939262 title Network Check Test Group is 25% down or more is ok on 1 *
is_aggregate: True date_happened 1467898759 title [Recovered] NYs-MacBook-Pro-94.local reported that Test_Ping is up
is_aggregate: True date_happened 1467898884 title [Recovered] Test
is_aggregate: True date_happened 1467898826 title Host is down {{host.name}} is ok on 2 hosts
is_aggregate: True date_happened 1467898827 title Test Host Monitor - {{host.name}} is ok on 1 host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment