[rtg] rtg status?

Adrian Chadd adrian at creative.net.au
Sun Jan 11 02:36:50 EST 2009


On Sun, Jan 11, 2009, Tim Price wrote:
> I've got some changes to contribute from the latest FreeBSD port.
> 
> One problem I've got which someone might be able to help with is this:
> 
> I run the rtg poller with Daemon Tools so when I make any changes / additions I restart daemon tools to restart the rtg poller.
> 
> This of course does a hard restart of the application and it does an initial poll of the devices and puts a huge spike in the data (especially if it's a gigabit interface).
> 
> Is there a way of doing a softer restart so that it doesn't have this effect?  It seems to me that the initial poll of a device should not be considered sane because as it's a counter value it will always be greater than zero and could be any value.

Not that I've looked at the poller or any of the RTG code in general for months,
but the normal trick is to record the max throughput of an if, and discard readings
which provide a delta greater than the if could possibly do in your polling interval
(plus a fudge factor in case..)

I'd be surprised if it wasn't already in rtg. if it isn't, I'm sure it wouldn't be
hard to add. :)



Adrian



More information about the RTG mailing list