nagira 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/History.md +89 -0
  2. data/Rakefile +128 -0
  3. data/bin/nagira +11 -0
  4. data/bin/nagira-setup +6 -0
  5. data/config/defaults.rb +74 -0
  6. data/config/environment.rb +44 -0
  7. data/config/nagira.defaults +66 -0
  8. data/config/nagira.init_d +133 -0
  9. data/lib/app.rb +330 -0
  10. data/lib/app/routes/get/config.rb +22 -0
  11. data/lib/app/routes/get/objects.rb +71 -0
  12. data/lib/app/routes/get/status.rb +153 -0
  13. data/lib/app/routes/put.rb +52 -0
  14. data/lib/app/routes/put/status.rb +139 -0
  15. data/lib/nagira.rb +55 -0
  16. data/lib/nagira/background_parse.rb +28 -0
  17. data/lib/nagira/nagios.rb +20 -0
  18. data/lib/nagira/timed_parse.rb +77 -0
  19. data/spec/00_configuration_spec.rb +62 -0
  20. data/spec/01_nagira_response_spec.rb +122 -0
  21. data/spec/02_0_status_spec.rb +53 -0
  22. data/spec/02_nagira_data_spec.rb +101 -0
  23. data/spec/03_api_spec.rb +48 -0
  24. data/spec/spec_helper.rb +4 -0
  25. data/test/benchmark.rb +26 -0
  26. data/test/data/bad/README +1 -0
  27. data/test/data/bad/nagios.cfg +1305 -0
  28. data/test/data/bad/objects.cache +1868 -0
  29. data/test/data/bad/status.dat +1766 -0
  30. data/test/data/json/GET.txt +15 -0
  31. data/test/data/json/README.txt +9 -0
  32. data/test/data/json/host_check.json +4 -0
  33. data/test/data/json/host_check.sh +4 -0
  34. data/test/data/json/ping.json +5 -0
  35. data/test/data/json/ping_and_http.json +12 -0
  36. data/test/data/json/ping_and_http_check.sh +4 -0
  37. data/test/data/json/ping_check.sh +4 -0
  38. data/test/data/nagios.cfg +1305 -0
  39. data/test/data/objects.cache +1868 -0
  40. data/test/data/status.dat +1652 -0
  41. data/version.txt +1 -0
  42. metadata +384 -0
