File: cgis.html

package info (click to toggle)
nagios2 2.6-2%2Betch1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 6,780 kB
  • ctags: 4,475
  • sloc: ansic: 64,870; sh: 3,667; makefile: 787; perl: 722
file content (772 lines) | stat: -rw-r--r-- 29,254 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Information On The CGIs</title>

<STYLE type="text/css">
<!--
        .Default { font-family: verdana,arial,serif; font-size: 8pt; }
        .PageTitle { font-family: verdana,arial,serif; font-size: 12pt; font-weight: bold; }
-->      
</STYLE>

</head>

<body bgcolor="#FFFFFF" text="black" class="Default">

<p>
<div align="center">
<h2 class="PageTitle">Information On The CGIs</h2>
</div>
</p>

<hr>


<p>
<strong><u>Introduction</u></strong>
</p>

<p>
The various CGIs distributed with Nagios are described here, along with the authorization requirements for accessing and using each CGI.  By default the CGIs require that you have authenticated to the web server and are authorized to view any information you are requesting.  For more information on configuring your web server and CGI configuration file to allow for this, read the sections on <a href="installweb.html">setting up the web interface</a> and <a href="cgiauth.html">CGI authorization</a>.
</p>

<p>
<strong><u>Index</u></strong>
</p>
<p>
<a href="#status_cgi">Status CGI</a><br>
<a href="#statusmap_cgi">Status map CGI</a><br>
<a href="#statuswml_cgi">WAP interface CGI</a><br>
<a href="#statuswrl_cgi">Status world CGI (VRML)</a><br>
<a href="#tac_cgi">Tactical overview CGI</a><br>
<a href="#outages_cgi">Network outages CGI</a><br>
<a href="#config_cgi">Configuration CGI</a><br>
<a href="#cmd_cgi">Command CGI</a><br>
<a href="#extinfo_cgi">Extended information CGI</a><br>
<a href="#showlog_cgi">Event log CGI</a><br>
<a href="#history_cgi">Alert history CGI</a><br>
<a href="#notifications_cgi">Notifications CGI</a><br>
<a href="#trends_cgi">Trends CGI</a><br>
<a href="#avail_cgi">Availability reporting CGI</a><br>
<a href="#histogram_cgi">Alert histogram CGI</a><br>
<a href="#summary_cgi">Alert summary CGI</a><br>
</p>


<p>
<a name="status_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb" ><strong>Status CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-status-a.png" border=0 alt="Status CGI - Details"></td>
<td align=left><img src="images/cgi-status-b.png" border=0 alt="Status CGI - Overview"></td>
<td align=left><img src="images/cgi-status-c.png" border=0 alt="Status CGI - Summary"></td>
<td align=left><img src="images/cgi-status-d.png" border=0 alt="Status CGI - Grid"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>status.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This is the most important CGI included with Nagios.  It allows you to view the current status of all hosts and services that are being monitored.  The status CGI can produce two main types of output - a status overview of all host groups (or a particular host group) and a detailed view of all services (or those associated with a particular host).  Pretty icons can be associated with hosts by defining <a href="configextinfo.html">extended host and service information</a> entries.
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view all hosts <b>and</b> all services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view all services.
<li>If you are an <i>authenticated contact</i> you can view all hosts and services for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>


<p>
<a name="statusmap_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Status Map CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-statusmap.png" border=0 alt="Status Map CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>statusmap.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI creates a map of all hosts that you have defined on your network.  The CGI uses Thomas Boutell's <a href="http://www.boutell.com/gd">gd</a> library (version 1.6.3 or higher) to create a PNG image of your network layout.  The coordinates used when drawing each host (along with the optional pretty icons) are taken from <a href="configextinfo.html">extended host information</a> definitions.  If you'd prefer to let the CGI automatically generate drawing coordinates for you, use the <a href="configcgi.html#default_statusmap_layout">default_statusmap_layout</a> directive to specify a layout algorithm that should be used.  If you can't seem to find this CGI, or if you have get errors when trying to compile or run it, read <a href="faqs.html#gd_library_problems">this FAQ</a>.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default" class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view all hosts.
<li>If you are an <i>authenticated contact</i> you can view hosts for which you are a contact.
</ul>
<br>
Note: Users who are not authorized to view specific hosts will see <i>unknown</i> nodes in those positions.  I realize that they really shouldn't see <i>anything</i> there, but it doesn't make sense to even generate the map if you can't see all the host dependencies...
</p>
</td>
</tr>
</table>
</p>


