mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	docs: Add sudo suggestion for SMART monitoring (#7738)
This commit is contained in:
		
				
					committed by
					
						 Neil Lathwood
						Neil Lathwood
					
				
			
			
				
	
			
			
			
						parent
						
							600b2f3324
						
					
				
				
					commit
					ae1cb5e6c4
				
			| @@ -734,6 +734,15 @@ If you have a large number of more than one or two disks on a system, you should | |||||||
|  */3 * * * * /etc/snmp/smart -u |  */3 * * * * /etc/snmp/smart -u | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | 6. If your snmp agent runs as user "snmp", edit your sudo users (usually `visudo`) and add at the bottom: | ||||||
|  | ``` | ||||||
|  | snmp ALL=(ALL) NOPASSWD: /etc/snmp/smart, /usr/sbin/smartctl | ||||||
|  | ``` | ||||||
|  | and modify your snmpd.conf file accordingly: | ||||||
|  | ``` | ||||||
|  | extend smart /usr/bin/sudo /etc/snmp/smart | ||||||
|  | ```  | ||||||
|  |  | ||||||
| ### Squid | ### Squid | ||||||
|  |  | ||||||
| #### SNMP Proxy | #### SNMP Proxy | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user