[rtg] Traffic is wrapping

bill fumerola billf at mu.org
Mon Apr 7 19:45:32 EDT 2008


On Tue, Apr 01, 2008 at 03:44:46PM -0600, Leech, Jonathan wrote:
> I think now is as good a time as any to further pollute the waters... My
> colleague and I implemented JRTG to address the problems we had with
> RTG, primarily scalability. As its Java another benefit is there is no
> problem building it.
> 
> http://jrtg.sourceforge.net
> 
> We built it to read the targets file from TargetMaker, and write to the
> same schema as RTG, but we never tested the database insertion as we
> write to a different schema.

first: neat idea. i'm sure it works great better etc., no disrespect. but..

my lord, that code is so far gone from the original codebase... it's
nice that you gave a nod to its roots. i mean, i guess it's obvious from
some of the structure and variables and event loops, but here is one of
many reasons why i stay away from java....

%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// need to make a new delegate if the className or delegateName for i has changed,
// or if there wasn't a delegate for i to begin with
if (
	((oldDelegate != null) && (!oldDelegate.getClass().getName().equals(className) || !oldDelegate.name.equals(delegateName)))
	|| ((oldDelegate == null) && (className != null) && !"".equals(className) && (delegateName != null) && !"".equals(delegateName))
	)
{
%%%%%%%%%%%%%%%%%%%%%%%%%%%%

OOP will save us all / save us all from OOP.

if you had to rewrite it in an entirely other language, ruby would have
made a nice fit. dunno how advanced the SNMP modules are, but from a
language fitting the task perspective, i think it would work great.

rrtg? bfrtg? odnsrtg?

dare to dream.

-- bill

p.s. to the other poster who asked "Yahoo-RTG?"
     http://mu.org/~billf/yrtg/


More information about the RTG mailing list