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@2125 61d68cd4-352d-0410-923a-c4978735b2b8
		
			
				
	
	
		
			16 lines
		
	
	
		
			447 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			447 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| poll_sensor($device,'current','A');
 | |
| poll_sensor($device,'frequency', 'Hz');
 | |
| poll_sensor($device,'fanspeed', 'rpm');
 | |
| poll_sensor($device,'humidity', '%');
 | |
| poll_sensor($device,'power', 'W');
 | |
| #poll_sensor($device,'voltage', 'V');
 | |
| 
 | |
| # FIXME voltages have other filenames
 | |
| include('includes/polling/voltages.inc.php');
 | |
| 
 | |
| # FIXME also convert temperature, but there's some special code in there?
 | |
| include('includes/polling/temperatures.inc.php');
 | |
| 
 | |
| ?>
 |