mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	git-svn-id: http://www.observium.org/svn/observer/trunk@1842 61d68cd4-352d-0410-923a-c4978735b2b8
		
			
				
	
	
		
			10 lines
		
	
	
		
			308 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			308 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
| <?php
 | |
| 
 | |
| ## Simple hard-coded poller for Juniper ScreenOS
 | |
| ## Yes, it really can be this simple.
 | |
| 
 | |
| $mempool['used'] = snmp_get($device, ".1.3.6.1.4.1.3224.16.2.1.0", "-OvQ");
 | |
| $mempool['total'] = snmp_get($device, ".1.3.6.1.4.1.3224.16.2.2.0", "-OvQ");
 | |
| $mempool['free'] = $mempool['total'] - $mempool['used'];
 | |
| 
 | |
| ?>
 |