[AGENT++] change the community string in traps
HannaHsia
hannahsia at hotmail.com
Wed Jan 25 01:37:47 CET 2006
Frank,
I noticed that the autogenerated code by AgentPro2 have "#ifdef _SNMPv3"
surrounding all the implementation of notification types.
What's the reason of not generating notification if it's not V3?
I tried to send out V2 notifications by commenting those "#ifdef _SNMPv3"
and it seems to work. Is there something wrong that I do not know?
Thanks.
Hanna
----- Original Message -----
From: "Frank Fock" <fock at agentpp.com>
To: "HannaHsia" <hannahsia at hotmail.com>
Cc: <agentpp at agentpp.org>
Sent: Tuesday, January 24, 2006 2:41 PM
Subject: Re: [AGENT++] change the community string in traps
> Hanna,
>
> The AGENT++ license allows you to change its code and to add
> new one. For your task it is sufficient to add new code. There is no
> need to change AGENT++ code.
>
> Find more text inline below:
>
> HannaHsia wrote:
>
> >I need to write an agent that can send Notifications in one thread while
> >another thread listens on requests. The listening thread will sponge new
> >thread to handle each new request. Do you have sample code on this?
> >
> >
> >
>
> If you enable multi threading (is enabled by default) AGENT++ will already
> execute requests on its built-in ThreadPool. So there is nothing to do
> for you here.
>
> Best regards,
> Frank
>
>
More information about the AGENTPP
mailing list