munin: Add default 1.4.4 configuration.
[matthijs/servers/drsnuggles.git] / etc / munin / templates / munin-serviceview.tmpl
1 <TMPL_INCLUDE NAME="partial/head.tmpl">
2 <!--
3         Body material.
4         First comes a heading frame with logo and the breadcrumbs with links to each level above
5 -->
6 <body>
7 <TMPL_INCLUDE NAME="partial/logo_navigation.tmpl">
8  <!-- Loop over the services at this level.  Mostly only to access the
9       nested variables describing the _one_ service that should be
10       available here. -->
11  <TMPL_LOOP NAME="SERVICES">
12
13   <table class="invisiblebox">
14     <tr>
15       <!-- Table row: Day image -->
16       <!-- Note, the class of the img does not work to set border width and color.  Could be something to do with the table? -->
17       <td><img src="<TMPL_VAR NAME="IMGDAY">" alt="daily graph" <TMPL_IF NAME="IMGDAYWIDTH">width="<TMPL_VAR NAME="IMGDAYWIDTH">" </TMPL_IF> <TMPL_IF NAME="IMGDAYHEIGHT">height="<TMPL_VAR NAME="IMGDAYHEIGHT">"</TMPL_IF>/></td>
18       <!-- cont'd: Week image -->
19       <td><img src="<TMPL_VAR NAME="IMGWEEK">" alt="weekly graph" <TMPL_IF NAME="IMGWEEKWIDTH">width="<TMPL_VAR NAME="IMGWEEKWIDTH">" </TMPL_IF> <TMPL_IF NAME="IMGWEEKHEIGHT">height="<TMPL_VAR NAME="IMGWEEKHEIGHT">"</TMPL_IF>/></td>
20     </tr>
21     <tr>
22       <!-- New table row: Month image -->
23       <td><img src="<TMPL_VAR NAME="IMGMONTH">" alt="monthly graph" <TMPL_IF NAME="IMGMONTHWIDTH">width="<TMPL_VAR NAME="IMGMONTHWIDTH">" </TMPL_IF> <TMPL_IF NAME="IMGMONTHHEIGHT">height="<TMPL_VAR NAME="IMGMONTHHEIGHT">"</TMPL_IF>/></td>
24       <!-- cont'd: Year image -->
25       <td><img src="<TMPL_VAR NAME="IMGYEAR">" alt="yearly graph" <TMPL_IF NAME="IMGYEARWIDTH">width="<TMPL_VAR NAME="IMGYEARWIDTH">" </TMPL_IF> <TMPL_IF NAME="IMGYEARHEIGHT">height="<TMPL_VAR NAME="IMGYEARHEIGHT">"</TMPL_IF>/></td>
26     </tr>
27     <!-- .sum graphs.  One of the least used features of munin? -->
28 <TMPL_IF NAME="IMGWEEKSUM">
29     <tr>
30       <!-- Week sum -->
31       <td><img src="<TMPL_VAR NAME="IMGWEEKSUM">" alt="summed weekly graph" <TMPL_IF NAME="IMGWEEKSUMWIDTH">width="<TMPL_VAR NAME="IMGWEEKSUMWIDTH">" </TMPL_IF> <TMPL_IF NAME="IMGWEEKSUMHEIGHT">height="<TMPL_VAR NAME="IMGWEEKSUMHEIGHT">"</TMPL_IF>/></td>
32       <!-- Month sum?  BUG?: See mixture of "month" and "year" in the text and tags -->
33       <td><img src="<TMPL_VAR NAME="IMGYEARSUM">" alt="summed monthly graph" <TMPL_IF NAME="IMGYEARSUMWIDTH">width="<TMPL_VAR NAME="IMGYEARSUMWIDTH">" </TMPL_IF> <TMPL_IF NAME="IMGYEARSUMHEIGHT">height="<TMPL_VAR NAME="IMGYEARSUMHEIGHT">"</TMPL_IF>/></td>
34     </tr>
35 </TMPL_IF><!-- IMGWEEKSUM -->
36
37 <!-- Here follows meta information for the graphs -->
38
39         <tr>
40           <td colspan="2" class="legendbox">
41             <table width='100%' id="legend" cellpadding="0" cellspacing="0">
42                   <TMPL_LOOP NAME="GRAPHINFO"><!-- Do we actually allow mutiple graph_info, or is this just to access the nested data? -->
43                     <tr>
44                       <td class='wrap' colspan="6" align='left' valign='top'><TMPL_VAR NAME="INFO"></td>
45                     </tr>
46                   </TMPL_LOOP><!-- GRAPHINFO -->
47
48                     <TMPL_IF NAME="STATE_WARNING"><tr><td class='wrap' colspan="6" align='left' valign='top'><b>NOTE!</b> This service is in WARNING state because one of the values reported is outside the allowed range.  Please see further down for information about the ranges and the graph for the values.</td></tr></TMPL_IF>
49                     <TMPL_IF NAME="STATE_CRITICAL"><tr><td class='wrap' colspan="6" align='left' valign='top'><b>NOTE!</b> This service is in CRITICAL state because one of the values reported is outside the allowed range.  Please see further down for information about the ranges and the graph for the values.</td></tr></TMPL_IF>
50                     <TMPL_IF NAME="STATE_UNKNOWN"><tr><td class='wrap' colspan="6" align='left' valign='top'><b>NOTE!</b> This service is in UNKNOWN state, because something bad happened.  Please check your network, the munin-node, and the plugin.</td></tr></TMPL_IF>
51
52                     <tr>
53                           <th align='left' valign='top'>Field</th>
54                           <th align='left' valign='top'><span title="For use in munin.conf">Internal name</span></th>                         <!-- BUG: The definitions.html reference is not correct, it is only available at the root, there are not enough ..s in the URL -->
55                           <th align='center' valign='top'><a href="../../definitions.html#data_types">Type</a></th>
56                           <th align='center' valign='top'>Warn</th>
57                           <th align='center' valign='top'>Crit</th>
58                           <th>Info</th>
59                     </tr>
60                   <TMPL_LOOP NAME="FIELDINFO">
61                     <tr class="<TMPL_IF NAME="__odd__">oddrow<TMPL_ELSE>evenrow</TMPL_IF><TMPL_IF NAME="__last__"> lastrow</TMPL_IF>">
62                       <td align='left' valign='top'><TMPL_VAR ESCAPE="HTML" NAME="LABEL"></td>
63                       <td align='left' valign='top'><span title="For use in munin.conf"><TMPL_VAR ESCAPE="HTML" NAME="FIELD"></span></td>
64                       <td align='center' valign='top'><TMPL_VAR NAME="TYPE"></td>
65                       <td align='center' valign='top'><TMPL_IF NAME="STATE_WARNING"><div class='warntext'></TMPL_IF><TMPL_VAR NAME="WARN"><TMPL_IF NAME="STATE_WARNING"></div><TMPL_ELSE>&nbsp;</TMPL_IF></td>
66                       <td align='center' valign='top'><TMPL_IF NAME="STATE_CRITICAL"><div class='crittext'></TMPL_IF><TMPL_VAR NAME="CRIT"><TMPL_IF NAME="STATE_CRITICAL"></div><TMPL_ELSE>&nbsp;</TMPL_IF></td>
67                       <td class='wrap' align='left' valign='top'><TMPL_IF NAME="INFO"><TMPL_VAR ESCAPE="HTML" NAME="INFO"><TMPL_ELSE>&nbsp;</TMPL_IF></td>
68                     </tr>
69
70                     <TMPL_IF NAME="EXTINFO">
71                       <tr class="<TMPL_IF NAME="__odd__">oddrow<TMPL_ELSE>evenrow</TMPL_IF>"><td class='wrap' colspan="6" align='left' valign='top'>This field has the following extra information: <TMPL_VAR ESCAPE="HTML" NAME="EXTINFO"></td></tr>
72                     </TMPL_IF>
73                   </TMPL_LOOP><!-- FIELDINFO -->
74             </table>
75           </td>
76         </tr>
77   </TMPL_LOOP><!-- What ends here?  Probably SERVICES -->
78   <tr>
79     <td>
80     </td>
81   </tr>
82   <tr>
83    <td colspan="2" class="linkbox">
84      <TMPL_INCLUDE NAME="partial/bottom_navigation.tmpl">
85    </td>
86   </tr>
87 </table>
88   <TMPL_INCLUDE NAME="partial/generated_by.tmpl">
89 </body>
90 </html>
91