Re: clientAddr in smpd conf

Larry Hayes <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAG3KfNaec9jBwgNuJWz+rTyhzVfafAU5Y9EJy+UxzRKUtwwvCA@mail.gmail.com>
When a token is put in a conf file that does not expect it, you have to
prefix it with the tag of the file it is supported by.
(Not sure I worded that correctly)

But try:
[snmp] clientaddr 10.10.163.10



On Tue, May 26, 2020 at 5:41 PM Ganesh Lakshmanan <[email protected]>
wrote:

>
> Hello All,
>
> I created a snmp conf file (net-snmp 5.8) with:
> syslocation Santa Clara, California, 95050, US
> sysservices 76
> includeFile snmpd.system.conf
> rocommunity yogurtland
> trapcommunity public
> trapsink 10.0.130.1 trapped
> clientaddr 10.10.163.10
> engineID 001BBC09B247
>
> The purpose is to set snmp trap with Src IP of 10.10.163.10 so that the
> trap source is always fixed instead of trap agent picking up a random
> available IP. But even with this config,
>
> May 26 22:34:12 2020 snmpd[24738]: registered debug token read_config, 1
> May 26 22:34:12 2020 snmpd[24738]: /etc/abc.conf: line 8: Warning: Unknown
> token: clientaddr.
>
> Thank you so much,
> Ganesh
> _______________________________________________
> 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.