This is an old revision of the document!
A few new configuration files were placed in the <GANGLIA HOME>/ directory with the following content:
- maintenance_conf.php
<?php $maint_name = "maintenance"; $computer_metrics = array( "load", "mem" ); $maintenance_metrics = array( "rows", "rowscool", "clcpwaterflow", "pumptemp", "pumpdp" ); ?>
in the <GANGLIA HOME>/graph.d/ directory (files archive graph_d.zip)
**pumpdp_report.php** **pumptemp_report.php** **rows_report.php** **rowscool_report.php** **clcpwaterflow_report.php**
in the file conf.php (in “/etc/ganglia/”) was inserted:
include_once "./maintenance_conf.php";
in the template file <GANGLIA HOME>/templates/default/meta_view.tpl the block “public” was changed:
... <!-- START BLOCK : public --> <TD ALIGN="LEFT" VALIGN="TOP"> <table cellspacing=1 cellpadding=1 width="100%" border=0> <tr><td>CPUs Total:</td><td align=left><B>{cpu_num}</B></td></tr> <tr><td width="80%">Hosts up:</td><td align=left><B>{num_nodes}</B></td></tr> <tr><td>Hosts down:</td><td align=left><B>{num_dead_nodes}</B></td></tr> <tr><td> </td></tr> <tr><td class=footer colspan=2>{cluster_load}</td></tr> <tr><td class=footer colspan=2>{localtime}</td></tr> </table> </TD> <TD ROWSPAN=2 ALIGN="CENTER" VALIGN=top> <!-- START BLOCK : metric_graphs --> <A HREF="{url}"> <IMG SRC="./graph.php?{graph_url}&g={metricname}_report&z=medium&r={range}" ALT="{name} Load" BORDER="0"> </A> <!-- END BLOCK : metric_graphs --> </TD> <!-- END BLOCK : public --> ...