<p>
<a name="statuswml_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>WAP Interface CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-statuswml.png" border=0 alt="WAP Interface CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>statuswml.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI serves as a WAP interface to network status information.  If you have a WAP-enable device (i.e. an Internet-ready cellphone), you can view status information while you're on the go.  Different status views include hostgroup summary, hostgroup overview, host detail, service detail, all problems, and unhandled problems.  In addition to viewing status information, you can also disable notifications and checks and acknowledge problems from your cellphone.  Pretty cool, huh?
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_system_information"><i>authorized for system information</i></a> you can view Nagios process information.
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view status data for all hosts <b>and</b> services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view status data for all services.
<li>If you are an <i>authenticated contact</i> you can view status data for all hosts and services for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>


<p>
<a name="statuswrl_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Status World CGI (VRML)</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-statuswrl.png" border=0 alt="3-D Status Map CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>statuswrl.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI creates a 3-D VRML model of all hosts that you have defined on your network.  Coordinates used when drawing the hosts (as well as pretty texture maps) are defined using <a href="configextinfo.html">extended host information</a> definitions.    If you'd prefer to let the CGI automatically generate drawing coordinates for you, use the <a href="configcgi.html#default_statuswrl_layout">default_statuswrl_layout</a> directive to specify a layout algorithm that should be used.  You'll need a VRML browser (like <a href="http://www.parallelgraphics.com/cortona/">Cortona</a>, <a href="http://www.cosmosoftware.com">Cosmo Player</a> or <a href="http://www.intervista.com">WorldView</a>) installed on your system before you can actually view the generated model.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view all hosts.
<li>If you are an <i>authenticated contact</i> you can view hosts for which you are a contact.
</ul>
<br>
Note: Users who are not authorized to view specific hosts will see <i>unknown</i> nodes in those positions.  I realize that they really shouldn't see <i>anything</i> there, but it doesn't make sense to even generate the map if you can't see all the host dependencies...
</p>
</td>
</tr>
</table>
</p>


<p>
<a name="tac_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb" ><strong>Tactical Overview CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-tac.png" border=0 alt="Tactical Overview CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>tac.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI is designed to server as a "birds-eye view" of all network monitoring activity.  It allows you to quickly see network outages, host status, and service status.  It distinguishes between problems that have been "handled" in some way (i.e. been acknowledged, had notifications disabled, etc.) and those which have not been handled, and thus need attention.  Very useful if you've got a lot of hosts/services you're monitoring and you need to keep a single screen up to alert you of problems.
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view all hosts <b>and</b> all services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view all services.
<li>If you are an <i>authenticated contact</i> you can view all hosts and services for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>


<p>
<a name="outages_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Network Outages CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-outages.png" border=0 alt="Network Outages CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>outages.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI will produce a listing of "problem" hosts on your network that are causing network outages.   This can be particularly useful if you have a large network and want to quickly identify the source of the problem.  Hosts are sorted based on the severity of the outage they are causing.  More information on how the network outage CGI works can be found <a href="networkoutages.html">here</a>.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view all hosts.
<li>If you are an <i>authenticated contact</i> you can view hosts for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>

<p>
<a name="config_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Configuration CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-config.png" border=0 alt="Configuration CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>config.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI allows you to view objects (i.e. hosts, host groups, contacts, contact groups, time periods, services, etc.) that you have defined in your <a href="configobject.html">object configuration file(s)</a>.
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>You must be <a href="configcgi.html#authorized_for_configuration_information"><i>authorized for configuration information</i></a> in order to any kind of configuration information.
</ul>
</p>
</td>
</tr>
</table>
</p>

