From 50fde6ee7e2ea758e3b536cfcb3f911be1eb953c Mon Sep 17 00:00:00 2001 From: Basti <67121035+in-famous-raccoon@users.noreply.github.com> Date: Mon, 9 Nov 2020 18:34:45 +0100 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 ...