[AGENT++] SNMP Informs

Jochen Katz katz at agentpp.com
Sat Mar 7 16:11:39 CET 2015


Hi,

>> you can use the NotificationOriginator::add_v2_trap_destination()
>> as a base: Use INFORM instead of TRAP and in the created entry in
>> the snmpTargetAddrEntry table, overwrite the retry and timeout with
>> the desired values. Then you can use the NotificationOriginator as
>> shown in the example agents.

> Is the default behavior for sending INFORMS using Agent++ to send the
> INFORM message indefinitely every second until a response is
> received? Also, does your response below work for v3 INFORMS? Just
> trying to understand how INFORMS work with Agent++.

the default settings in the snmpTargetAddrEntry are three retries and a
timeout of 15 seconds (which should have been 1.5 seconds).
For v3, use the NotificationOriginator::add_v3_trap_destination() as  a
base.

I don't think that you should use a too high value for retries. If the
agent cannot reach the manager, the manager (if running) will also
detect that it cannot reach the agent and should take the needed actions
when the connection is available again.

Regards,
  Jochen


More information about the AGENTPP mailing list