On 6 December 2011 10:17, ashok kumar <[email protected]> wrote:
> I have a requirement to implement for source-interface functionality.
>
> If the agent runs on a machine with more than one physical interface,
> the traps and informs always goes out through a particular interface
> (may be default interface).
> I want to change this so that after I configure source-interface, the
> traps and informs has to go out from the configured interface.
>
> Could you please suggest an existing configuration / API in net-snmp
> for this. Thanks.
$ man snmp.conf
clientaddr [<transport-specifier>:]<transport-address>
specifies the source address to be used by command-line applica-
tions when sending SNMP requests. See snmpcmd(1) for more infor-
mation about the format of addresses.
===> This value is also used by snmpd when generating
notifications. <====
(Note - snmp.conf, not snmpd.conf)
Dave
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
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