mirror of
https://github.com/in-famous-raccoon/proxmox-snmp.git
synced 2025-07-17 07:36:26 +00:00
Update README.md
This commit is contained in:
@ -58,8 +58,15 @@ pass .1.3.6.1.2.1.25.1.10 /bin/sh /root/snmp-smart-status.sh
|
|||||||
# Known issues
|
# Known issues
|
||||||
#### Recently debian added the user "Debian-snmp" to the snmp.service but for SMART/LVM Status we need the root user.
|
#### 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"
|
#### 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
|
ExecStart=/usr/sbin/snmpd -Lsd -Lf /dev/null -u root -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf -f -p /run/snmpd.pid
|
||||||
...
|
...
|
||||||
|
Reference in New Issue
Block a user