[AGENT++] How to add trap IP addresses?

Henning Eggers henning.eggers at plath.de
Tue Oct 19 08:55:21 CEST 2004


> I am trying to add a list of the IP addresses to the agent at the startup
in order to send notifications to
> them. A went through the code left and right, but so far couldn't find how
to do so.

Well, you can set this through SNMP, using the SNMP-TARGET-MIB and the
SNMP-NOTIFICATION-MIB objects (RFC 3413). This would seem to be the obvious
way to do it because you might not know the IP address of the NMS when you
setup the agent or it might change and you do not want to go back to the
agent and update it manually. It can all be accomplished remotely. These
MIBs allow the entries in question to be marked "nonVolatile" but Agent++
currently only saves them when it terminates normally, which might never
happen ... See our discussion on "Explicit save of persistent objects" for
the current status.

Regards,
Henning





More information about the AGENTPP mailing list