nagira 0.2.5

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