Re: Upgrading Net-SNMP to 5.9 on Raspberry Pi OS (i.e. ARMHF Debian 10 Buster)?

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 2/24/21 1:59 PM, Dachshund Digital wrote:
> Type=simple
> #ExecStart=/usr/sbin/snmpd -f
> ExecStart=/usr/local/sbin/snmpd -f

The snmpd path is set at configure time. If you want snmpd to be
installed into the /usr/sbin folder, please add --prefix=/usr to the
configure options (the default is --prefix=/usr/local).

> And the 5.7.3 unit file was quite different, especially the command line
> parameters for snmpd...

Hmm ... I'm not aware of any command-line parameter changes?

> 3) I have done a few basic snmp queries, and so far so good, I think. 
> Anything I am missing here?  Interesting that the snmpd.conf location
> has changed to /usr/local/share/snmp/.

Please add --prefix=/usr to the configure options to make snmpd read
snmpd.conf from /usr/share/snmp.

Bart.


_______________________________________________
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.