On Fri, May 20, 2005 at 11:46:12AM +0200, Christian Perrier wrote:
Hobbit currently does not handle vmstat data coming from IRIX systems.
Indeed, on my former BB install, I hacked the bf-vmstat.sh script a little and made it use "sar" to report data to be processed like vmstat data from other hosts. [snip] How could I hack hobbit so that it may be able to deal with this ?
Something like the attached patch should do it (I think it applies to 4.03rc2). It assumes your IRIX hosts have a BBOSTYPE that begins with "irix".
I have changed the RRD definition from yours - the "cpu_w" dataset is normally called "cpu_wait", and I've added a "cpu_csw" dataset because that will allow you to use the vmstat3 graph definition un-modified. That means your current vmstat RRD files from IRIX will not be usable with Hobbit, as is the case with most of the vmstat RRD's.
Regards, Henrik