[
{
"name":"osweekends.com",
"type":"Host",
"severity":8,
"next_check":1540833412.875347,
"last_state_up":1540833354.605332,
"last_state_change":1539264006.554773,
"last_state_down":1539263928.130967,
"output":{
"raw":"PING OK - Packet loss = 0%, RTA = 4.24 ms",
"ping":"OK",
"packet_loss":"0%,",
"rta_ms":"4.24"
},
"state":{
"value":0,
"host_state":"Up",
"service_state":"OK"
},
"isActive":true
},
{
"name":"airemad.com",
"type":"Host",
"severity":8,
"next_check":1540833412.740223,
"last_state_up":1540833296.200067,
"last_state_change":1539302083.032916,
"last_state_down":1539301996.254393,
"output":{
"raw":"PING OK - Packet loss = 0%, RTA = 102.83 ms",
"ping":"OK",
"packet_loss":"0%,",
"rta_ms":"102.83"
},
"state":{
"value":0,
"host_state":"Up",
"service_state":"OK"
},
"isActive":true
},
{
"name":"curratelo.es",
"type":"Host",
"severity":8,
"next_check":1540833411.15448,
"last_state_up":1540833294.614335,
"last_state_change":1540271408.929598,
"last_state_down":1540271374.561225,
"output":{
"raw":"PING OK - Packet loss = 0%, RTA = 10.42 ms",
"ping":"OK",
"packet_loss":"0%,",
"rta_ms":"10.42"
},
"state":{
"value":0,
"host_state":"Up",
"service_state":"OK"
},
"isActive":true
},
{
"name":"namek.osweekends.com",
"type":"Host",
"severity":8,
"next_check":1540833410.479858,
"last_state_up":1540833352.209846,
"last_state_change":1539818915.599079,
"last_state_down":1538053219.294041,
"output":{
"raw":"PING OK - Packet loss = 0%, RTA = 1.88 ms",
"ping":"OK",
"packet_loss":"0%,",
"rta_ms":"1.88"
},
"state":{
"value":0,
"host_state":"Up",
"service_state":"OK"
},
"isActive":true
}
]
{
"name":"curratelo.es",
"type":"Host",
"severity":8,
"next_check":1540834038.3737059,
"last_state_up":1540833980.103692,
"last_state_change":1540271408.929598,
"last_state_down":1540271374.561225,
"output":{
"raw":"PING OK - Packet loss = 0%, RTA = 10.40 ms",
"ping":"OK",
"packet_loss":"0%,",
"rta_ms":"10.40"
},
"state":{
"value":0,
"host_state":"Up",
"service_state":"OK"
},
"isActive":true
}
[GET] /api/v1/host
[ { "name":"osweekends.com", "type":"Host", "severity":8, "next_check":1540833412.875347, "last_state_up":1540833354.605332, "last_state_change":1539264006.554773, "last_state_down":1539263928.130967, "output":{ "raw":"PING OK - Packet loss = 0%, RTA = 4.24 ms", "ping":"OK", "packet_loss":"0%,", "rta_ms":"4.24" }, "state":{ "value":0, "host_state":"Up", "service_state":"OK" }, "isActive":true }, { "name":"airemad.com", "type":"Host", "severity":8, "next_check":1540833412.740223, "last_state_up":1540833296.200067, "last_state_change":1539302083.032916, "last_state_down":1539301996.254393, "output":{ "raw":"PING OK - Packet loss = 0%, RTA = 102.83 ms", "ping":"OK", "packet_loss":"0%,", "rta_ms":"102.83" }, "state":{ "value":0, "host_state":"Up", "service_state":"OK" }, "isActive":true }, { "name":"curratelo.es", "type":"Host", "severity":8, "next_check":1540833411.15448, "last_state_up":1540833294.614335, "last_state_change":1540271408.929598, "last_state_down":1540271374.561225, "output":{ "raw":"PING OK - Packet loss = 0%, RTA = 10.42 ms", "ping":"OK", "packet_loss":"0%,", "rta_ms":"10.42" }, "state":{ "value":0, "host_state":"Up", "service_state":"OK" }, "isActive":true }, { "name":"namek.osweekends.com", "type":"Host", "severity":8, "next_check":1540833410.479858, "last_state_up":1540833352.209846, "last_state_change":1539818915.599079, "last_state_down":1538053219.294041, "output":{ "raw":"PING OK - Packet loss = 0%, RTA = 1.88 ms", "ping":"OK", "packet_loss":"0%,", "rta_ms":"1.88" }, "state":{ "value":0, "host_state":"Up", "service_state":"OK" }, "isActive":true } ][GET] /api/v1/host/curratelo.es
{ "name":"curratelo.es", "type":"Host", "severity":8, "next_check":1540834038.3737059, "last_state_up":1540833980.103692, "last_state_change":1540271408.929598, "last_state_down":1540271374.561225, "output":{ "raw":"PING OK - Packet loss = 0%, RTA = 10.40 ms", "ping":"OK", "packet_loss":"0%,", "rta_ms":"10.40" }, "state":{ "value":0, "host_state":"Up", "service_state":"OK" }, "isActive":true }