mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Merge pull request #1333 from laf/issue-1252
Added load and state to device overview
This commit is contained in:
		@@ -50,6 +50,8 @@ include("overview/sensors/voltages.inc.php");
 | 
				
			|||||||
include("overview/sensors/current.inc.php");
 | 
					include("overview/sensors/current.inc.php");
 | 
				
			||||||
include("overview/sensors/power.inc.php");
 | 
					include("overview/sensors/power.inc.php");
 | 
				
			||||||
include("overview/sensors/frequencies.inc.php");
 | 
					include("overview/sensors/frequencies.inc.php");
 | 
				
			||||||
 | 
					include("overview/sensors/load.inc.php");
 | 
				
			||||||
 | 
					include("overview/sensors/state.inc.php");
 | 
				
			||||||
include("overview/eventlog.inc.php");
 | 
					include("overview/eventlog.inc.php");
 | 
				
			||||||
include("overview/services.inc.php");
 | 
					include("overview/services.inc.php");
 | 
				
			||||||
include("overview/syslog.inc.php");
 | 
					include("overview/syslog.inc.php");
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										8
									
								
								html/pages/device/overview/sensors/load.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								html/pages/device/overview/sensors/load.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$graph_type = "sensor_load";
 | 
				
			||||||
 | 
					$sensor_class = "load";
 | 
				
			||||||
 | 
					$sensor_unit = "%";
 | 
				
			||||||
 | 
					$sensor_type = "Load";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					include('pages/device/overview/generic/sensor.inc.php');
 | 
				
			||||||
							
								
								
									
										8
									
								
								html/pages/device/overview/sensors/state.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								html/pages/device/overview/sensors/state.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$graph_type = "sensor_state";
 | 
				
			||||||
 | 
					$sensor_class = "state";
 | 
				
			||||||
 | 
					$sensor_unit = "#";
 | 
				
			||||||
 | 
					$sensor_type = "State";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					include('pages/device/overview/generic/sensor.inc.php');
 | 
				
			||||||
		Reference in New Issue
	
	Block a user