[AGENT++] Changing community for generated traps

Mr. AWD mrawd at excite.com
Mon Nov 22 22:42:25 CET 2004


 Hi there,

I included a ZIP-ed version of the files:
- parser.cpp
- parser.h
- parser_values.h
- snmp.conf

Config file is initialized similarly to what is in a typical main.cpp that you can find in the examples. In addition to the user configuration, there is a notification init and part that deals with system group objects.

Hope this will be helpful!

Fedja Jeleskovic


--- On Mon 11/22, Jochen Katz < katz at agentpp.com > wrote:From: Jochen Katz [mailto: katz at agentpp.com]To: agentpp at agentpp.orgDate: Mon, 22 Nov 2004 22:17:55 +0100Subject: Re: [AGENT++] Changing community for generated trapsHi,

> Well, since I had the very same problem to solve, I created a parser
> object that was able to get all of the entered information from the
> SNMP configuration file. The parser is able to get all of the group,
> user, access, and view entries besides those needed for the
> notification support (notify, address, and params entries). The last
> three will allow you to specify your desired community string in the
> case of V1/V2 or use any of the entered groups with specified user in
> the case of the V3.

> Let me know if you are willing to check it out or if it would be
> worth to add it as a part of the Agent++ perhaps.

as nobody else asked on the list: please send it to me or post a URL to 
the list, so we can have a look at it.

Regards,
Jochen
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://agentpp.org/mailman/listinfo/agentpp

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


More information about the AGENTPP mailing list