You are not logged in.
Pages: 1
I'm wondering where to put the config file for snmpd?
If I run
snmpd -Dread_config -H 2>&1 | grep "Reading" | sort -u
I get back
read_config: Reading configuration /var/net-snmp/snmpd.conf
and looking at that file I see a explicit warning not to edit it or use it for configuring snmpd.
So I just created /etc/snmp/snmpd.conf and edited the init script to look for that config file:
/usr/sbin/snmpd -c /etc/snmp/snmpd.conf
Is there a cleaner way to do this? Because I know my changes to the init script will be overwritten if snmp is updated via pacman. Otherwise, snmpd is working well.
Offline
same question here: Were is the config file for snmpd??
digiKam developer - www.digikam.org
Offline
snmpconf
this command allows you to set snmpd.conf snmptrapd.conf and snmp.conf
Offline
Hi.
You can create a soft link:
# ls -l /etc/snmp/snmpd.conf
lrwxrwxrwx 1 root root 26 sep 12 15:01 /etc/snmp/snmpd.conf -> /usr/share/snmp/snmpd.conf
Bye.
Offline
Pages: 1