Bart,
Thanks for the reply. Very informative.
One question... Since I accepted all the defaults... and use the
official configuration tool? Should it not default to the correct path
for the conf file?
Also, the 5.9 unit file has 'snmpd -f' as the only parameter. But the
debian 5.7.3 package has the following...
snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I
-smux,mteTrigger,mteTriggerConf -f -p /run/snmpd.pid
Maybe the package owner customized? Specification appears to customize
logging, set UID and GID values (not sure what these address from
memory), don't fork shell (same as 5.9) and specify the PID file.
Thanks again.
On 02/24/2021 20:26, Bart Van Assche wrote:
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
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