> I'm trying to modify the filesystem report plugin to return the most recent
> maximum for each file system. from the API documentation, I need to pass ds,
> start, end, and function to the getRRDValue function. My python experience
> is zero.
>
> I have tried the following:
> used =
> f.getRRDValue('usedBlocks',DateTime.DateTime('02/26/2009'),DateTime.DateTime('02/27/2009'),'MAXIMUM')
>
> to no avail. The damned report still loads with average values over a month
> period. Can someone please help me out here... I've spent a day and a half
> trawling google, APIs, and source code. Hopefully it's just my lack of python
> skills that's the problem :)
i have been playing with rrd stuff, and what i'm using (and seems to work)
is:
self.cacheRRDValue('ifInOctets')*8
which is obviously for interface stats. the 'cache' part may be causing
some delays between what rrd has recorded and what displays but i haven't
gotten that far yet in my playing.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users