Joe Kaiser wrote:
Hi,
I am interested in getting greater granularity on some of the metrics,
especially over greater lengths of time. For example, if I wanted to
see the one hour cpu load and how it changed over an hour/day/week and I
wanted to have the same granularity at one week as I do at one hour, how
would I go about changing that? Is that even intelligent to do?
It would require source code hacking. gmetad uses rrdtool for data storage
and graphing. rrdtool (Round-Robin Database Tool) was developed as an
outboard database and graphing engine for MRTG, and was specifically
designed to have different granularities over different time periods
(although theoretically you could tweak this...). If you wanted to have
gmetad record the data it's collecting from the data sources in a different
format that supports the granularity you seek, that'd probably be a fairly
easy hack (depending on whether or not there's a perl interface of some
kind), but you'd have to roll your own graphing/display functions.
Alternately, you can read the docs on rrdtool and see if you can get it to
jump through the requisite configuration of hoops. Assuming the RRD files
are set up the way you want them, the rendering should mostly take care of
itself ...
... although you'd still need to add some fields in the graph display form
(graph start and graph end, basically) ....