Re: snmptrap v2: how to set the agent address?
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2006-01-26 at 21:25 +0800, pan tao wrote:
> I wonder how to set the agent address... in snmptrap for snmp v2?
>
> for v1, there is a agent to set the agent adress. But for v2,
> there is no such agent.
See RFC 3584, section 3.1 - in particular, subsection (4)
You basically need to add a varbind
snmpTrapAddress.0 = IP-ADDR
to the end of the payload list.
Dave
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users