| 1 |
========================== |
| 2 |
NAGIOS CGI SSI FILE README |
| 3 |
========================== |
| 4 |
|
| 5 |
This folder may contain optional header and footer files that will |
| 6 |
be added to the CGI HTML output. The files you put can contain server |
| 7 |
side include (SSI) statements. |
| 8 |
|
| 9 |
There are two types of header and footer files - common headers/footers |
| 10 |
and CGI-specific headers/footers. Common header/footer files (if present) |
| 11 |
will be included in the output of ALL CGIs. CGI-specific header/footer |
| 12 |
files (if present) will be included in the output of the CGI they are |
| 13 |
intended for. |
| 14 |
|
| 15 |
The order in which headers/footers are included with regards to the CGI |
| 16 |
output and each other is shown below: |
| 17 |
|
| 18 |
1. COMMON HEADER |
| 19 |
2. CGI-SPECIFIC HEADER |
| 20 |
3. CGI OUTPUT |
| 21 |
4. CGI-SPECIFIC FOOTER |
| 22 |
5. COMMON FOOTER |
| 23 |
|
| 24 |
The header/footer files you create must be named exactly as shown below |
| 25 |
in order to be included in the CGI output: |
| 26 |
|
| 27 |
Common headers/footers: |
| 28 |
|
| 29 |
common-header.ssi |
| 30 |
common-footer.ssi |
| 31 |
|
| 32 |
CGI-specific header/footers: |
| 33 |
<cginame>-header.ssi |
| 34 |
<cginame>-footer.ssi |
| 35 |
|
| 36 |
|
| 37 |
Some examples of CGI-specific header/footer file names are shown below: |
| 38 |
|
| 39 |
tac-header.ssi |
| 40 |
tac-footer.ssi |
| 41 |
status-header.ssi |
| 42 |
status-footer.ssi |
| 43 |
avail-header.ssi |
| 44 |
avail-footer.ssi |
| 45 |
notifications-header.ssi |
| 46 |
notifications-footer.ssi |
| 47 |
|