[AGENT++] agent++ help

Jochen Katz katz at agentpp.com
Fri May 22 20:17:14 CEST 2009


Hi,

> 1. What is the use of mibs/ folder ? they are not need for agent to run
> right ?

these are the mib descriptions that the example agents implement.

>     I mean the example agents could run without mibs.

Yes.

> 2. How to generate V3 traps ? I tried using add_v3_trap_destination
>   but didnt work. According to
> http://lists.agentpp.org/pipermail/agentpp/2004-July/002495.html
>   we should not use it . Is it still correct .

No, but you should have a look at the function and verify that it does
what you expect it to do.

> 3. I tried v3 trap
> 
>        Vbx* vbs = 0;
>        coldStartOid coldOid;
>        NotificationOriginator no;
>        UdpAddress dest("127.0.0.1/162");
>        no.add_v3_trap_destination(dest, "defaultV1Trap", "v3trap",
> "public");

I doubt, that you have added a v3 user with name "public". So this will
not work. Have a look at the example agents that add SNMPv3
configuration for MD5DES user.

> 4. I have mib browser there i tried to pur protocol preference as snmpv3
> and was running examples/dynamic_table/src/agent ... and got error
>  RequestList: SNMPv3 auth failure

This is also caused by missing or wrong snmpv3 configuration. The text
after "SNMPv3 auth failure: " should tell you what's wrong.

Regards,
  Jochen



More information about the AGENTPP mailing list