xcal-parktronic 0.0.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +8 -8
  2. data/.travis.yml +7 -0
  3. data/README.md +73 -7
  4. data/lib/xcal/parktronic.rb +11 -0
  5. data/lib/xcal/parktronic/api_client.rb +8 -5
  6. data/lib/xcal/parktronic/generic_response.rb +18 -2
  7. data/lib/xcal/parktronic/routes.rb +9 -2
  8. data/lib/xcal/parktronic/routes/alarms.rb +115 -34
  9. data/lib/xcal/parktronic/routes/command_notifications.rb +56 -0
  10. data/lib/xcal/parktronic/routes/custom_queries.rb +80 -0
  11. data/lib/xcal/parktronic/routes/event_history_items.rb +36 -0
  12. data/lib/xcal/parktronic/routes/events.rb +67 -0
  13. data/lib/xcal/parktronic/routes/metrics.rb +120 -0
  14. data/lib/xcal/parktronic/routes/nested/alarm_actions.rb +84 -0
  15. data/lib/xcal/parktronic/routes/nested/device_errors.rb +35 -0
  16. data/lib/xcal/parktronic/routes/nested/events.rb +57 -0
  17. data/lib/xcal/parktronic/routes/nested/metric_values.rb +35 -0
  18. data/lib/xcal/parktronic/routes/outages.rb +34 -0
  19. data/lib/xcal/parktronic/routes/stack_changes.rb +53 -0
  20. data/lib/xcal/parktronic/version.rb +1 -1
  21. data/spec/lib/xcal/parktronic/api_client_spec.rb +12 -2
  22. data/spec/lib/xcal/parktronic/routes/alarms_route_spec.rb +16 -1
  23. data/spec/lib/xcal/parktronic/routes/command_notifications_routes_spec.rb +32 -0
  24. data/spec/lib/xcal/parktronic/routes/event_history_items_routes_spec.rb +28 -0
  25. data/spec/lib/xcal/parktronic/routes/events_route_spec.rb +33 -0
  26. data/spec/lib/xcal/parktronic/routes/metrics_routes_spec.rb +92 -49
  27. data/spec/lib/xcal/parktronic/routes/nested/alarm_actions_spec.rb +58 -0
  28. data/spec/lib/xcal/parktronic/routes/nested/events_spec.rb +24 -0
  29. data/spec/lib/xcal/parktronic/routes/outages_routes_spec.rb +25 -0
  30. data/spec/lib/xcal/parktronic/routes/stack_changes_routes_spec.rb +38 -0
  31. data/spec/support/api_mock.rb +147 -2
  32. data/spec/support/fixtures/responses/alarm_action.json +19 -0
  33. data/spec/support/fixtures/responses/alarm_actions.json +40 -0
  34. data/spec/support/fixtures/responses/alarm_events.json +180 -0
  35. data/spec/support/fixtures/responses/alarm_post.json +12 -0
  36. data/spec/support/fixtures/responses/alarm_tags.json +1 -0
  37. data/spec/support/fixtures/responses/command_notification.json +7 -0
  38. data/spec/support/fixtures/responses/command_notifications.json +45 -0
  39. data/spec/support/fixtures/responses/event.json +22 -0
  40. data/spec/support/fixtures/responses/event_tags.json +1 -0
  41. data/spec/support/fixtures/responses/events.json +42 -0
  42. data/spec/support/fixtures/responses/events_history_page_1.json +55 -0
  43. data/spec/support/fixtures/responses/events_history_page_2.json +55 -0
  44. data/spec/support/fixtures/responses/metric.json +8 -0
  45. data/spec/support/fixtures/responses/metric_device_errors.json +610 -0
  46. data/spec/support/fixtures/responses/metric_metric_values.json +586 -0
  47. data/spec/support/fixtures/responses/metric_post.json +12 -0
  48. data/spec/support/fixtures/responses/metrics_page_1.json +90 -0
  49. data/spec/support/fixtures/responses/metrics_page_2.json +90 -0
  50. data/spec/support/fixtures/responses/outages_page_1.json +55 -0
  51. data/spec/support/fixtures/responses/outages_page_2.json +55 -0
  52. data/spec/support/fixtures/responses/stack_changes_page_1.json +80 -0
  53. data/spec/support/fixtures/responses/stack_changes_page_2.json +80 -0
  54. data/spec/support/fixtures/responses/stack_changes_post.json +12 -0
  55. data/xcal-parktronic.gemspec +1 -1
  56. metadata +76 -2
