Re: Support for SNMP source trap address

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAF4SogYK-HD8Hy5DzLCi=U3XKbgvd4nJ8s2o=S4n4dGnBiQ5tQ@mail.gmail.com>
Yes, the clientaddr is used if a given entry does not have an -s option.

  Bill


On Fri, Sep 27, 2019 at 2:40 AM Nitin Samuel <[email protected]> wrote:

> Hi Bill,
>          Would you know if the ' [snmp] clientaddr ' token will continue
> to be honored in 5.8, though some trapsess/trap2sink entries could also
> have a ' -s <>' option ?
>
> Thanks,
> NitinVS
>
> On Sun, Sep 8, 2019 at 10:45 PM Nitin Samuel <[email protected]> wrote:
>
>> Thanks Bill.
>>
>> So in 5.8, if I have  [snmp] clientaddr <>  at the top, followed later by
>> a few trapsess hosts but one of which has the new  '-s <>'  option, will
>> clientaddr token be honored for this trap host ?
>>
>> On Sun, Sep 8, 2019 at 4:21 PM Bill Fenner <[email protected]> wrote:
>>
>>> On Fri, Sep 6, 2019 at 4:56 PM Chinnapareddygari, Chandrasekharreddy <
>>> [email protected]> wrote:
>>>
>>>> I am using net-snmp 5.7.2  in my project..I want to use SNMP trap
>>>> source as user configured IP address.
>>>> How can I achieve this ?
>>>>
>>>
>>> In 5.7.2 you can use the “clientaddr” configuration in snmpd.conf to set
>>> the source of trap messages. In 5.8, each trap configuration (e.g.,
>>> trapsink, trapsess) can accept a source address argument as “-s foo”.
>>>
>>>   Bill
>>>
>>>> _______________________________________________
>>> 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
>>>
>>

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.