mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
Fix Application Sudo Example (#11707)
* Update Proxmox Process On latest version of Debian (9.1 and later) snmpd run ad Debian-snmp user. In visudo change snmp to Debian-snmp * fix typo Co-authored-by: SourceDoctor <sourcehhdoctor@gmail.com>
This commit is contained in:
parent
fa024e3e4e
commit
fc55830c7a
@ -33,7 +33,7 @@ For example if snmpd is running as 'Debian-snmp' and we want
|
||||
to run the extend for proxmox, we check that the following run without error:
|
||||
|
||||
```
|
||||
sudo -u Debian-snmpn/usr/local/bin/proxmox
|
||||
sudo -u Debian-snmp /usr/local/bin/proxmox
|
||||
```
|
||||
|
||||
If it doesn't work, then you will need to use sudo with the extend command.
|
||||
@ -1500,7 +1500,7 @@ extend proxmox /usr/bin/sudo /usr/local/bin/proxmox
|
||||
after, edit your sudo users (usually `visudo`) and add at the bottom:
|
||||
|
||||
```
|
||||
snmp ALL=(ALL) NOPASSWD: /usr/local/bin/proxmox
|
||||
Debian-snmp ALL=(ALL) NOPASSWD: /usr/local/bin/proxmox
|
||||
```
|
||||
|
||||
6: Restart snmpd on your host
|
||||
|
Loading…
Reference in New Issue
Block a user