Update of /var/cvs/html/mmbase/admin
In directory james.mmbase.org:/tmp/cvs-serv30421

Modified Files:
        stats.jsp 
Log Message:
for (as yet) unknown caches report zeros, to avoid errors in mrtg


See also: http://cvs.mmbase.org/viewcvs/html/mmbase/admin


Index: stats.jsp
===================================================================
RCS file: /var/cvs/html/mmbase/admin/stats.jsp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- stats.jsp   28 Aug 2008 09:12:09 -0000      1.13
+++ stats.jsp   28 Aug 2008 09:34:34 -0000      1.14
@@ -36,6 +36,9 @@
     %>
 <%= cache.getHits() %>
 <%= cache.getHits() + cache.getMisses() %>
+    <% }  else { %>
+0
+0
     <% } %>
   </mm:compare>
   <mm:compare value="cachefill">
@@ -45,6 +48,9 @@
     %>
 <%= cache.getSize() %>
 <%= cache.getMaxSize() %>
+    <% } else { %>
+0
+0
     <% } %>
   </mm:compare>
   <mm:compare value="mrtgconfig">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to