diff --git a/README.md b/README.md index 89b14e3..652d67d 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,15 @@ pass .1.3.6.1.2.1.25.1.10 /bin/sh /root/snmp-smart-status.sh # Known issues #### Recently debian added the user "Debian-snmp" to the snmp.service but for SMART/LVM Status we need the root user. #### edit snmpd.service and replace "Debian-snmp" with "root" +`nano /lib/systemd/system/snmpd.service` +##### From +``` +... +ExecStart=/usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf -f -p /run/snmpd.pid +... +``` +##### To ``` -nano /lib/systemd/system/snmpd.service ... ExecStart=/usr/sbin/snmpd -Lsd -Lf /dev/null -u root -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf -f -p /run/snmpd.pid ...