/etc/munin/templates/munin-domainview.tmpl is in munin 1.4.6-3ubuntu3.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <TMPL_INCLUDE NAME="partial/head.tmpl">
<!--
BODY matter. Starts off with a table with the logo on the left, and various headlines on the right.
-->
<body>
<TMPL_INCLUDE NAME="partial/logo_navigation.tmpl">
<table class="largeinvisiblebox">
<tr>
<td class="linkbox">
<ul>
<!--
Outer body loop, going down, the groups (at this (current) level. Listing level 1!
-->
<TMPL_LOOP NAME="GROUPS">
<li><span class="domain"><a href="<TMPL_VAR NAME="URLX">"><TMPL_VAR ESCAPE="HTML" NAME="NAME"></a></span>
<ul>
<!-- In each group there are N categories -->
<TMPL_IF NAME="NCATEGORIES"><TMPL_LOOP NAME="CATEGORIES">
<li><span class="host"><a href="<TMPL_VAR NAME="URLX">"><TMPL_VAR ESCAPE="HTML" NAME="NAME"></a></span>
<ul>
<!-- And in each categroy there are M services -->
<TMPL_LOOP NAME="SERVICES">
<li><span class="service"><a <TMPL_IF NAME="STATE_WARNING">class="warn"</TMPL_IF> <TMPL_IF NAME="STATE_CRITICAL">class="crit"</TMPL_IF> href="<TMPL_VAR NAME="URLX">"><TMPL_VAR ESCAPE="HTML" NAME="NAME"></a></span></li>
</TMPL_LOOP><!-- SERVICES -->
</ul>
</li>
</TMPL_LOOP><!--CATEGORIES --></TMPL_IF><!-- NCATEGORIES -->
<TMPL_IF NAME="NGROUPS">
<!-- GROUPS Listing level 2 -->
<TMPL_LOOP NAME="GROUPS">
<li><span class="domain"><a href="<TMPL_VAR NAME="URLX">"><TMPL_VAR ESCAPE="HTML" NAME="NAME"></a></span>
<ul>
<TMPL_IF NAME="NCATEGORIES"><TMPL_LOOP NAME="CATEGORIES">
<li><span class="host"><a href="<TMPL_VAR NAME="URLX">"><TMPL_VAR ESCAPE="HTML" NAME="NAME"></a></span>
<ul>
<TMPL_LOOP NAME="SERVICES">
<li><span class="service"><a <TMPL_IF NAME="STATE_WARNING">class="warn"</TMPL_IF> <TMPL_IF NAME="STATE_CRITICAL">class="crit"</TMPL_IF> href="<TMPL_VAR NAME="URLX">"><TMPL_VAR ESCAPE="HTML" NAME="NAME"></a></span></li>
</TMPL_LOOP>
</ul>
</li>
</TMPL_LOOP></TMPL_IF>
<TMPL_IF NAME="NGROUPS"><!-- NGROUPS level 3 -->
<TMPL_LOOP NAME="GROUPS"><!-- GROUPS Listing level 3 -->
<li><span class="domain"><a href="<TMPL_VAR NAME="URLX">"><TMPL_VAR ESCAPE="HTML" NAME="NAME"></a></span>
<ul>
<!-- In each group N categories and so on -->
<TMPL_IF NAME="NCATEGORIES"><TMPL_LOOP NAME="CATEGORIES">
<li><span class="host"><a href="<TMPL_VAR NAME="URLX">"><TMPL_VAR ESCAPE="HTML" NAME="NAME"></a></span>
<ul>
<!-- And in each catrgory there are services -->
<TMPL_LOOP NAME="SERVICES">
<li><span class="service"><a <TMPL_IF NAME="STATE_WARNING">class="warn"</TMPL_IF> <TMPL_IF NAME="STATE_CRITICAL">class="crit"</TMPL_IF> href="<TMPL_VAR NAME="URLX">"><TMPL_VAR ESCAPE="HTML" NAME="NAME"></a></span></li>
</TMPL_LOOP><!-- END SERVICES -->
</ul>
</li>
</TMPL_LOOP><!-- END CATEGORIES --></TMPL_IF>
<TMPL_IF NAME="NGROUPS">
</TMPL_IF>
</ul>
</li>
</TMPL_LOOP><!-- END GROUPS Listing level 3 -->
</TMPL_IF><!-- END NGROUPS level 3 -->
</ul>
</li>
</TMPL_LOOP><!-- END GROUPS Listing level 2 -->
</TMPL_IF><!-- END NGROUPS level 2 -->
</ul>
</li>
</TMPL_LOOP><!--END GROUPS Listing level 1 -->
</ul>
</td></tr>
<tr><td></td></tr>
<tr>
<td class="linkbox">
<TMPL_INCLUDE NAME="partial/bottom_navigation.tmpl">
</td>
</tr>
</table>
<TMPL_INCLUDE NAME="partial/generated_by.tmpl">
</body>
</html>
|