24 lines
		
	
	
		
			892 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			892 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
sysLocation    {{ inventory_hostname }}
 | 
						|
sysContact     {{ organization['admin'] }} <{{ organization['email'] }}>
 | 
						|
 | 
						|
sysServices    72
 | 
						|
 | 
						|
master  agentx
 | 
						|
 | 
						|
agentaddress  {{ ip }}:161
 | 
						|
 | 
						|
view   systemonly  included   .1.3.6.1.2.1.1
 | 
						|
view   systemonly  included   .1.3.6.1.2.1.25.1
 | 
						|
view   remotecmds  included   .1
 | 
						|
 | 
						|
CreateUser remote SHA {{ passwords[inventory_hostname] }} AES {{ passwords[inventory_hostname] }}
 | 
						|
 | 
						|
rouser remote priv .1
 | 
						|
 | 
						|
extend -cacheTime 1 power /usr/bin/irsend SEND_ONCE {{ remote }} KEY_POWER
 | 
						|
extend -cacheTime 1 mute /usr/bin/irsend SEND_ONCE {{ remote }} KEY_MUTE
 | 
						|
extend -cacheTime 1 volumeup /usr/bin/irsend SEND_ONCE {{ remote }} KEY_VOLUMEUP
 | 
						|
extend -cacheTime 1 volumedown /usr/bin/irsend SEND_ONCE {{ remote }} KEY_VOLUMEDOWN
 | 
						|
extend -cacheTime 1 config /usr/bin/irsend SEND_ONCE {{ remote }} KEY_CONFIG
 | 
						|
extend -cacheTime 1 enter /usr/bin/irsend SEND_ONCE {{ remote }} KEY_ENTER
 |