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 <nithin....@gmail.com> 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 <nithin....@gmail.com> 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 <fen...@gmail.com> wrote:
>>
>>> On Fri, Sep 6, 2019 at 4:56 PM Chinnapareddygari, Chandrasekharreddy <
>>> chandrasekharreddy.chinnapareddyg...@hpe.com> 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
>>> Net-snmp-users@lists.sourceforge.net
>>> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to