@@ -0,0 +1,12 @@
1
+ {
2
+ "message":"Metric created",
3
+ "metric":{
4
+ "id":1924,
5
+ "name":"custom_metric",
6
+ "description":null,
7
+ "metric_type":null,
8
+ "created_at":"2013-12-14T12:55:19.000Z",
9
+ "updated_at":"2013-12-14T12:55:19.000Z",
10
+ "is_data_center_state":false
11
+ }
12
+ }
@@ -0,0 +1 @@
1
+ [{"id":1, "name": "alarm tag 1"}, {"id":2, "name": "alarm tag 2"}]
@@ -0,0 +1,7 @@
1
+ {
2
+ "remote_command":{
3
+ "command_id":1,
4
+ "host":"app-test-e1",
5
+ "command":"ping -c 1"
6
+ }
7
+ }
@@ -0,0 +1,45 @@
1
+ [
2
+ {
3
+ "remote_commands":[
4
+ {
5
+ "remote_command":{
6
+ "command_id":1,
7
+ "host":"app-test-e1",
8
+ "command":"ping -c 1"
9
+ }
10
+ },
11
+ {
12
+ "remote_command":{
13
+ "command_id":2,
14
+ "host":"app-test-e2",
15
+ "command":"ping -c 2"
16
+ }
17
+ },
18
+ {
19
+ "remote_command":{
20
+ "command_id":3,
21
+ "host":"app-test-e3",
22
+ "command":"ping -c 3"
23
+ }
24
+ },
25
+ {
26
+ "remote_command":{
27
+ "command_id":4,
28
+ "host":"app-test-e4",
29
+ "command":"ping -c 4"
30
+ }
31
+ },
32
+ {
33
+ "remote_command":{
34
+ "command_id":5,
35
+ "host":"app-test-e5",
36
+ "command":"ping -c 5"
37
+ }
38
+ }
39
+ ],
40
+ "page":1,
41
+ "per_page":10,
42
+ "total_count":5,
43
+ "total_pages":1
44
+ }
45
+ ]
@@ -0,0 +1,22 @@
1
+ {
2
+ "event":
3
+ {"id": 1,
4
+ "alarm_id": 2,
5
+ "event_hash": "c2f3721645d8a12fb501a07b5f51248851c55fe2",
6
+ "subject": "CRITICAL Redis Hitrate alert",
7
+ "description": "CRITICAL: hitrate is 0 80 - REDIS 2.6.14 on 172.24.141.113:6379 has 1 databases (db0) with 276 keys, up 1 minutes 32 seconds - hitrate is 0.00%",
8
+ "aggregated_count": 2,
9
+ "host_impacted": "oiv-br-001",
10
+ "service_impacted": "Redis Hitrate",
11
+ "threshold_value": null,
12
+ "jira_incident_id":" IFS-45469",
13
+ "jira_incident_status": null,
14
+ "incident_status": "CRITICAL",
15
+ "brouha_incident_id": null,
16
+ "brouha_incident_status": null,
17
+ "initiated_at": "2014-01-21T13:24:18.000Z",
18
+ "created_at": "2014-01-21T12:24:19.000Z",
19
+ "updated_at": "2014-01-21T13:24:19.000Z",
20
+ "jira_browse_issue_path": "https://www.teamccp.com/jira/browse/IFS-45469"
21
+ }
22
+ }
@@ -0,0 +1 @@
1
+ [{"id":1, "name": "event tag 1"}, {"id":2, "name": "event tag 2"}]
@@ -0,0 +1,42 @@
1
+ [
2
+ {
3
+ "id": 1,
4
+ "alarm_id": 2,
5
+ "event_hash": "c2f3721645d8a12fb501a07b5f51248851c55fe2",
6
+ "subject": "CRITICAL Redis Hitrate alert",
7
+ "description": "CRITICAL: hitrate is 0 80 - REDIS 2.6.14 on 172.24.141.113:6379 has 1 databases (db0) with 276 keys, up 1 minutes 32 seconds - hitrate is 0.00%",
8
+ "aggregated_count": 2,
9
+ "host_impacted": "oiv-br-001",
10
+ "service_impacted": "Redis Hitrate",
11
+ "threshold_value": null,
12
+ "jira_incident_id":" IFS-45469",
13
+ "jira_incident_status": null,
14
+ "incident_status": "CRITICAL",
15
+ "brouha_incident_id": null,
16
+ "brouha_incident_status": null,
17
+ "initiated_at": "2014-01-21T13:24:18.000Z",
18
+ "created_at": "2014-01-21T12:24:19.000Z",
19
+ "updated_at": "2014-01-21T13:24:19.000Z",
20
+ "jira_browse_issue_path": "https://www.teamccp.com/jira/browse/IFS-45469"
21
+ },
22
+ {
23
+ "id": 2,
24
+ "alarm_id": 2,
25
+ "event_hash": "711a9269ae154b71f9947ca5829bb2c3261fe1fb",
26
+ "subject": "CRITICAL Disks Status alert",
27
+ "description": "DISK CRITICAL - free space: / 4475 MB (46% inode=86%): /boot 62 MB (66% inode=99%): /opt 11335 MB (37% inode=98%): /tmp 112 MB (5% inode=99%): /var 26324 MB (91% inode=99%):",
28
+ "aggregated_count": 1,
29
+ "host_impacted": "ccpcap-br-c501-p",
30
+ "service_impacted": "Disks Status",
31
+ "threshold_value": null,
32
+ "jira_incident_id": null,
33
+ "jira_incident_status": null,
34
+ "incident_status": "CRITICAL",
35
+ "brouha_incident_id": null,
36
+ "brouha_incident_status": null,
37
+ "initiated_at": "2014-01-23T13:46:27.000Z",
38
+ "created_at": "2014-01-23T13:46:27.000Z",
39
+ "updated_at": "2014-01-23T13:46:27.000Z",
40
+ "jira_browse_issue_path": null
41
+ }
42
+ ]
@@ -0,0 +1,55 @@
1
+ [
2
+ {
3
+ "event_history_items":[
4
+ {
5
+ "event_history_item":{
6
+ "event_id":1,
7
+ "incident_status":"Resolved",
8
+ "host":"host1",
9
+ "service":"service1",
10
+ "initiated_at":"2013-12-30T21:03:39.000Z"
11
+ }
12
+ },
13
+ {
14
+ "event_history_item":{
15
+ "event_id":1,
16
+ "incident_status":"In Progress",
17
+ "host":"host1",
18
+ "service":"service1",
19
+ "initiated_at":"2013-12-29T21:03:39.000Z"
20
+ }
21
+ },
22
+ {
23
+ "event_history_item":{
24
+ "event_id":1,
25
+ "incident_status":"Open",
26
+ "host":"host1",
27
+ "service":"service1",
28
+ "initiated_at":"2013-12-28T21:03:39.000Z"
29
+ }
30
+ },
31
+ {
32
+ "event_history_item":{
33
+ "event_id":1,
34
+ "incident_status":"Resolved",
35
+ "host":"host1",
36
+ "service":"service1",
37
+ "initiated_at":"2013-12-27T21:03:39.000Z"
38
+ }
39
+ },
40
+ {
41
+ "event_history_item":{
42
+ "event_id":2,
43
+ "incident_status":"ACKNOWLEDGED",
44
+ "host":"host1",
45
+ "service":"service1",
46
+ "initiated_at":"2013-12-26T21:03:39.000Z"
47
+ }
48
+ }
49
+ ],
50
+ "page":1,
51
+ "per_page":5,
52
+ "total_count":10,
53
+ "total_pages":2
54
+ }
55
+ ]
@@ -0,0 +1,55 @@
1
+ [
2
+ {
3
+ "event_history_items":[
4
+ {
5
+ "event_history_item":{
6
+ "event_id":2,
7
+ "incident_status":"NEW",
8
+ "host":"host1",
9
+ "service":"service1",
10
+ "initiated_at":"2013-12-25T21:03:39.000Z"
11
+ }
12
+ },
13
+ {
14
+ "event_history_item":{
15
+ "event_id":2,
16
+ "incident_status":"Up",
17
+ "host":"host1",
18
+ "service":"service1",
19
+ "initiated_at":"2013-12-24T22:03:39.000Z"
20
+ }
21
+ },
22
+ {
23
+ "event_history_item":{
24
+ "event_id":2,
25
+ "incident_status":"Down",
26
+ "host":"host1",
27
+ "service":"service1",
28
+ "initiated_at":"2013-12-24T21:03:39.000Z"
29
+ }
30
+ },
31
+ {
32
+ "event_history_item":{
33
+ "event_id":1,
34
+ "incident_status":"Open",
35
+ "host":"host1",
36
+ "service":"service1",
37
+ "initiated_at":"2013-12-23T21:03:39.000Z"
38
+ }
39
+ },
40
+ {
41
+ "event_history_item":{
42
+ "event_id":1,
43
+ "incident_status":"New",
44
+ "host":"host1",
45
+ "service":"service1",
46
+ "initiated_at":"2013-12-23T11:03:39.000Z"
47
+ }
48
+ }
49
+ ],
50
+ "page":2,
51
+ "per_page":5,
52
+ "total_count":10,
53
+ "total_pages":2
54
+ }
55
+ ]
@@ -0,0 +1,8 @@
1
+ {
2
+ "metric":{
3
+ "id":7,
4
+ "name":"Metric Name",
5
+ "description":null,
6
+ "metric_type":null
7
+ }
8
+ }
@@ -0,0 +1,610 @@
1
+ [
2
+ {
3
+ "total_count":2358,
4
+ "total_pages":24,
5
+ "page":1,
6
+ "per_page":100,
7
+ "device_errors":[
8
+ {
9
+ "device_error":{
10
+ "value":53,
11
+ "timestamp":"2013-12-13T12:35:00.000Z"
12
+ }
13
+ },
14
+ {
15
+ "device_error":{
16
+ "value":44,
17
+ "timestamp":"2013-12-13T12:35:00.000Z"
18
+ }
19
+ },
20
+ {
21
+ "device_error":{
22
+ "value":33,
23
+ "timestamp":"2013-12-13T12:35:00.000Z"
24
+ }
25
+ },
26
+ {
27
+ "device_error":{
28
+ "value":2,
29
+ "timestamp":"2013-12-13T12:35:00.000Z"
30
+ }
31
+ },
32
+ {
33
+ "device_error":{
34
+ "value":5,
35
+ "timestamp":"2013-12-13T12:35:00.000Z"
36
+ }
37
+ },
38
+ {
39
+ "device_error":{
40
+ "value":50,
41
+ "timestamp":"2013-12-13T12:35:00.000Z"
42
+ }
43
+ },
44
+ {
45
+ "device_error":{
46
+ "value":1,
47
+ "timestamp":"2013-12-13T12:35:00.000Z"
48
+ }
49
+ },
50
+ {
51
+ "device_error":{
52
+ "value":140,
53
+ "timestamp":"2013-12-13T12:40:00.000Z"
54
+ }
55
+ },
56
+ {
57
+ "device_error":{
58
+ "value":44,
59
+ "timestamp":"2013-12-13T12:40:00.000Z"
60
+ }
61
+ },
62
+ {
63
+ "device_error":{
64
+ "value":48,
65
+ "timestamp":"2013-12-13T12:40:00.000Z"
66
+ }
67
+ },
68
+ {
69
+ "device_error":{
70
+ "value":1,
71
+ "timestamp":"2013-12-13T12:40:00.000Z"
72
+ }
73
+ },
74
+ {
75
+ "device_error":{
76
+ "value":7,
77
+ "timestamp":"2013-12-13T12:40:00.000Z"
78
+ }
79
+ },
80
+ {
81
+ "device_error":{
82
+ "value":85,
83
+ "timestamp":"2013-12-13T12:40:00.000Z"
84
+ }
85
+ },
86
+ {
87
+ "device_error":{
88
+ "value":2,
89
+ "timestamp":"2013-12-13T12:40:00.000Z"
90
+ }
91
+ },
92
+ {
93
+ "device_error":{
94
+ "value":68,
95
+ "timestamp":"2013-12-13T12:45:00.000Z"
96
+ }
97
+ },
98
+ {
99
+ "device_error":{
100
+ "value":49,
101
+ "timestamp":"2013-12-13T12:45:00.000Z"
102
+ }
103
+ },
104
+ {
105
+ "device_error":{
106
+ "value":46,
107
+ "timestamp":"2013-12-13T12:45:00.000Z"
108
+ }
109
+ },
110
+ {
111
+ "device_error":{
112
+ "value":1,
113
+ "timestamp":"2013-12-13T12:45:00.000Z"
114
+ }
115
+ },
116
+ {
117
+ "device_error":{
118
+ "value":1,
119
+ "timestamp":"2013-12-13T12:45:00.000Z"
120
+ }
121
+ },
122
+ {
123
+ "device_error":{
124
+ "value":1,
125
+ "timestamp":"2013-12-13T12:45:00.000Z"
126
+ }
127
+ },
128
+ {
129
+ "device_error":{
130
+ "value":11,
131
+ "timestamp":"2013-12-13T12:45:00.000Z"
132
+ }
133
+ },
134
+ {
135
+ "device_error":{
136
+ "value":47,
137
+ "timestamp":"2013-12-13T12:45:00.000Z"
138
+ }
139
+ },
140
+ {
141
+ "device_error":{
142
+ "value":1,
143
+ "timestamp":"2013-12-13T12:45:00.000Z"
144
+ }
145
+ },
146
+ {
147
+ "device_error":{
148
+ "value":64,
149
+ "timestamp":"2013-12-13T12:50:00.000Z"
150
+ }
151
+ },
152
+ {
153
+ "device_error":{
154
+ "value":32,
155
+ "timestamp":"2013-12-13T12:50:00.000Z"
156
+ }
157
+ },
158
+ {
159
+ "device_error":{
160
+ "value":29,
161
+ "timestamp":"2013-12-13T12:50:00.000Z"
162
+ }
163
+ },
164
+ {
165
+ "device_error":{
166
+ "value":1,
167
+ "timestamp":"2013-12-13T12:50:00.000Z"
168
+ }
169
+ },
170
+ {
171
+ "device_error":{
172
+ "value":8,
173
+ "timestamp":"2013-12-13T12:50:00.000Z"
174
+ }
175
+ },
176
+ {
177
+ "device_error":{
178
+ "value":63,
179
+ "timestamp":"2013-12-13T12:50:00.000Z"
180
+ }
181
+ },
182
+ {
183
+ "device_error":{
184
+ "value":75,
185
+ "timestamp":"2013-12-13T12:55:00.000Z"
186
+ }
187
+ },
188
+ {
189
+ "device_error":{
190
+ "value":37,
191
+ "timestamp":"2013-12-13T12:55:00.000Z"
192
+ }
193
+ },
194
+ {
195
+ "device_error":{
196
+ "value":93,
197
+ "timestamp":"2013-12-13T12:55:00.000Z"
198
+ }
199
+ },
200
+ {
201
+ "device_error":{
202
+ "value":13,
203
+ "timestamp":"2013-12-13T12:55:00.000Z"
204
+ }
205
+ },
206
+ {
207
+ "device_error":{
208
+ "value":77,
209
+ "timestamp":"2013-12-13T12:55:00.000Z"
210
+ }
211
+ },
212
+ {
213
+ "device_error":{
214
+ "value":1,
215
+ "timestamp":"2013-12-13T12:55:00.000Z"
216
+ }
217
+ },
218
+ {
219
+ "device_error":{
220
+ "value":58,
221
+ "timestamp":"2013-12-13T13:00:00.000Z"
222
+ }
223
+ },
224
+ {
225
+ "device_error":{
226
+ "value":53,
227
+ "timestamp":"2013-12-13T13:00:00.000Z"
228
+ }
229
+ },
230
+ {
231
+ "device_error":{
232
+ "value":151,
233
+ "timestamp":"2013-12-13T13:00:00.000Z"
234
+ }
235
+ },
236
+ {
237
+ "device_error":{
238
+ "value":1,
239
+ "timestamp":"2013-12-13T13:00:00.000Z"
240
+ }
241
+ },
242
+ {
243
+ "device_error":{
244
+ "value":7,
245
+ "timestamp":"2013-12-13T13:00:00.000Z"
246
+ }
247
+ },
248
+ {
249
+ "device_error":{
250
+ "value":53,
251
+ "timestamp":"2013-12-13T13:00:00.000Z"
252
+ }
253
+ },
254
+ {
255
+ "device_error":{
256
+ "value":1,
257
+ "timestamp":"2013-12-13T13:00:00.000Z"
258
+ }
259
+ },
260
+ {
261
+ "device_error":{
262
+ "value":1,
263
+ "timestamp":"2013-12-13T13:00:00.000Z"
264
+ }
265
+ },
266
+ {
267
+ "device_error":{
268
+ "value":53,
269
+ "timestamp":"2013-12-13T13:05:00.000Z"
270
+ }
271
+ },
272
+ {
273
+ "device_error":{
274
+ "value":42,
275
+ "timestamp":"2013-12-13T13:05:00.000Z"
276
+ }
277
+ },
278
+ {
279
+ "device_error":{
280
+ "value":114,
281
+ "timestamp":"2013-12-13T13:05:00.000Z"
282
+ }
283
+ },
284
+ {
285
+ "device_error":{
286
+ "value":7,
287
+ "timestamp":"2013-12-13T13:05:00.000Z"
288
+ }
289
+ },
290
+ {
291
+ "device_error":{
292
+ "value":75,
293
+ "timestamp":"2013-12-13T13:05:00.000Z"
294
+ }
295
+ },
296
+ {
297
+ "device_error":{
298
+ "value":3,
299
+ "timestamp":"2013-12-13T13:05:00.000Z"
300
+ }
301
+ },
302
+ {
303
+ "device_error":{
304
+ "value":59,
305
+ "timestamp":"2013-12-13T13:10:00.000Z"
306
+ }
307
+ },
308
+ {
309
+ "device_error":{
310
+ "value":39,
311
+ "timestamp":"2013-12-13T13:10:00.000Z"
312
+ }
313
+ },
314
+ {
315
+ "device_error":{
316
+ "value":39,
317
+ "timestamp":"2013-12-13T13:10:00.000Z"
318
+ }
319
+ },
320
+ {
321
+ "device_error":{
322
+ "value":5,
323
+ "timestamp":"2013-12-13T13:10:00.000Z"
324
+ }
325
+ },
326
+ {
327
+ "device_error":{
328
+ "value":8,
329
+ "timestamp":"2013-12-13T13:10:00.000Z"
330
+ }
331
+ },
332
+ {
333
+ "device_error":{
334
+ "value":60,
335
+ "timestamp":"2013-12-13T13:10:00.000Z"
336
+ }
337
+ },
338
+ {
339
+ "device_error":{
340
+ "value":1,
341
+ "timestamp":"2013-12-13T13:10:00.000Z"
342
+ }
343
+ },
344
+ {
345
+ "device_error":{
346
+ "value":2,
347
+ "timestamp":"2013-12-13T13:10:00.000Z"
348
+ }
349
+ },
350
+ {
351
+ "device_error":{
352
+ "value":59,
353
+ "timestamp":"2013-12-13T13:15:00.000Z"
354
+ }
355
+ },
356
+ {
357
+ "device_error":{
358
+ "value":47,
359
+ "timestamp":"2013-12-13T13:15:00.000Z"
360
+ }
361
+ },
362
+ {
363
+ "device_error":{
364
+ "value":23,
365
+ "timestamp":"2013-12-13T13:15:00.000Z"
366
+ }
367
+ },
368
+ {
369
+ "device_error":{
370
+ "value":1,
371
+ "timestamp":"2013-12-13T13:15:00.000Z"
372
+ }
373
+ },
374
+ {
375
+ "device_error":{
376
+ "value":9,
377
+ "timestamp":"2013-12-13T13:15:00.000Z"
378
+ }
379
+ },
380
+ {
381
+ "device_error":{
382
+ "value":51,
383
+ "timestamp":"2013-12-13T13:15:00.000Z"
384
+ }
385
+ },
386
+ {
387
+ "device_error":{
388
+ "value":43,
389
+ "timestamp":"2013-12-13T13:20:00.000Z"
390
+ }
391
+ },
392
+ {
393
+ "device_error":{
394
+ "value":38,
395
+ "timestamp":"2013-12-13T13:20:00.000Z"
396
+ }
397
+ },
398
+ {
399
+ "device_error":{
400
+ "value":22,
401
+ "timestamp":"2013-12-13T13:20:00.000Z"
402
+ }
403
+ },
404
+ {
405
+ "device_error":{
406
+ "value":3,
407
+ "timestamp":"2013-12-13T13:20:00.000Z"
408
+ }
409
+ },
410
+ {
411
+ "device_error":{
412
+ "value":8,
413
+ "timestamp":"2013-12-13T13:20:00.000Z"
414
+ }
415
+ },
416
+ {
417
+ "device_error":{
418
+ "value":48,
419
+ "timestamp":"2013-12-13T13:20:00.000Z"
420
+ }
421
+ },
422
+ {
423
+ "device_error":{
424
+ "value":1,
425
+ "timestamp":"2013-12-13T13:20:00.000Z"
426
+ }
427
+ },
428
+ {
429
+ "device_error":{
430
+ "value":49,
431
+ "timestamp":"2013-12-13T13:25:00.000Z"
432
+ }
433
+ },
434
+ {
435
+ "device_error":{
436
+ "value":33,
437
+ "timestamp":"2013-12-13T13:25:00.000Z"
438
+ }
439
+ },
440
+ {
441
+ "device_error":{
442
+ "value":27,
443
+ "timestamp":"2013-12-13T13:25:00.000Z"
444
+ }
445
+ },
446
+ {
447
+ "device_error":{
448
+ "value":4,
449
+ "timestamp":"2013-12-13T13:25:00.000Z"
450
+ }
451
+ },
452
+ {
453
+ "device_error":{
454
+ "value":12,
455
+ "timestamp":"2013-12-13T13:25:00.000Z"
456
+ }
457
+ },
458
+ {
459
+ "device_error":{
460
+ "value":44,
461
+ "timestamp":"2013-12-13T13:25:00.000Z"
462
+ }
463
+ },
464
+ {
465
+ "device_error":{
466
+ "value":1,
467
+ "timestamp":"2013-12-13T13:25:00.000Z"
468
+ }
469
+ },
470
+ {
471
+ "device_error":{
472
+ "value":60,
473
+ "timestamp":"2013-12-13T13:30:00.000Z"
474
+ }
475
+ },
476
+ {
477
+ "device_error":{
478
+ "value":39,
479
+ "timestamp":"2013-12-13T13:30:00.000Z"
480
+ }
481
+ },
482
+ {
483
+ "device_error":{
484
+ "value":47,
485
+ "timestamp":"2013-12-13T13:30:00.000Z"
486
+ }
487
+ },
488
+ {
489
+ "device_error":{
490
+ "value":1,
491
+ "timestamp":"2013-12-13T13:30:00.000Z"
492
+ }
493
+ },
494
+ {
495
+ "device_error":{
496
+ "value":7,
497
+ "timestamp":"2013-12-13T13:30:00.000Z"
498
+ }
499
+ },
500
+ {
501
+ "device_error":{
502
+ "value":39,
503
+ "timestamp":"2013-12-13T13:30:00.000Z"
504
+ }
505
+ },
506
+ {
507
+ "device_error":{
508
+ "value":61,
509
+ "timestamp":"2013-12-13T13:35:00.000Z"
510
+ }
511
+ },
512
+ {
513
+ "device_error":{
514
+ "value":49,
515
+ "timestamp":"2013-12-13T13:35:00.000Z"
516
+ }
517
+ },
518
+ {
519
+ "device_error":{
520
+ "value":26,
521
+ "timestamp":"2013-12-13T13:35:00.000Z"
522
+ }
523
+ },
524
+ {
525
+ "device_error":{
526
+ "value":2,
527
+ "timestamp":"2013-12-13T13:35:00.000Z"
528
+ }
529
+ },
530
+ {
531
+ "device_error":{
532
+ "value":12,
533
+ "timestamp":"2013-12-13T13:35:00.000Z"
534
+ }
535
+ },
536
+ {
537
+ "device_error":{
538
+ "value":50,
539
+ "timestamp":"2013-12-13T13:35:00.000Z"
540
+ }
541
+ },
542
+ {
543
+ "device_error":{
544
+ "value":1,
545
+ "timestamp":"2013-12-13T13:35:00.000Z"
546
+ }
547
+ },
548
+ {
549
+ "device_error":{
550
+ "value":48,
551
+ "timestamp":"2013-12-13T13:40:00.000Z"
552
+ }
553
+ },
554
+ {
555
+ "device_error":{
556
+ "value":31,
557
+ "timestamp":"2013-12-13T13:40:00.000Z"
558
+ }
559
+ },
560
+ {
561
+ "device_error":{
562
+ "value":25,
563
+ "timestamp":"2013-12-13T13:40:00.000Z"
564
+ }
565
+ },
566
+ {
567
+ "device_error":{
568
+ "value":1,
569
+ "timestamp":"2013-12-13T13:40:00.000Z"
570
+ }
571
+ },
572
+ {
573
+ "device_error":{
574
+ "value":9,
575
+ "timestamp":"2013-12-13T13:40:00.000Z"
576
+ }
577
+ },
578
+ {
579
+ "device_error":{
580
+ "value":39,
581
+ "timestamp":"2013-12-13T13:40:00.000Z"
582
+ }
583
+ },
584
+ {
585
+ "device_error":{
586
+ "value":2,
587
+ "timestamp":"2013-12-13T13:40:00.000Z"
588
+ }
589
+ },
590
+ {
591
+ "device_error":{
592
+ "value":59,
593
+ "timestamp":"2013-12-13T13:45:00.000Z"
594
+ }
595
+ },
596
+ {
597
+ "device_error":{
598
+ "value":40,
599
+ "timestamp":"2013-12-13T13:45:00.000Z"
600
+ }
601
+ },
602
+ {
603
+ "device_error":{
604
+ "value":32,
605
+ "timestamp":"2013-12-13T13:45:00.000Z"
606
+ }
607
+ }
608
+ ]
609
+ }
610
+ ]