2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
contrib-munin/templates/official/munin-serviceview.tmpl

106 lines
4.9 KiB
Cheetah
Raw Normal View History

<TMPL_INCLUDE NAME="partial/head.tmpl">
<body>
<TMPL_INCLUDE NAME="partial/logo_navigation.tmpl">
<div id="main">
<TMPL_INCLUDE NAME="partial/navigation.tmpl">
<div id="content">
<h2>Service graphs</h2>
<TMPL_LOOP NAME="SERVICES">
<table>
<tr>
<td><a href="<TMPL_VAR NAME="ZOOMDAY">">
<img src="<TMPL_VAR NAME="IMGDAY">"
alt="daily graph"
class=i<TMPL_IF NAME="STATE_WARNING">warn</TMPL_IF><TMPL_IF NAME="STATE_CRITICAL">crit</TMPL_IF>
<TMPL_IF NAME="IMGDAYWIDTH">width="<TMPL_VAR NAME="IMGDAYWIDTH">" </TMPL_IF>
<TMPL_IF NAME="IMGDAYHEIGHT">height="<TMPL_VAR NAME="IMGDAYHEIGHT">"</TMPL_IF>/>
</a></td>
<td><a href="<TMPL_VAR NAME="ZOOMWEEK">">
<img src="<TMPL_VAR NAME="IMGWEEK">"
alt="weekly graph"
class=i<TMPL_IF NAME="STATE_WARNING">warn</TMPL_IF><TMPL_IF NAME="STATE_CRITICAL">crit</TMPL_IF>
<TMPL_IF NAME="IMGWEEKWIDTH">width="<TMPL_VAR NAME="IMGWEEKWIDTH">" </TMPL_IF>
<TMPL_IF NAME="IMGWEEKHEIGHT">height="<TMPL_VAR NAME="IMGWEEKHEIGHT">"</TMPL_IF>/>
</a></td>
</tr>
<tr>
<td><a href="<TMPL_VAR NAME="ZOOMMONTH">">
<img src="<TMPL_VAR NAME="IMGMONTH">"
alt="monthly graph"
class=i<TMPL_IF NAME="STATE_WARNING">warn</TMPL_IF><TMPL_IF NAME="STATE_CRITICAL">crit</TMPL_IF>
<TMPL_IF NAME="IMGMONTHWIDTH">width="<TMPL_VAR NAME="IMGMONTHWIDTH">" </TMPL_IF>
<TMPL_IF NAME="IMGMONTHHEIGHT">height="<TMPL_VAR NAME="IMGMONTHHEIGHT">"</TMPL_IF>/>
</a></td>
<td><a href="<TMPL_VAR NAME="ZOOMYEAR">">
<img src="<TMPL_VAR NAME="IMGYEAR">"
alt="yearly graph"
class=i<TMPL_IF NAME="STATE_WARNING">warn</TMPL_IF><TMPL_IF NAME="STATE_CRITICAL">crit</TMPL_IF>
<TMPL_IF NAME="IMGYEARWIDTH">width="<TMPL_VAR NAME="IMGYEARWIDTH">" </TMPL_IF>
<TMPL_IF NAME="IMGYEARHEIGHT">height="<TMPL_VAR NAME="IMGYEARHEIGHT">"</TMPL_IF>/>
</a></td>
</tr>
<!-- .sum graphs. One of the least used features of munin? -->
<TMPL_IF NAME="IMGWEEKSUM">
<tr>
<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>
<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>
</tr>
</TMPL_IF>
</table>
<h2>Graph Information</h2>
<TMPL_LOOP NAME="GRAPHINFO">
<!-- Do we actually allow mutiple graph_info, or is this just to access the nested data? -->
<p class="graph_info"><TMPL_VAR NAME="info"></p>
</TMPL_LOOP>
<TMPL_IF NAME="STATE_WARNING"><p class="warning"><p><strong>Note:</strong>
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.
</p></TMPL_IF>
<TMPL_IF NAME="STATE_CRITICAL"><p class="critical"><p><strong>Note:</strong>
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.
<p></TMPL_IF>
<TMPL_IF NAME="STATE_UNKNOWN"><p class='unknown'><strong>Note:</strong> This service is in UNKNOWN state, because something bad happened. Please check your network, the munin-node, and the plugin.
</p></TMPL_IF>
<table id="legend">
<tr>
<th class="field">Field</th>
<th class="internal"><span title="For use in munin.conf">Internal name</span></th>
<th class="type"><a href="../../static/definitions.html#data_types">Type</a></th>
<th class="warn">Warn</th>
<th class="crit">Crit</th>
<th class="info">Info</th>
</tr>
<TMPL_LOOP NAME="FIELDINFO">
<tr class="<TMPL_IF NAME="__odd__">oddrow<TMPL_ELSE>evenrow</TMPL_IF><TMPL_IF NAME="__last__"> lastrow</TMPL_IF">">
<td class="field"><TMPL_VAR ESCAPE="HTML" NAME="LABEL"></td>
<td class="internal"><span title="For use in munin.conf"><TMPL_VAR ESCAPE="HTML" NAME="FIELD"></span></td>
<td class="type"><TMPL_VAR NAME="TYPE"></td>
<td class="warn"><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>
<td class="info"><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>
<td><TMPL_IF NAME="INFO"><TMPL_VAR ESCAPE="HTML" NAME="INFO"><TMPL_ELSE>&nbsp;</TMPL_IF></td>
</tr>
<TMPL_IF NAME="EXTINFO">
<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>
</TMPL_IF>
</TMPL_LOOP>
</table>
</TMPL_LOOP> <!-- services -->
</div>
</div>
<TMPL_INCLUDE NAME="partial/footer.tmpl">
</body>
</html>