[AGENT++] Advice for the statistic traps?

Mr. AWD mrawd at excite.com
Wed Apr 14 20:35:20 CEST 2004


 So is that like my third option mentioned bellow which could look like this:latestEventInfo OBJECT-TYPESYNTAX DisplayString (SIZE(0..255))MAX-ACCESS read-writeSTATUS currentDESCRIPTION { ... }::= { statGroup 1 }statisticGenericTrap NOTIFICATION-TYPEOBJECT { latestEventInfo }STATUS currentDESCRIPTION { ... }::= { trapGroup 1 }Or, maybe something else that you had in mind? Thanks again! Fedja--- On Wed 04/14, Frank Fock < fock at agentpp.com > wrote:From: Frank Fock [mailto: fock at agentpp.com]To: mrawd at excite.comCc: agentpp at agentpp.orgDate: Wed, 14 Apr 2004 20:25:03 +0200Subject: Re: [AGENT++] Advice for the statistic traps?Hi Fedja,I would prefer putting the statistic objects into a table andthen send only the instances that has changed in thetrap.Best regards,FrankMr. 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> >_______________________________________________AGENTPP mailing listAGENTPP at agentpp.orghttp://agentpp.org/mailman/listinfo/agentpp

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20040414/6e270148/attachment.htm 


More information about the AGENTPP mailing list