@@ -0,0 +1,1766 @@
1
+ ########################################
2
+ # NAGIOS STATUS FILE
3
+ #
4
+ # THIS FILE IS AUTOMATICALLY GENERATED
5
+ # BY NAGIOS. DO NOT MODIFY THIS FILE!
6
+ ########################################
7
+
8
+ info {
9
+ created=1325285001
10
+ version=3.0.6
11
+ }
12
+
13
+ programstatus {
14
+ modified_host_attributes=0
15
+ modified_service_attributes=0
16
+ nagios_pid=3654
17
+ daemon_mode=1
18
+ program_start=1324804901
19
+ last_command_check=1325285000
20
+ last_log_rotation=1325257200
21
+ enable_notifications=1
22
+ active_service_checks_enabled=1
23
+ passive_service_checks_enabled=1
24
+ active_host_checks_enabled=1
25
+ passive_host_checks_enabled=1
26
+ enable_event_handlers=1
27
+ obsess_over_services=0
28
+ obsess_over_hosts=0
29
+ check_service_freshness=1
30
+ check_host_freshness=0
31
+ enable_flap_detection=1
32
+ enable_failure_prediction=1
33
+ process_performance_data=0
34
+ global_host_event_handler=
35
+ global_service_event_handler=
36
+ next_comment_id=530
37
+ next_downtime_id=1
38
+ next_event_id=19749
39
+ next_problem_id=8690
40
+ next_notification_id=2125
41
+ total_external_command_buffer_slots=4096
42
+ used_external_command_buffer_slots=0
43
+ high_external_command_buffer_slots=0
44
+ active_scheduled_host_check_stats=3,7,21
45
+ active_ondemand_host_check_stats=0,0,0
46
+ passive_host_check_stats=0,0,0
47
+ active_scheduled_service_check_stats=10,47,140
48
+ active_ondemand_service_check_stats=0,0,0
49
+ passive_service_check_stats=0,0,0
50
+ cached_host_check_stats=0,0,0
51
+ cached_service_check_stats=0,0,0
52
+ external_command_stats=0,0,0
53
+ parallel_host_check_stats=3,7,21
54
+ serial_host_check_stats=0,0,0
55
+ }
56
+
57
+ hoststatus {
58
+ host_name=airport
59
+ modified_attributes=0
60
+ check_command=check-host-alive
61
+ check_period=
62
+ notification_period=24x7
63
+ check_interval=5.000000
64
+ retry_interval=1.000000
65
+ event_handler=
66
+ has_been_checked=1
67
+ should_be_scheduled=1
68
+ check_execution_time=3.015
69
+ check_latency=0.159
70
+ check_type=0
71
+ current_state=1
72
+ last_hard_state=1
73
+ last_event_id=3517
74
+ current_event_id=3518
75
+ current_problem_id=1492
76
+ last_problem_id=1490
77
+ plugin_output=CRITICAL - Host Unreachable (airport.sakae)
78
+ long_plugin_output=
79
+ performance_data=
80
+ last_check=1325284781
81
+ next_check=1325285091
82
+ check_options=0
83
+ current_attempt=1
84
+ max_attempts=10
85
+ current_event_id=3518
86
+ last_event_id=3517
87
+ state_type=1
88
+ last_state_change=1276077294
89
+ last_hard_state_change=1276077294
90
+ last_time_up=1276075650
91
+ last_time_down=1325284791
92
+ last_time_unreachable=0
93
+ last_notification=1276077294
94
+ next_notification=1276077294
95
+ no_more_notifications=1
96
+ current_notification_number=1
97
+ current_notification_id=340
98
+ notifications_enabled=1
99
+ problem_has_been_acknowledged=0
100
+ acknowledgement_type=0
101
+ active_checks_enabled=1
102
+ passive_checks_enabled=1
103
+ event_handler_enabled=1
104
+ flap_detection_enabled=1
105
+ failure_prediction_enabled=1
106
+ process_performance_data=1
107
+ obsess_over_host=1
108
+ last_update=1325285001
109
+ is_flapping=0
110
+ percent_state_change=0.00
111
+ scheduled_downtime_depth=0
112
+ }
113
+
114
+ hoststatus {
115
+ host_name=archive
116
+ modified_attributes=0
117
+ check_command=check-host-alive
118
+ check_period=
119
+ notification_period=24x7
120
+ check_interval=5.000000
121
+ retry_interval=1.000000
122
+ event_handler=
123
+ has_been_checked=1
124
+ should_be_scheduled=1
125
+ check_execution_time=3.011
126
+ check_latency=0.071
127
+ check_type=0
128
+ current_state=1
129
+ last_hard_state=1
130
+ last_event_id=19699
131
+ current_event_id=19702
132
+ current_problem_id=8664
133
+ last_problem_id=8611
134
+ plugin_output=CRITICAL - Host Unreachable (192.168.2.72)
135
+ long_plugin_output=
136
+ performance_data=
137
+ last_check=1325284831
138
+ next_check=1325285141
139
+ check_options=0
140
+ current_attempt=1
141
+ max_attempts=10
142
+ current_event_id=19702
143
+ last_event_id=19699
144
+ state_type=1
145
+ last_state_change=1324805581
146
+ last_hard_state_change=1324805581
147
+ last_time_up=1324787230
148
+ last_time_down=1325284841
149
+ last_time_unreachable=0
150
+ last_notification=1324805581
151
+ next_notification=1324805581
152
+ no_more_notifications=1
153
+ current_notification_number=1
154
+ current_notification_id=2118
155
+ notifications_enabled=1
156
+ problem_has_been_acknowledged=0
157
+ acknowledgement_type=0
158
+ active_checks_enabled=1
159
+ passive_checks_enabled=1
160
+ event_handler_enabled=1
161
+ flap_detection_enabled=1
162
+ failure_prediction_enabled=1
163
+ process_performance_data=1
164
+ obsess_over_host=1
165
+ last_update=1325285001
166
+ is_flapping=0
167
+ percent_state_change=0.00
168
+ scheduled_downtime_depth=0
169
+ }
170
+
171
+ hoststatus {
172
+ host_name=gateway
173
+ modified_attributes=0
174
+ check_command=check-host-alive
175
+ check_period=
176
+ notification_period=24x7
177
+ check_interval=5.000000
178
+ retry_interval=1.000000
179
+ event_handler=
180
+ has_been_checked=1
181
+ should_be_scheduled=1
182
+ check_execution_time=0.009
183
+ check_latency=0.147
184
+ check_type=0
185
+ current_state=0
186
+ last_hard_state=0
187
+ last_event_id=1041
188
+ current_event_id=1051
189
+ current_problem_id=0
190
+ last_problem_id=440
191
+ plugin_output=PING OK - Packet loss = 0%, RTA = 0.09 ms
192
+ long_plugin_output=
193
+ performance_data=rta=0.088000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0
194
+ last_check=1325284861
195
+ next_check=1325285171
196
+ check_options=0
197
+ current_attempt=1
198
+ max_attempts=10
199
+ current_event_id=1051
200
+ last_event_id=1041
201
+ state_type=1
202
+ last_state_change=1254582988
203
+ last_hard_state_change=1254582988
204
+ last_time_up=1325284871
205
+ last_time_down=1254378434
206
+ last_time_unreachable=0
207
+ last_notification=1254582988
208
+ next_notification=0
209
+ no_more_notifications=0
210
+ current_notification_number=0
211
+ current_notification_id=92
212
+ notifications_enabled=1
213
+ problem_has_been_acknowledged=0
214
+ acknowledgement_type=0
215
+ active_checks_enabled=1
216
+ passive_checks_enabled=1
217
+ event_handler_enabled=1
218
+ flap_detection_enabled=1
219
+ failure_prediction_enabled=1
220
+ process_performance_data=1
221
+ obsess_over_host=1
222
+ last_update=1325285001
223
+ is_flapping=0
224
+ percent_state_change=0.00
225
+ scheduled_downtime_depth=0
226
+ }
227
+
228
+ hoststatus {
229
+ host_name=kurobka
230
+ modified_attributes=0
231
+ check_command=check-host-alive
232
+ check_period=
233
+ notification_period=24x7
234
+ check_interval=5.000000
235
+ retry_interval=1.000000
236
+ event_handler=
237
+ has_been_checked=1
238
+ should_be_scheduled=1
239
+ check_execution_time=3.011
240
+ check_latency=0.059
241
+ check_type=0
242
+ current_state=1
243
+ last_hard_state=1
244
+ last_event_id=19700
245
+ current_event_id=19703
246
+ current_problem_id=8666
247
+ last_problem_id=8614
248
+ plugin_output=CRITICAL - Host Unreachable (192.168.2.208)
249
+ long_plugin_output=
250
+ performance_data=
251
+ last_check=1325284851
252
+ next_check=1325285161
253
+ check_options=0
254
+ current_attempt=1
255
+ max_attempts=10
256
+ current_event_id=19703
257
+ last_event_id=19700
258
+ state_type=1
259
+ last_state_change=1324805601
260
+ last_hard_state_change=1324805601
261
+ last_time_up=1324787290
262
+ last_time_down=1325284861
263
+ last_time_unreachable=0
264
+ last_notification=1324805601
265
+ next_notification=1324805601
266
+ no_more_notifications=1
267
+ current_notification_number=1
268
+ current_notification_id=2119
269
+ notifications_enabled=1
270
+ problem_has_been_acknowledged=0
271
+ acknowledgement_type=0
272
+ active_checks_enabled=1
273
+ passive_checks_enabled=1
274
+ event_handler_enabled=1
275
+ flap_detection_enabled=1
276
+ failure_prediction_enabled=1
277
+ process_performance_data=1
278
+ obsess_over_host=1
279
+ last_update=1325285001
280
+ is_flapping=0
281
+ percent_state_change=0.00
282
+ scheduled_downtime_depth=0
283
+ }
284
+
285
+ hoststatus {
286
+ host_name=tv
287
+ modified_attributes=0
288
+ check_command=check-host-alive
289
+ check_period=
290
+ notification_period=24x7
291
+ check_interval=5.000000
292
+ retry_interval=1.000000
293
+ event_handler=
294
+ has_been_checked=1
295
+ should_be_scheduled=1
296
+ check_execution_time=0.012
297
+ check_latency=0.248
298
+ check_type=0
299
+ current_state=0
300
+ last_hard_state=0
301
+ last_event_id=19729
302
+ current_event_id=19731
303
+ current_problem_id=0
304
+ last_problem_id=8680
305
+ plugin_output=PING OK - Packet loss = 0%, RTA = 0.25 ms
306
+ long_plugin_output=
307
+ performance_data=rta=0.248000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0
308
+ last_check=1325284961
309
+ next_check=1325285271
310
+ check_options=0
311
+ current_attempt=1
312
+ max_attempts=10
313
+ current_event_id=19731
314
+ last_event_id=19729
315
+ state_type=1
316
+ last_state_change=1324979611
317
+ last_hard_state_change=1324979611
318
+ last_time_up=1325284971
319
+ last_time_down=1324979311
320
+ last_time_unreachable=0
321
+ last_notification=1324979611
322
+ next_notification=1324979611
323
+ no_more_notifications=1
324
+ current_notification_number=0
325
+ current_notification_id=2124
326
+ notifications_enabled=1
327
+ problem_has_been_acknowledged=0
328
+ acknowledgement_type=0
329
+ active_checks_enabled=1
330
+ passive_checks_enabled=1
331
+ event_handler_enabled=1
332
+ flap_detection_enabled=1
333
+ failure_prediction_enabled=1
334
+ process_performance_data=1
335
+ obsess_over_host=1
336
+ last_update=1325285001
337
+ is_flapping=0
338
+ percent_state_change=0.00
339
+ scheduled_downtime_depth=0
340
+ }
341
+
342
+ hoststatus {
343
+ host_name=viy
344
+ modified_attributes=0
345
+ check_command=check-host-alive
346
+ check_period=
347
+ notification_period=24x7
348
+ check_interval=5.000000
349
+ retry_interval=1.000000
350
+ event_handler=
351
+ has_been_checked=1
352
+ should_be_scheduled=1
353
+ check_execution_time=0.010
354
+ check_latency=0.015
355
+ check_type=0
356
+ current_state=0
357
+ last_hard_state=0
358
+ last_event_id=9473
359
+ current_event_id=9481
360
+ current_problem_id=0
361
+ last_problem_id=4186
362
+ plugin_output=PING OK - Packet loss = 0%, RTA = 0.09 ms
363
+ long_plugin_output=
364
+ performance_data=rta=0.087000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0
365
+ last_check=1325284991
366
+ next_check=1325285301
367
+ check_options=0
368
+ current_attempt=1
369
+ max_attempts=10
370
+ current_event_id=9481
371
+ last_event_id=9473
372
+ state_type=1
373
+ last_state_change=1299104886
374
+ last_hard_state_change=1254615958
375
+ last_time_up=1325285001
376
+ last_time_down=1299101184
377
+ last_time_unreachable=0
378
+ last_notification=0
379
+ next_notification=0
380
+ no_more_notifications=0
381
+ current_notification_number=0
382
+ current_notification_id=96
383
+ notifications_enabled=1
384
+ problem_has_been_acknowledged=0
385
+ acknowledgement_type=0
386
+ active_checks_enabled=1
387
+ passive_checks_enabled=1
388
+ event_handler_enabled=1
389
+ flap_detection_enabled=1
390
+ failure_prediction_enabled=1
391
+ process_performance_data=1
392
+ obsess_over_host=1
393
+ last_update=1325285001
394
+ is_flapping=0
395
+ percent_state_change=0.00
396
+ scheduled_downtime_depth=0
397
+ }
398
+
399
+ hoststatus {
400
+ host_name=yarylo
401
+ modified_attributes=0
402
+ check_command=check-host-alive
403
+ check_period=
404
+ notification_period=24x7
405
+ check_interval=5.000000
406
+ retry_interval=1.000000
407
+ event_handler=
408
+ has_been_checked=1
409
+ should_be_scheduled=1
410
+ check_execution_time=0.012
411
+ check_latency=0.128
412
+ check_type=0
413
+ current_state=0
414
+ last_hard_state=0
415
+ last_event_id=19705
416
+ current_event_id=19707
417
+ current_problem_id=0
418
+ last_problem_id=8670
419
+ plugin_output=PING OK - Packet loss = 0%, RTA = 0.21 ms
420
+ long_plugin_output=
421
+ performance_data=rta=0.206000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0
422
+ last_check=1325284971
423
+ next_check=1325285281
424
+ check_options=0
425
+ current_attempt=1
426
+ max_attempts=10
427
+ current_event_id=19707
428
+ last_event_id=19705
429
+ state_type=1
430
+ last_state_change=1324809931
431
+ last_hard_state_change=1324809931
432
+ last_time_up=1325284981
433
+ last_time_down=1324809751
434
+ last_time_unreachable=0
435
+ last_notification=1324809931
436
+ next_notification=1324809931
437
+ no_more_notifications=1
438
+ current_notification_number=0
439
+ current_notification_id=2121
440
+ notifications_enabled=1
441
+ problem_has_been_acknowledged=0
442
+ acknowledgement_type=0
443
+ active_checks_enabled=1
444
+ passive_checks_enabled=1
445
+ event_handler_enabled=1
446
+ flap_detection_enabled=1
447
+ failure_prediction_enabled=1
448
+ process_performance_data=1
449
+ obsess_over_host=1
450
+ last_update=1325285001
451
+ is_flapping=0
452
+ percent_state_change=0.00
453
+ scheduled_downtime_depth=0
454
+ }
455
+
456
+ servicestatus {
457
+ host_name=airport
458
+ service_description=PING
459
+ modified_attributes=0
460
+ check_command=check_ping!100.0,20%!500.0,60%
461
+ check_period=24x7
462
+ notification_period=24x7
463
+ check_interval=1.000000
464
+ retry_interval=1.000000
465
+ event_handler=
466
+ has_been_checked=1
467
+ should_be_scheduled=1
468
+ check_execution_time=3.016
469
+ check_latency=0.214
470
+ check_type=0
471
+ current_state=2
472
+ last_hard_state=2
473
+ last_event_id=9427
474
+ current_event_id=9477
475
+ current_problem_id=1491
476
+ last_problem_id=1489
477
+ current_attempt=1
478
+ max_attempts=4
479
+ current_event_id=9477
480
+ last_event_id=9427
481
+ state_type=1
482
+ last_state_change=1299104826
483
+ last_hard_state_change=1299104826
484
+ last_time_ok=1276075644
485
+ last_time_warning=1275599902
486
+ last_time_unknown=1299100104
487
+ last_time_critical=1325284983
488
+ plugin_output=CRITICAL - Host Unreachable (airport.sakae)
489
+ long_plugin_output=
490
+ performance_data=
491
+ last_check=1325284983
492
+ next_check=1325285043
493
+ check_options=0
494
+ current_notification_number=0
495
+ current_notification_id=0
496
+ last_notification=0
497
+ next_notification=0
498
+ no_more_notifications=0
499
+ notifications_enabled=1
500
+ active_checks_enabled=1
501
+ passive_checks_enabled=1
502
+ event_handler_enabled=1
503
+ problem_has_been_acknowledged=0
504
+ acknowledgement_type=0
505
+ flap_detection_enabled=1
506
+ failure_prediction_enabled=1
507
+ process_performance_data=1
508
+ obsess_over_service=1
509
+ last_update=1325285001
510
+ is_flapping=0
511
+ percent_state_change=0.00
512
+ scheduled_downtime_depth=0
513
+ }
514
+
515
+ servicestatus {
516
+ host_name=archive
517
+ service_description=Check time
518
+ modified_attributes=0
519
+ check_command=check_time!${HOSTNAME}
520
+ check_period=24x7
521
+ notification_period=24x7
522
+ check_interval=5.000000
523
+ retry_interval=1.000000
524
+ event_handler=
525
+ has_been_checked=1
526
+ should_be_scheduled=1
527
+ check_execution_time=3.010
528
+ check_latency=0.179
529
+ check_type=0
530
+ current_state=3
531
+ last_hard_state=3
532
+ last_event_id=19545
533
+ current_event_id=19674
534
+ current_problem_id=8669
535
+ last_problem_id=8609
536
+ current_attempt=1
537
+ max_attempts=4
538
+ current_event_id=19674
539
+ last_event_id=19545
540
+ state_type=1
541
+ last_state_change=1324805061
542
+ last_hard_state_change=1324805061
543
+ last_time_ok=1324787169
544
+ last_time_warning=0
545
+ last_time_unknown=1325284761
546
+ last_time_critical=1322369785
547
+ plugin_output=No route to host
548
+ long_plugin_output=TIME UNKNOWN - could not connect to server 192.168.2.72, port 37\n
549
+ performance_data=
550
+ last_check=1325284761
551
+ next_check=1325285061
552
+ check_options=0
553
+ current_notification_number=0
554
+ current_notification_id=0
555
+ last_notification=0
556
+ next_notification=0
557
+ no_more_notifications=0
558
+ notifications_enabled=1
559
+ active_checks_enabled=1
560
+ passive_checks_enabled=1
561
+ event_handler_enabled=1
562
+ problem_has_been_acknowledged=0
563
+ acknowledgement_type=0
564
+ flap_detection_enabled=1
565
+ failure_prediction_enabled=1
566
+ process_performance_data=1
567
+ obsess_over_service=1
568
+ last_update=1325285001
569
+ is_flapping=0
570
+ percent_state_change=0.00
571
+ scheduled_downtime_depth=0
572
+ }
573
+
574
+ servicestatus {
575
+ host_name=archive
576
+ service_description=PING
577
+ modified_attributes=0
578
+ check_command=check_ping!100.0,20%!500.0,60%
579
+ check_period=24x7
580
+ notification_period=24x7
581
+ check_interval=1.000000
582
+ retry_interval=1.000000
583
+ event_handler=
584
+ has_been_checked=1
585
+ should_be_scheduled=1
586
+ check_execution_time=3.008
587
+ check_latency=0.026
588
+ check_type=0
589
+ current_state=2
590
+ last_hard_state=2
591
+ last_event_id=19666
592
+ current_event_id=19680
593
+ current_problem_id=8673
594
+ last_problem_id=8663
595
+ current_attempt=1
596
+ max_attempts=4
597
+ current_event_id=19680
598
+ last_event_id=19666
599
+ state_type=1
600
+ last_state_change=1324805141
601
+ last_hard_state_change=1324805141
602
+ last_time_ok=1324787272
603
+ last_time_warning=1324606552
604
+ last_time_unknown=0
605
+ last_time_critical=1325284964
606
+ plugin_output=CRITICAL - Host Unreachable (192.168.2.72)
607
+ long_plugin_output=
608
+ performance_data=
609
+ last_check=1325284964
610
+ next_check=1325285024
611
+ check_options=0
612
+ current_notification_number=0
613
+ current_notification_id=0
614
+ last_notification=0
615
+ next_notification=0
616
+ no_more_notifications=0
617
+ notifications_enabled=1
618
+ active_checks_enabled=1
619
+ passive_checks_enabled=1
620
+ event_handler_enabled=1
621
+ problem_has_been_acknowledged=0
622
+ acknowledgement_type=0
623
+ flap_detection_enabled=1
624
+ failure_prediction_enabled=1
625
+ process_performance_data=1
626
+ obsess_over_service=1
627
+ last_update=1325285001
628
+ is_flapping=0
629
+ percent_state_change=0.00
630
+ scheduled_downtime_depth=0
631
+ }
632
+
633
+ servicestatus {
634
+ host_name=archive
635
+ service_description=SSH
636
+ modified_attributes=0
637
+ check_command=check_ssh
638
+ check_period=24x7
639
+ notification_period=24x7
640
+ check_interval=5.000000
641
+ retry_interval=1.000000
642
+ event_handler=
643
+ has_been_checked=1
644
+ should_be_scheduled=1
645
+ check_execution_time=3.012
646
+ check_latency=0.226
647
+ check_type=0
648
+ current_state=2
649
+ last_hard_state=2
650
+ last_event_id=19664
651
+ current_event_id=19686
652
+ current_problem_id=8675
653
+ last_problem_id=8662
654
+ current_attempt=1
655
+ max_attempts=4
656
+ current_event_id=19686
657
+ last_event_id=19664
658
+ state_type=1
659
+ last_state_change=1324805222
660
+ last_hard_state_change=1324805222
661
+ last_time_ok=1324787091
662
+ last_time_warning=0
663
+ last_time_unknown=0
664
+ last_time_critical=1325284922
665
+ plugin_output=No route to host
666
+ long_plugin_output=
667
+ performance_data=
668
+ last_check=1325284922
669
+ next_check=1325285222
670
+ check_options=0
671
+ current_notification_number=0
672
+ current_notification_id=0
673
+ last_notification=0
674
+ next_notification=0
675
+ no_more_notifications=0
676
+ notifications_enabled=1
677
+ active_checks_enabled=1
678
+ passive_checks_enabled=1
679
+ event_handler_enabled=1
680
+ problem_has_been_acknowledged=0
681
+ acknowledgement_type=0
682
+ flap_detection_enabled=1
683
+ failure_prediction_enabled=1
684
+ process_performance_data=1
685
+ obsess_over_service=1
686
+ last_update=1325285001
687
+ is_flapping=0
688
+ percent_state_change=0.00
689
+ scheduled_downtime_depth=0
690
+ }
691
+
692
+ servicestatus {
693
+ host_name=kurobka
694
+ service_description=Check time
695
+ modified_attributes=0
696
+ check_command=check_time!${HOSTNAME}
697
+ check_period=24x7
698
+ notification_period=24x7
699
+ check_interval=5.000000
700
+ retry_interval=1.000000
701
+ event_handler=
702
+ has_been_checked=1
703
+ should_be_scheduled=1
704
+ check_execution_time=3.008
705
+ check_latency=0.061
706
+ check_type=0
707
+ current_state=3
708
+ last_hard_state=3
709
+ last_event_id=19532
710
+ current_event_id=19668
711
+ current_problem_id=8665
712
+ last_problem_id=8617
713
+ current_attempt=1
714
+ max_attempts=4
715
+ current_event_id=19668
716
+ last_event_id=19532
717
+ state_type=1
718
+ last_state_change=1324805054
719
+ last_hard_state_change=1324805054
720
+ last_time_ok=1324787103
721
+ last_time_warning=0
722
+ last_time_unknown=1325284754
723
+ last_time_critical=1254378604
724
+ plugin_output=No route to host
725
+ long_plugin_output=TIME UNKNOWN - could not connect to server 192.168.2.208, port 37\n
726
+ performance_data=
727
+ last_check=1325284754
728
+ next_check=1325285054
729
+ check_options=0
730
+ current_notification_number=0
731
+ current_notification_id=366
732
+ last_notification=0
733
+ next_notification=0
734
+ no_more_notifications=0
735
+ notifications_enabled=1
736
+ active_checks_enabled=1
737
+ passive_checks_enabled=1
738
+ event_handler_enabled=1
739
+ problem_has_been_acknowledged=0
740
+ acknowledgement_type=0
741
+ flap_detection_enabled=1
742
+ failure_prediction_enabled=1
743
+ process_performance_data=1
744
+ obsess_over_service=1
745
+ last_update=1325285001
746
+ is_flapping=0
747
+ percent_state_change=0.00
748
+ scheduled_downtime_depth=0
749
+ }
750
+
751
+ servicestatus {
752
+ host_name=kurobka
753
+ service_description=PING
754
+ modified_attributes=0
755
+ check_command=check_ping!100.0,20%!500.0,60%
756
+ check_period=24x7
757
+ notification_period=24x7
758
+ check_interval=1.000000
759
+ retry_interval=1.000000
760
+ event_handler=
761
+ has_been_checked=1
762
+ should_be_scheduled=1
763
+ check_execution_time=3.012
764
+ check_latency=0.194
765
+ check_type=0
766
+ current_state=2
767
+ last_hard_state=2
768
+ last_event_id=19652
769
+ current_event_id=19676
770
+ current_problem_id=8671
771
+ last_problem_id=8657
772
+ current_attempt=1
773
+ max_attempts=4
774
+ current_event_id=19676
775
+ last_event_id=19652
776
+ state_type=1
777
+ last_state_change=1324805075
778
+ last_hard_state_change=1324805075
779
+ last_time_ok=1324787244
780
+ last_time_warning=1323891023
781
+ last_time_unknown=0
782
+ last_time_critical=1325284955
783
+ plugin_output=CRITICAL - Host Unreachable (192.168.2.208)
784
+ long_plugin_output=
785
+ performance_data=
786
+ last_check=1325284955
787
+ next_check=1325285015
788
+ check_options=0
789
+ current_notification_number=0
790
+ current_notification_id=0
791
+ last_notification=0
792
+ next_notification=0
793
+ no_more_notifications=0
794
+ notifications_enabled=1
795
+ active_checks_enabled=1
796
+ passive_checks_enabled=1
797
+ event_handler_enabled=1
798
+ problem_has_been_acknowledged=0
799
+ acknowledgement_type=0
800
+ flap_detection_enabled=1
801
+ failure_prediction_enabled=1
802
+ process_performance_data=1
803
+ obsess_over_service=1
804
+ last_update=1325285001
805
+ is_flapping=0
806
+ percent_state_change=0.00
807
+ scheduled_downtime_depth=0
808
+ }
809
+
810
+ servicestatus {
811
+ host_name=kurobka
812
+ service_description=SSH
813
+ modified_attributes=0
814
+ check_command=check_ssh
815
+ check_period=24x7
816
+ notification_period=24x7
817
+ check_interval=5.000000
818
+ retry_interval=1.000000
819
+ event_handler=
820
+ has_been_checked=1
821
+ should_be_scheduled=1
822
+ check_execution_time=3.012
823
+ check_latency=0.161
824
+ check_type=0
825
+ current_state=2
826
+ last_hard_state=2
827
+ last_event_id=19660
828
+ current_event_id=19683
829
+ current_problem_id=8674
830
+ last_problem_id=8660
831
+ current_attempt=1
832
+ max_attempts=4
833
+ current_event_id=19683
834
+ last_event_id=19660
835
+ state_type=1
836
+ last_state_change=1324805155
837
+ last_hard_state_change=1324805155
838
+ last_time_ok=1324787023
839
+ last_time_warning=0
840
+ last_time_unknown=0
841
+ last_time_critical=1325284855
842
+ plugin_output=No route to host
843
+ long_plugin_output=
844
+ performance_data=
845
+ last_check=1325284855
846
+ next_check=1325285155
847
+ check_options=0
848
+ current_notification_number=0
849
+ current_notification_id=0
850
+ last_notification=0
851
+ next_notification=0
852
+ no_more_notifications=0
853
+ notifications_enabled=1
854
+ active_checks_enabled=1
855
+ passive_checks_enabled=1
856
+ event_handler_enabled=1
857
+ problem_has_been_acknowledged=0
858
+ acknowledgement_type=0
859
+ flap_detection_enabled=1
860
+ failure_prediction_enabled=1
861
+ process_performance_data=1
862
+ obsess_over_service=1
863
+ last_update=1325285001
864
+ is_flapping=0
865
+ percent_state_change=0.00
866
+ scheduled_downtime_depth=0
867
+ }
868
+
869
+ servicestatus {
870
+ host_name=tv
871
+ service_description=PING
872
+ modified_attributes=0
873
+ check_command=check_ping!100.0,20%!500.0,60%
874
+ check_period=24x7
875
+ notification_period=24x7
876
+ check_interval=1.000000
877
+ retry_interval=1.000000
878
+ event_handler=
879
+ has_been_checked=1
880
+ should_be_scheduled=1
881
+ check_execution_time=4.012
882
+ check_latency=0.130
883
+ check_type=0
884
+ current_state=0
885
+ last_hard_state=0
886
+ last_event_id=19747
887
+ current_event_id=19748
888
+ current_problem_id=0
889
+ last_problem_id=8689
890
+ current_attempt=1
891
+ max_attempts=4
892
+ current_event_id=19748
893
+ last_event_id=19747
894
+ state_type=1
895
+ last_state_change=1325137575
896
+ last_hard_state_change=1324979595
897
+ last_time_ok=1325284995
898
+ last_time_warning=1325137515
899
+ last_time_unknown=1299100099
900
+ last_time_critical=1324979535
901
+ plugin_output=PING OK - Packet loss = 0%, RTA = 0.28 ms
902
+ long_plugin_output=
903
+ performance_data=rta=0.280000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
904
+ last_check=1325284995
905
+ next_check=1325285055
906
+ check_options=0
907
+ current_notification_number=0
908
+ current_notification_id=2088
909
+ last_notification=0
910
+ next_notification=0
911
+ no_more_notifications=0
912
+ notifications_enabled=1
913
+ active_checks_enabled=1
914
+ passive_checks_enabled=1
915
+ event_handler_enabled=1
916
+ problem_has_been_acknowledged=0
917
+ acknowledgement_type=0
918
+ flap_detection_enabled=1
919
+ failure_prediction_enabled=1
920
+ process_performance_data=1
921
+ obsess_over_service=1
922
+ last_update=1325285001
923
+ is_flapping=0
924
+ percent_state_change=0.00
925
+ scheduled_downtime_depth=0
926
+ }
927
+
928
+ servicestatus {
929
+ host_name=tv
930
+ service_description=SSH
931
+ modified_attributes=0
932
+ check_command=check_ssh
933
+ check_period=24x7
934
+ notification_period=24x7
935
+ check_interval=5.000000
936
+ retry_interval=1.000000
937
+ event_handler=
938
+ has_been_checked=1
939
+ should_be_scheduled=1
940
+ check_execution_time=0.030
941
+ check_latency=0.173
942
+ check_type=0
943
+ current_state=0
944
+ last_hard_state=0
945
+ last_event_id=19722
946
+ current_event_id=19732
947
+ current_problem_id=0
948
+ last_problem_id=8681
949
+ current_attempt=1
950
+ max_attempts=4
951
+ current_event_id=19732
952
+ last_event_id=19722
953
+ state_type=1
954
+ last_state_change=1324979608
955
+ last_hard_state_change=1324979608
956
+ last_time_ok=1325284708
957
+ last_time_warning=0
958
+ last_time_unknown=1299099749
959
+ last_time_critical=1324979308
960
+ plugin_output=SSH OK - OpenSSH_5.2 (protocol 2.0)
961
+ long_plugin_output=
962
+ performance_data=
963
+ last_check=1325284708
964
+ next_check=1325285008
965
+ check_options=0
966
+ current_notification_number=0
967
+ current_notification_id=2097
968
+ last_notification=0
969
+ next_notification=0
970
+ no_more_notifications=0
971
+ notifications_enabled=1
972
+ active_checks_enabled=1
973
+ passive_checks_enabled=1
974
+ event_handler_enabled=1
975
+ problem_has_been_acknowledged=0
976
+ acknowledgement_type=0
977
+ flap_detection_enabled=1
978
+ failure_prediction_enabled=1
979
+ process_performance_data=1
980
+ obsess_over_service=1
981
+ last_update=1325285001
982
+ is_flapping=0
983
+ percent_state_change=0.00
984
+ scheduled_downtime_depth=0
985
+ }
986
+
987
+ servicestatus {
988
+ host_name=viy
989
+ service_description=Check time
990
+ modified_attributes=0
991
+ check_command=check_time!${HOSTNAME}
992
+ check_period=24x7
993
+ notification_period=24x7
994
+ check_interval=5.000000
995
+ retry_interval=1.000000
996
+ event_handler=
997
+ has_been_checked=1
998
+ should_be_scheduled=1
999
+ check_execution_time=0.007
1000
+ check_latency=0.081
1001
+ check_type=0
1002
+ current_state=0
1003
+ last_hard_state=0
1004
+ last_event_id=9431
1005
+ current_event_id=9436
1006
+ current_problem_id=0
1007
+ last_problem_id=4174
1008
+ current_attempt=1
1009
+ max_attempts=4
1010
+ current_event_id=9436
1011
+ last_event_id=9431
1012
+ state_type=1
1013
+ last_state_change=1299099175
1014
+ last_hard_state_change=1254615865
1015
+ last_time_ok=1325284788
1016
+ last_time_warning=0
1017
+ last_time_unknown=1254616385
1018
+ last_time_critical=1299097876
1019
+ plugin_output=TIME OK - 0 second time difference
1020
+ long_plugin_output=
1021
+ performance_data=time=0s;;;0 offset=0s;;;0
1022
+ last_check=1325284788
1023
+ next_check=1325285088
1024
+ check_options=0
1025
+ current_notification_number=0
1026
+ current_notification_id=0
1027
+ last_notification=0
1028
+ next_notification=0
1029
+ no_more_notifications=0
1030
+ notifications_enabled=1
1031
+ active_checks_enabled=1
1032
+ passive_checks_enabled=1
1033
+ event_handler_enabled=1
1034
+ problem_has_been_acknowledged=0
1035
+ acknowledgement_type=0
1036
+ flap_detection_enabled=1
1037
+ failure_prediction_enabled=1
1038
+ process_performance_data=1
1039
+ obsess_over_service=1
1040
+ last_update=1325285001
1041
+ is_flapping=0
1042
+ percent_state_change=0.00
1043
+ scheduled_downtime_depth=0
1044
+ }
1045
+
1046
+ servicestatus {
1047
+ host_name=viy
1048
+ service_description=Current Load
1049
+ modified_attributes=0
1050
+ check_command=check_load!5.0!4.0!3.0!10.0!6.0!4.0
1051
+ check_period=24x7
1052
+ notification_period=not_backup_time
1053
+ check_interval=5.000000
1054
+ retry_interval=1.000000
1055
+ event_handler=
1056
+ has_been_checked=1
1057
+ should_be_scheduled=1
1058
+ check_execution_time=0.006
1059
+ check_latency=0.234
1060
+ check_type=0
1061
+ current_state=0
1062
+ last_hard_state=0
1063
+ last_event_id=19661
1064
+ current_event_id=19662
1065
+ current_problem_id=0
1066
+ last_problem_id=8661
1067
+ current_attempt=1
1068
+ max_attempts=4
1069
+ current_event_id=19662
1070
+ last_event_id=19661
1071
+ state_type=1
1072
+ last_state_change=1324512876
1073
+ last_hard_state_change=1324233216
1074
+ last_time_ok=1325284868
1075
+ last_time_warning=1324512816
1076
+ last_time_unknown=0
1077
+ last_time_critical=1323907836
1078
+ plugin_output=OK - load average: 0.54, 0.22, 0.13
1079
+ long_plugin_output=
1080
+ performance_data=load1=0.540;5.000;10.000;0; load5=0.220;4.000;6.000;0; load15=0.130;3.000;4.000;0;
1081
+ last_check=1325284868
1082
+ next_check=1325285168
1083
+ check_options=0
1084
+ current_notification_number=0
1085
+ current_notification_id=2116
1086
+ last_notification=0
1087
+ next_notification=0
1088
+ no_more_notifications=0
1089
+ notifications_enabled=1
1090
+ active_checks_enabled=1
1091
+ passive_checks_enabled=1
1092
+ event_handler_enabled=1
1093
+ problem_has_been_acknowledged=0
1094
+ acknowledgement_type=0
1095
+ flap_detection_enabled=1
1096
+ failure_prediction_enabled=1
1097
+ process_performance_data=1
1098
+ obsess_over_service=1
1099
+ last_update=1325285001
1100
+ is_flapping=0
1101
+ percent_state_change=0.00
1102
+ scheduled_downtime_depth=0
1103
+ }
1104
+
1105
+ servicestatus {
1106
+ host_name=viy
1107
+ service_description=Current Users
1108
+ modified_attributes=0
1109
+ check_command=check_users!20!50
1110
+ check_period=24x7
1111
+ notification_period=24x7
1112
+ check_interval=5.000000
1113
+ retry_interval=1.000000
1114
+ event_handler=
1115
+ has_been_checked=1
1116
+ should_be_scheduled=1
1117
+ check_execution_time=0.009
1118
+ check_latency=0.134
1119
+ check_type=0
1120
+ current_state=0
1121
+ last_hard_state=0
1122
+ last_event_id=0
1123
+ current_event_id=0
1124
+ current_problem_id=0
1125
+ last_problem_id=0
1126
+ current_attempt=1
1127
+ max_attempts=4
1128
+ current_event_id=0
1129
+ last_event_id=0
1130
+ state_type=1
1131
+ last_state_change=1249975805
1132
+ last_hard_state_change=1249975805
1133
+ last_time_ok=1325284949
1134
+ last_time_warning=0
1135
+ last_time_unknown=0
1136
+ last_time_critical=0
1137
+ plugin_output=USERS OK - 0 users currently logged in
1138
+ long_plugin_output=
1139
+ performance_data=users=0;20;50;0
1140
+ last_check=1325284949
1141
+ next_check=1325285249
1142
+ check_options=0
1143
+ current_notification_number=0
1144
+ current_notification_id=0
1145
+ last_notification=0
1146
+ next_notification=0
1147
+ no_more_notifications=0
1148
+ notifications_enabled=1
1149
+ active_checks_enabled=1
1150
+ passive_checks_enabled=1
1151
+ event_handler_enabled=1
1152
+ problem_has_been_acknowledged=0
1153
+ acknowledgement_type=0
1154
+ flap_detection_enabled=1
1155
+ failure_prediction_enabled=1
1156
+ process_performance_data=1
1157
+ obsess_over_service=1
1158
+ last_update=1325285001
1159
+ is_flapping=0
1160
+ percent_state_change=0.00
1161
+ scheduled_downtime_depth=0
1162
+ }
1163
+
1164
+ servicestatus {
1165
+ host_name=viy
1166
+ service_description=DNS service
1167
+ modified_attributes=0
1168
+ check_command=check_dns!viy
1169
+ check_period=24x7
1170
+ notification_period=24x7
1171
+ check_interval=5.000000
1172
+ retry_interval=1.000000
1173
+ event_handler=
1174
+ has_been_checked=1
1175
+ should_be_scheduled=1
1176
+ check_execution_time=0.016
1177
+ check_latency=0.227
1178
+ check_type=0
1179
+ current_state=0
1180
+ last_hard_state=0
1181
+ last_event_id=19671
1182
+ current_event_id=19709
1183
+ current_problem_id=0
1184
+ last_problem_id=8667
1185
+ current_attempt=1
1186
+ max_attempts=4
1187
+ current_event_id=19709
1188
+ last_event_id=19671
1189
+ state_type=1
1190
+ last_state_change=1324810301
1191
+ last_hard_state_change=1324810301
1192
+ last_time_ok=1325284901
1193
+ last_time_warning=0
1194
+ last_time_unknown=0
1195
+ last_time_critical=1324810001
1196
+ plugin_output=DNS OK: 0.008 seconds response time. www.google.com returns 173.194.38.112,173.194.38.113,173.194.38.114,173.194.38.115,173.194.38.116
1197
+ long_plugin_output=
1198
+ performance_data=time=0.007746s;;;0.000000
1199
+ last_check=1325284901
1200
+ next_check=1325285201
1201
+ check_options=0
1202
+ current_notification_number=0
1203
+ current_notification_id=2122
1204
+ last_notification=0
1205
+ next_notification=0
1206
+ no_more_notifications=0
1207
+ notifications_enabled=1
1208
+ active_checks_enabled=1
1209
+ passive_checks_enabled=1
1210
+ event_handler_enabled=1
1211
+ problem_has_been_acknowledged=0
1212
+ acknowledgement_type=0
1213
+ flap_detection_enabled=1
1214
+ failure_prediction_enabled=1
1215
+ process_performance_data=1
1216
+ obsess_over_service=1
1217
+ last_update=1325285001
1218
+ is_flapping=0
1219
+ percent_state_change=0.00
1220
+ scheduled_downtime_depth=0
1221
+ }
1222
+
1223
+ servicestatus {
1224
+ host_name=viy
1225
+ service_description=Disk Space
1226
+ modified_attributes=0
1227
+ check_command=check_disk!500m!200m!/www_dk
1228
+ check_period=24x7
1229
+ notification_period=24x7
1230
+ check_interval=30.000000
1231
+ retry_interval=1.000000
1232
+ event_handler=
1233
+ has_been_checked=1
1234
+ should_be_scheduled=1
1235
+ check_execution_time=0.012
1236
+ check_latency=0.101
1237
+ check_type=0
1238
+ current_state=0
1239
+ last_hard_state=0
1240
+ last_event_id=0
1241
+ current_event_id=0
1242
+ current_problem_id=0
1243
+ last_problem_id=0
1244
+ current_attempt=1
1245
+ max_attempts=4
1246
+ current_event_id=0
1247
+ last_event_id=0
1248
+ state_type=1
1249
+ last_state_change=1250045087
1250
+ last_hard_state_change=1250045087
1251
+ last_time_ok=1325283901
1252
+ last_time_warning=0
1253
+ last_time_unknown=0
1254
+ last_time_critical=0
1255
+ plugin_output=DISK OK
1256
+ long_plugin_output=
1257
+ performance_data=/www_dk=4260MB;4267;4567;0;4767
1258
+ last_check=1325283901
1259
+ next_check=1325285701
1260
+ check_options=0
1261
+ current_notification_number=0
1262
+ current_notification_id=0
1263
+ last_notification=0
1264
+ next_notification=0
1265
+ no_more_notifications=0
1266
+ notifications_enabled=1
1267
+ active_checks_enabled=1
1268
+ passive_checks_enabled=1
1269
+ event_handler_enabled=1
1270
+ problem_has_been_acknowledged=0
1271
+ acknowledgement_type=0
1272
+ flap_detection_enabled=1
1273
+ failure_prediction_enabled=1
1274
+ process_performance_data=1
1275
+ obsess_over_service=1
1276
+ last_update=1325285001
1277
+ is_flapping=0
1278
+ percent_state_change=0.00
1279
+ scheduled_downtime_depth=0
1280
+ }
1281
+
1282
+ servicestatus {
1283
+ host_name=viy
1284
+ service_description=Exim queue
1285
+ modified_attributes=0
1286
+ check_command=check_mailq_exim!10!20
1287
+ check_period=24x7
1288
+ notification_period=24x7
1289
+ check_interval=2.000000
1290
+ retry_interval=1.000000
1291
+ event_handler=
1292
+ has_been_checked=1
1293
+ should_be_scheduled=1
1294
+ check_execution_time=0.012
1295
+ check_latency=0.066
1296
+ check_type=0
1297
+ current_state=0
1298
+ last_hard_state=0
1299
+ last_event_id=17341
1300
+ current_event_id=17344
1301
+ current_problem_id=0
1302
+ last_problem_id=7741
1303
+ current_attempt=1
1304
+ max_attempts=4
1305
+ current_event_id=17344
1306
+ last_event_id=17341
1307
+ state_type=1
1308
+ last_state_change=1317442639
1309
+ last_hard_state_change=1299105027
1310
+ last_time_ok=1325284942
1311
+ last_time_warning=1317442479
1312
+ last_time_unknown=0
1313
+ last_time_critical=1316046657
1314
+ plugin_output=OK: mailq (0) is below threshold (10/20)
1315
+ long_plugin_output=
1316
+ performance_data=unsent=0;10;20;0
1317
+ last_check=1325284942
1318
+ next_check=1325285062
1319
+ check_options=0
1320
+ current_notification_number=0
1321
+ current_notification_id=1158
1322
+ last_notification=0
1323
+ next_notification=0
1324
+ no_more_notifications=0
1325
+ notifications_enabled=1
1326
+ active_checks_enabled=1
1327
+ passive_checks_enabled=1
1328
+ event_handler_enabled=1
1329
+ problem_has_been_acknowledged=0
1330
+ acknowledgement_type=0
1331
+ flap_detection_enabled=1
1332
+ failure_prediction_enabled=1
1333
+ process_performance_data=1
1334
+ obsess_over_service=1
1335
+ last_update=1325285001
1336
+ is_flapping=0
1337
+ percent_state_change=0.00
1338
+ scheduled_downtime_depth=0
1339
+ }
1340
+
1341
+ servicestatus {
1342
+ host_name=viy
1343
+ service_description=HTTP
1344
+ modified_attributes=0
1345
+ check_command=check_http
1346
+ check_period=24x7
1347
+ notification_period=24x7
1348
+ check_interval=5.000000
1349
+ retry_interval=1.000000
1350
+ event_handler=
1351
+ has_been_checked=1
1352
+ should_be_scheduled=1
1353
+ check_execution_time=0.011
1354
+ check_latency=0.006
1355
+ check_type=0
1356
+ current_state=0
1357
+ last_hard_state=0
1358
+ last_event_id=19371
1359
+ current_event_id=19572
1360
+ current_problem_id=0
1361
+ last_problem_id=8572
1362
+ current_attempt=1
1363
+ max_attempts=4
1364
+ current_event_id=19572
1365
+ last_event_id=19371
1366
+ state_type=1
1367
+ last_state_change=1322713604
1368
+ last_hard_state_change=1322713604
1369
+ last_time_ok=1325284962
1370
+ last_time_warning=0
1371
+ last_time_unknown=0
1372
+ last_time_critical=1322713304
1373
+ plugin_output=HTTP OK HTTP/1.1 200 OK - 2072 bytes in 0.002 seconds
1374
+ long_plugin_output=
1375
+ performance_data=time=0.001512s;;;0.000000 size=2072B;;;0
1376
+ last_check=1325284962
1377
+ next_check=1325285262
1378
+ check_options=0
1379
+ current_notification_number=0
1380
+ current_notification_id=2105
1381
+ last_notification=0
1382
+ next_notification=0
1383
+ no_more_notifications=0
1384
+ notifications_enabled=1
1385
+ active_checks_enabled=1
1386
+ passive_checks_enabled=1
1387
+ event_handler_enabled=1
1388
+ problem_has_been_acknowledged=0
1389
+ acknowledgement_type=0
1390
+ flap_detection_enabled=1
1391
+ failure_prediction_enabled=1
1392
+ process_performance_data=1
1393
+ obsess_over_service=1
1394
+ last_update=1325285001
1395
+ is_flapping=0
1396
+ percent_state_change=0.00
1397
+ scheduled_downtime_depth=0
1398
+ }
1399
+
1400
+ servicestatus {
1401
+ host_name=viy
1402
+ service_description=High Load
1403
+ modified_attributes=0
1404
+ check_command=check_load!10.0!8.0!6.0!20.0!12.0!8.0
1405
+ check_period=24x7
1406
+ notification_period=24x7
1407
+ check_interval=5.000000
1408
+ retry_interval=1.000000
1409
+ event_handler=
1410
+ has_been_checked=1
1411
+ should_be_scheduled=1
1412
+ check_execution_time=0.009
1413
+ check_latency=0.017
1414
+ check_type=0
1415
+ current_state=0
1416
+ last_hard_state=0
1417
+ last_event_id=17583
1418
+ current_event_id=17584
1419
+ current_problem_id=0
1420
+ last_problem_id=7833
1421
+ current_attempt=1
1422
+ max_attempts=4
1423
+ current_event_id=17584
1424
+ last_event_id=17583
1425
+ state_type=1
1426
+ last_state_change=1319057072
1427
+ last_hard_state_change=1318796706
1428
+ last_time_ok=1325284734
1429
+ last_time_warning=1319057012
1430
+ last_time_unknown=0
1431
+ last_time_critical=1318795806
1432
+ plugin_output=OK - load average: 0.13, 0.12, 0.09
1433
+ long_plugin_output=
1434
+ performance_data=load1=0.130;10.000;20.000;0; load5=0.120;8.000;12.000;0; load15=0.090;6.000;8.000;0;
1435
+ last_check=1325284734
1436
+ next_check=1325285034
1437
+ check_options=0
1438
+ current_notification_number=0
1439
+ current_notification_id=1954
1440
+ last_notification=0
1441
+ next_notification=0
1442
+ no_more_notifications=0
1443
+ notifications_enabled=1
1444
+ active_checks_enabled=1
1445
+ passive_checks_enabled=1
1446
+ event_handler_enabled=1
1447
+ problem_has_been_acknowledged=0
1448
+ acknowledgement_type=0
1449
+ flap_detection_enabled=1
1450
+ failure_prediction_enabled=1
1451
+ process_performance_data=1
1452
+ obsess_over_service=1
1453
+ last_update=1325285001
1454
+ is_flapping=0
1455
+ percent_state_change=0.00
1456
+ scheduled_downtime_depth=0
1457
+ }
1458
+
1459
+ servicestatus {
1460
+ host_name=viy
1461
+ service_description=PING
1462
+ modified_attributes=0
1463
+ check_command=check_ping!100.0,20%!500.0,60%
1464
+ check_period=24x7
1465
+ notification_period=24x7
1466
+ check_interval=1.000000
1467
+ retry_interval=1.000000
1468
+ event_handler=
1469
+ has_been_checked=1
1470
+ should_be_scheduled=1
1471
+ check_execution_time=4.016
1472
+ check_latency=0.122
1473
+ check_type=0
1474
+ current_state=0
1475
+ last_hard_state=0
1476
+ last_event_id=17550
1477
+ current_event_id=17554
1478
+ current_problem_id=0
1479
+ last_problem_id=7822
1480
+ current_attempt=1
1481
+ max_attempts=4
1482
+ current_event_id=17554
1483
+ last_event_id=17550
1484
+ state_type=1
1485
+ last_state_change=1318795469
1486
+ last_hard_state_change=1254615952
1487
+ last_time_ok=1325284995
1488
+ last_time_warning=1313619262
1489
+ last_time_unknown=0
1490
+ last_time_critical=1318795377
1491
+ plugin_output=PING OK - Packet loss = 0%, RTA = 0.08 ms
1492
+ long_plugin_output=
1493
+ performance_data=rta=0.076000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
1494
+ last_check=1325284995
1495
+ next_check=1325285055
1496
+ check_options=0
1497
+ current_notification_number=0
1498
+ current_notification_id=0
1499
+ last_notification=0
1500
+ next_notification=0
1501
+ no_more_notifications=0
1502
+ notifications_enabled=1
1503
+ active_checks_enabled=1
1504
+ passive_checks_enabled=1
1505
+ event_handler_enabled=1
1506
+ problem_has_been_acknowledged=0
1507
+ acknowledgement_type=0
1508
+ flap_detection_enabled=1
1509
+ failure_prediction_enabled=1
1510
+ process_performance_data=1
1511
+ obsess_over_service=1
1512
+ last_update=1325285001
1513
+ is_flapping=0
1514
+ percent_state_change=0.00
1515
+ scheduled_downtime_depth=0
1516
+ }
1517
+
1518
+ servicestatus {
1519
+ host_name=viy
1520
+ service_description=SSH
1521
+ modified_attributes=0
1522
+ check_command=check_ssh
1523
+ check_period=24x7
1524
+ notification_period=24x7
1525
+ check_interval=5.000000
1526
+ retry_interval=1.000000
1527
+ event_handler=
1528
+ has_been_checked=1
1529
+ should_be_scheduled=1
1530
+ check_execution_time=0.026
1531
+ check_latency=0.114
1532
+ check_type=0
1533
+ current_state=0
1534
+ last_hard_state=0
1535
+ last_event_id=17508
1536
+ current_event_id=17509
1537
+ current_problem_id=0
1538
+ last_problem_id=7804
1539
+ current_attempt=1
1540
+ max_attempts=4
1541
+ current_event_id=17509
1542
+ last_event_id=17508
1543
+ state_type=1
1544
+ last_state_change=1318198265
1545
+ last_hard_state_change=1299105040
1546
+ last_time_ok=1325284895
1547
+ last_time_warning=0
1548
+ last_time_unknown=0
1549
+ last_time_critical=1318198205
1550
+ plugin_output=SSH OK - OpenSSH_5.1p1 Debian-5 (protocol 2.0)
1551
+ long_plugin_output=
1552
+ performance_data=
1553
+ last_check=1325284895
1554
+ next_check=1325285195
1555
+ check_options=0
1556
+ current_notification_number=0
1557
+ current_notification_id=1162
1558
+ last_notification=0
1559
+ next_notification=0
1560
+ no_more_notifications=0
1561
+ notifications_enabled=1
1562
+ active_checks_enabled=1
1563
+ passive_checks_enabled=1
1564
+ event_handler_enabled=1
1565
+ problem_has_been_acknowledged=0
1566
+ acknowledgement_type=0
1567
+ flap_detection_enabled=1
1568
+ failure_prediction_enabled=1
1569
+ process_performance_data=1
1570
+ obsess_over_service=1
1571
+ last_update=1325285001
1572
+ is_flapping=0
1573
+ percent_state_change=0.00
1574
+ scheduled_downtime_depth=0
1575
+ }
1576
+
1577
+ servicestatus {
1578
+ host_name=viy
1579
+ service_description=Total Processes
1580
+ modified_attributes=0
1581
+ check_command=check_procs!250!400
1582
+ check_period=24x7
1583
+ notification_period=24x7
1584
+ check_interval=5.000000
1585
+ retry_interval=1.000000
1586
+ event_handler=
1587
+ has_been_checked=1
1588
+ should_be_scheduled=1
1589
+ check_execution_time=0.046
1590
+ check_latency=0.246
1591
+ check_type=0
1592
+ current_state=0
1593
+ last_hard_state=0
1594
+ last_event_id=9472
1595
+ current_event_id=9491
1596
+ current_problem_id=0
1597
+ last_problem_id=4185
1598
+ current_attempt=1
1599
+ max_attempts=4
1600
+ current_event_id=9491
1601
+ last_event_id=9472
1602
+ state_type=1
1603
+ last_state_change=1299105120
1604
+ last_hard_state_change=1249975892
1605
+ last_time_ok=1325284975
1606
+ last_time_warning=1299100098
1607
+ last_time_unknown=0
1608
+ last_time_critical=1299101125
1609
+ plugin_output=PROCS OK: 147 processes
1610
+ long_plugin_output=
1611
+ performance_data=
1612
+ last_check=1325284975
1613
+ next_check=1325285275
1614
+ check_options=0
1615
+ current_notification_number=0
1616
+ current_notification_id=0
1617
+ last_notification=0
1618
+ next_notification=0
1619
+ no_more_notifications=0
1620
+ notifications_enabled=1
1621
+ active_checks_enabled=1
1622
+ passive_checks_enabled=1
1623
+ event_handler_enabled=1
1624
+ problem_has_been_acknowledged=0
1625
+ acknowledgement_type=0
1626
+ flap_detection_enabled=1
1627
+ failure_prediction_enabled=1
1628
+ process_performance_data=1
1629
+ obsess_over_service=1
1630
+ last_update=1325285001
1631
+ is_flapping=0
1632
+ percent_state_change=0.00
1633
+ scheduled_downtime_depth=0
1634
+ }
1635
+
1636
+ servicestatus {
1637
+ host_name=yarylo
1638
+ service_description=PING
1639
+ modified_attributes=0
1640
+ check_command=check_ping!100.0,20%!500.0,60%
1641
+ check_period=24x7
1642
+ notification_period=24x7
1643
+ check_interval=1.000000
1644
+ retry_interval=1.000000
1645
+ event_handler=
1646
+ has_been_checked=1
1647
+ should_be_scheduled=1
1648
+ check_execution_time=4.009
1649
+ check_latency=0.082
1650
+ check_type=0
1651
+ current_state=0
1652
+ last_hard_state=0
1653
+ last_event_id=19739
1654
+ current_event_id=19740
1655
+ current_problem_id=0
1656
+ last_problem_id=8685
1657
+ current_attempt=1
1658
+ max_attempts=4
1659
+ current_event_id=19740
1660
+ last_event_id=19739
1661
+ state_type=1
1662
+ last_state_change=1325032268
1663
+ last_hard_state_change=1324809908
1664
+ last_time_ok=1325284988
1665
+ last_time_warning=1325032208
1666
+ last_time_unknown=1299100102
1667
+ last_time_critical=1324809848
1668
+ plugin_output=PING OK - Packet loss = 0%, RTA = 0.20 ms
1669
+ long_plugin_output=
1670
+ performance_data=rta=0.204000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
1671
+ last_check=1325284988
1672
+ next_check=1325285048
1673
+ check_options=0
1674
+ current_notification_number=0
1675
+ current_notification_id=2085
1676
+ last_notification=0
1677
+ next_notification=0
1678
+ no_more_notifications=0
1679
+ notifications_enabled=1
1680
+ active_checks_enabled=1
1681
+ passive_checks_enabled=1
1682
+ event_handler_enabled=1
1683
+ problem_has_been_acknowledged=0
1684
+ acknowledgement_type=0
1685
+ flap_detection_enabled=1
1686
+ failure_prediction_enabled=1
1687
+ process_performance_data=1
1688
+ obsess_over_service=1
1689
+ last_update=1325285001
1690
+ is_flapping=0
1691
+ percent_state_change=0.00
1692
+ scheduled_downtime_depth=0
1693
+ }
1694
+
1695
+ servicestatus {
1696
+ host_name=yarylo
1697
+ service_description=SSH
1698
+ modified_attributes=0
1699
+ check_command=check_ssh
1700
+ check_period=24x7
1701
+ notification_period=24x7
1702
+ check_interval=5.000000
1703
+ retry_interval=1.000000
1704
+ event_handler=
1705
+ has_been_checked=1
1706
+ should_be_scheduled=1
1707
+ check_execution_time=0.028
1708
+ check_latency=0.245
1709
+ check_type=0
1710
+ current_state=0
1711
+ last_hard_state=0
1712
+ last_event_id=19679
1713
+ current_event_id=19708
1714
+ current_problem_id=0
1715
+ last_problem_id=8672
1716
+ current_attempt=1
1717
+ max_attempts=4
1718
+ current_event_id=19708
1719
+ last_event_id=19679
1720
+ state_type=1
1721
+ last_state_change=1324809928
1722
+ last_hard_state_change=1324809928
1723
+ last_time_ok=1325284828
1724
+ last_time_warning=0
1725
+ last_time_unknown=1299100091
1726
+ last_time_critical=1324809628
1727
+ plugin_output=SSH OK - OpenSSH_5.2 (protocol 2.0)
1728
+ long_plugin_output=
1729
+ performance_data=
1730
+ last_check=1325284828
1731
+ next_check=1325285128
1732
+ check_options=0
1733
+ current_notification_number=0
1734
+ current_notification_id=2080
1735
+ last_notification=0
1736
+ next_notification=0
1737
+ no_more_notifications=0
1738
+ notifications_enabled=1
1739
+ active_checks_enabled=1
1740
+ passive_checks_enabled=1
1741
+ event_handler_enabled=1
1742
+ problem_has_been_acknowledged=0
1743
+ acknowledgement_type=0
1744
+ flap_detection_enabled=1
1745
+ failure_prediction_enabled=1
1746
+ process_performance_data=1
1747
+ obsess_over_service=1
1748
+ last_update=1325285001
1749
+ is_flapping=0
1750
+ percent_state_change=0.00
1751
+ scheduled_downtime_depth=0
1752
+ }
1753
+
1754
+ contactstatus {
1755
+ contact_name=root
1756
+ modified_attributes=0
1757
+ modified_host_attributes=0
1758
+ modified_service_attributes=0
1759
+ host_notification_period=24x7
1760
+ service_notification_period=24x7
1761
+ last_host_notification=1324979611
1762
+ last_service_notification=1324810311
1763
+ host_notifications_enabled=1
1764
+ service_notifications_enabled=1
1765
+ }
1766
+