[AGENT++] Advice for the statistic traps?

Frank Fock fock at agentpp.com
Wed Apr 14 20:25:03 CEST 2004


Hi Fedja,

I would prefer putting the statistic objects into a table and
then send only the instances that has changed in the
trap.

Best regards,
Frank

Mr. AWD wrote:

> I am using agent++ for the implementation of the statistic agent that 
> is suppose to send a notification whenever one of the stats breaks the 
> range that was specified. So, one way would be to implement one 
> notification object for each of the statistic objects, but that would 
> be overkill since there are over 100 or so of the stat objects in there.
>
> Other way would be to have a generic trap that would somehow add a 
> varbind object that points to the statistic object it self, but that 
> would still be too many varbinds in there.
>
> Third option could be to have a generic string object that gets filled 
> in whenever event gets to the agent and include that into the trap as 
> a varbind object.
>
> Is there a better way to do this kind of task that someone can add in 
> here?
>
> Thanks!
>
>
> Fedja
>
>
>
> ------------------------------------------------------------------------
> *Join Excite! - http://www.excite.com*
> The most personalized portal on the Web!
>
>------------------------------------------------------------------------
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>  
>





More information about the AGENTPP mailing list