From: Bernard L. <be...@va...> - 2007-11-28 22:41:48
|
Hi Brad: On 11/21/07, Brad Nicholes <BNI...@no...> wrote: > Calling for PHP web frontend help! > With the introduction of additional metadata, there is some work that needs to be done to the web frontend. I am not a PHP hacker and I know that many of you are, so I am asking for help in this area. The XML output of both gmond and gmetad has been enhanced to include a new tag called <EXTRA_DATA> This tag is contained by the <METRIC> tag and carries a single attribute and value. The attribute can actually anything but is currently defined to be TITLE, GROUP or DESC. There can only be a single TITLE or DESC passed for each metric however there maybe multiple GROUPs. I would like to see somebody enhance the web frontend in such a way so that the TITLE is being used as the title for each metric graph rather than the metric name. Also a new filtering method should be added to allow user to display graphs based on the GROUP that a metric belongs to. The DESCription data could be added as mouse-over text for each graph or constant metric. I think that these types of en > hancements will go a long way to improving the usability of the web frontend. I am curious why <EXTRA_DATA TITLE> is necessary -- currently it seems that it is the same as <METRIC NAME> as can be seen in this XML snippet: <METRIC NAME="swap_free" VAL="1999988" TYPE="uint32" UNITS="KB" TN="81296" TMAX="180" DMAX="0" SLOPE="both" SOURCE="gmond"> <EXTRA_DATA DESC="Amount of available swap memory"/> <EXTRA_DATA TITLE="swap_free"/> Thanks, Bernard |