<p>
<a name="cmd_cgi"></a>
<table border="0" width="100%">
<tr>
<td bgcolor="#cbcbcb"><strong>Command CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-cmd.png" border=0 alt="Command CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>cmd.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI allows you to send commands to the Nagios process.  Although this CGI has several arguments, you would be better to leave them alone.  Most will change between different revisions of Nagios.  Use the <a href="#extinfo_cgi">extended information CGI</a> as a starting point for issuing commands.
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>You must be <a href="configcgi.html#authorized_for_system_commands"><i>authorized for system commands</i></a> in order to issue  commands that affect the Nagios process (restarts, shutdowns, mode changes, etc.).
<li>If you are <a href="configcgi.html#authorized_for_all_host_commands"><i>authorized for all host commands</i></a> you can issue commands for all hosts <b>and</b> services.
<li>If you are <a href="configcgi.html#authorized_for_all_service_commands"><i>authorized for all service commands</i></a> you can issue commands for all services.
<li>If you are an <i>authenticated contact</i> you can issue commands for all hosts and services for which you are a contact.
</ul>
</p>
<strong>Notes:</strong>
</p>
<p>
<ul>
<li>If you have chosen not to <a href="configcgi.html#use_authentication">use authentication</a> with the CGIs, this CGI will <i>not</i> allow anyone to issue commands to Nagios.  This is done for your own protection.  I would suggest removing this CGI altogether if you decide not to use authentication with the CGIs.
<li>In order for the CGI to issue commands to Nagios, you will have to set the proper file and directory permissions as described in <a href="faqs.html#command_file_permissions">this FAQ</a>.
</ul>
</p>
</td>
</tr>
</table>
</p>

<p>
<a name="extinfo_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Extended Information CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-extinfo-a.png" border=0 alt="Extended Information CGI - Process Information"></td>
<td align=left><img src="images/cgi-extinfo-b.png" border=0 alt="Extended Information CGI - Performance Information"></td>
<td align=left><img src="images/cgi-extinfo-c.png" border=0 alt="Extended Information CGI - Host Information"></td>
<td align=left><img src="images/cgi-extinfo-d.png" border=0 alt="Extended Information CGI - Service Information"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>extinfo.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI allows you to view Nagios process information, host and service state statistics, host and service comments, and more.  It also serves as a launching point for sending commands to Nagios via the <a href="#cmd_cgi">command CGI</a>.  Although this CGI has several arguments, you would be better to leave them alone - they are likely to change between different releases of Nagios.  You can access this CGI by clicking on the 'Network Health' and 'Process Information' links on the side navigation bar, or by clicking on a host or service link in the output of the <a href="#status_cgi">status CGI</a>.
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>You must be <a href="configcgi.html#authorized_for_system_information"><i>authorized for system information</i></a> in order to view Nagios process information.
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view extended information for all hosts <b>and</b> services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view extended information for all services.
<li>If you are an <i>authenticated contact</i> you can view extended information for all hosts and services for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>



<p>
<a name="showlog_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Event Log CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-showlog.png" border=0 alt="Event Log CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>showlog.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI will display the <a href="configmain.html#log_file">log file</a>.  If you have <a href="configmain.html#log_rotation_method">log rotation</a> enabled, you can browse notifications present in archived log files by using the navigational links near the top of the page.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>You must be <a href="configcgi.html#authorized_for_system_information"><i>authorized for system information</i></a> in order to view the log file.
</ul>
</p>
</td>
</tr>
</table>
</p>

<p>
<a name="history_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Alert History CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-history.png" border=0 alt="Alert History CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>history.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI is used to display the history of problems with either a particular host or all hosts.  The output is basically a subset of the information that is displayed by the <a href="#showlog_cgi">log file CGI</a>.  You have the ability to filter the output to display only the specific types of problems you wish to see (i.e. hard and/or soft alerts, various types of service and host alerts, all types of alerts, etc.).  If you have <a href="configmain.html#log_rotation_method">log rotation</a> enabled, you can browse history information present in archived log files by using the navigational links near the top of the page.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view history information for all hosts <b>and</b> all services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view history information for all services.
<li>If you are an <i>authenticated contact</i> you can view history information for all services and hosts for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>

<p>
<a name="notifications_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Notifications CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-notifications.png" border=0 alt="Notifications CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>notifications.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI is used to display host and service notifications that have been sent to various contacts.  The output is basically a subset of the information that is displayed by the <a href="#showlog_cgi">log file CGI</a>.  You have the ability to filter the output to display only the specific types of notifications you wish to see (i.e. service notifications, host notifications, notifications sent to specific contacts, etc).  If you have <a href="configmain.html#log_rotation_method">log rotation</a> enabled, you can browse notifications present in archived log files by using the navigational links near the top of the page.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view notifications for all hosts <b>and</b> all services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view notifications for all services.
<li>If you are an <i>authenticated contact</i> you can view notifications for all services and hosts for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>


<p>
<a name="trends_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Trends CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-trends.png" border=0 alt="Trends CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>trends.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI is used to create a graph of host or service states over an arbitrary period of time.  In order for this CGI to be of much use, you should enable <a href="configmain.html#log_rotation_method">log rotation</a> and keep archived logs in the path specified by the <a href="configmain.html#log_archive_path">log_archive_path</a> directive.  The CGI uses Thomas Boutell's <a href="http://www.boutell.com/gd">gd</a> library (version 1.6.3 or higher) to create the trends image.  If you can't seem to find this CGI or if you have get errors when trying to compile or run it, read <a href="faqs.html#gd_library_problems">this FAQ</a>.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view trends for all hosts <b>and</b> all services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view trends for all services.
<li>If you are an <i>authenticated contact</i> you can view trends for all services and hosts for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>


<p>
<a name="avail_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Availability Reporting CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-avail-a.png" border=0 alt="Availability CGI - Hostgroup"></td>
<td align=left><img src="images/cgi-avail-b.png" border=0 alt="Availability CGI - Host"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>avail.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI is used to report on the availability of hosts and services over a user-specified period of time.  In order for this CGI to be of much use, you should enable <a href="configmain.html#log_rotation_method">log rotation</a> and keep archived logs in the path specified by the <a href="configmain.html#log_archive_path">log_archive_path</a> directive.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view availability data for all hosts <b>and</b> all services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view availability data for all services.
<li>If you are an <i>authenticated contact</i> you can view availability data for all services and hosts for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>



<p>
<a name="histogram_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Alert Histogram CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-histogram.png" border=0 alt="Alert Histogram CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>histogram.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI is used to report on the availability of hosts and services over a user-specified period of time.  In order for this CGI to be of much use, you should enable <a href="configmain.html#log_rotation_method">log rotation</a> and keep archived logs in the path specified by the <a href="configmain.html#log_archive_path">log_archive_path</a> directive.    The CGI uses Thomas Boutell's <a href="http://www.boutell.com/gd">gd</a> library (version 1.6.3 or higher) to create the histogram image.  If you can't seem to find this CGI or if you have get errors when trying to compile or run it, read <a href="faqs.html#gd_library_problems">this FAQ</a>.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view histograms for all hosts <b>and</b> all services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view histograms for all services.
<li>If you are an <i>authenticated contact</i> you can view histograms for all services and hosts for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>



<p>
<a name="summary_cgi"></a>
<table border="0" width="100%" class="Default">
<tr>
<td bgcolor="#cbcbcb"><strong>Alert Summary CGI</strong></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td align=left><img src="images/cgi-summary.png" border=0 alt="Alert Summary CGI"></td>
</tr>
</table>

<table border="0" class="Default">
<tr>
<td>File Name:</td>
<td><font color="red"><strong>summary.cgi</strong></font></td>
</tr>
</table>
</p>

<p>
<table border="0" width="100%" class="Default">
<tr>
<td align=left valign=top width="50%">
<p>
<strong>Description:</strong><br>
This CGI provides some generic reports about host and service alert data, including alert totals, top alert producers, etc.
</p>
<p>
<strong>Authorization Requirements:</strong><br>
<ul class="Default">
<li>If you are <a href="configcgi.html#authorized_for_all_hosts"><i>authorized for all hosts</i></a> you can view summary information for all hosts <b>and</b> all services.
<li>If you are <a href="configcgi.html#authorized_for_all_services"><i>authorized for all services</i></a> you can view summary information for all services.
<li>If you are an <i>authenticated contact</i> you can view summary information for all services and hosts for which you are a contact.
</ul>
</p>
</td>
</tr>
</table>
</p>

<hr>

</body>
</html>