mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	move graphs code into separate files per OS
git-svn-id: http://www.observium.org/svn/observer/trunk@617 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		
							
								
								
									
										12
									
								
								html/pages/device/graphs/os-bcm96348.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								html/pages/device/graphs/os-bcm96348.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
      echo("<div class=graphhead>ADSL Attainable Rate</div>");
 | 
			
		||||
      $graph_type = "adsl_rate";            include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<br />");
 | 
			
		||||
      echo("<div class=graphhead>ADSL Signal-to-Noise Margin</div>");
 | 
			
		||||
      $graph_type = "adsl_snr";            include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<br />");
 | 
			
		||||
      echo("<div class=graphhead>ADSL Attenuation</div>");
 | 
			
		||||
      $graph_type = "adsl_atn";         include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<br />");
 | 
			
		||||
 | 
			
		||||
      include("graphs/netstats.inc.php");
 | 
			
		||||
      include("graphs/uptime.inc.php");
 | 
			
		||||
							
								
								
									
										9
									
								
								html/pages/device/graphs/os-fortigate.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								html/pages/device/graphs/os-fortigate.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
      echo("<div class=graphhead>Processor Utilisation</div>");
 | 
			
		||||
      $graph_type = "fortigate_cpu";            include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<div class=graphhead>Memory Usage</div>");
 | 
			
		||||
      $graph_type = "fortigate_memory";         include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<div class=graphhead>Firewall Sessions</div>");
 | 
			
		||||
      $graph_type = "fortigate_sessions";       include ("includes/print-device-graph.php");
 | 
			
		||||
 | 
			
		||||
      include("graphs/netstats.inc.php");
 | 
			
		||||
      include("graphs/uptime.inc.php");
 | 
			
		||||
							
								
								
									
										11
									
								
								html/pages/device/graphs/os-powerconnect.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								html/pages/device/graphs/os-powerconnect.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
      echo("<div class=graphhead>Processor Utilisation</div>");
 | 
			
		||||
      $graph_type = "device_cpu";              include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<br />");
 | 
			
		||||
      /*
 | 
			
		||||
      echo("<div class=graphhead>Memory Usage</div>");
 | 
			
		||||
      $graph_type = "device_memory";              include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<br />");
 | 
			
		||||
      */
 | 
			
		||||
      echo("<div class=graphhead>Device Uptime</div>");
 | 
			
		||||
      $graph_type = "device_uptime";         include ("includes/print-device-graph.php"); break;
 | 
			
		||||
      echo("<br />");
 | 
			
		||||
							
								
								
									
										9
									
								
								html/pages/device/graphs/os-procurve.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								html/pages/device/graphs/os-procurve.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
      echo("<div class=graphhead>Processor Utilisation</div>");
 | 
			
		||||
      $graph_type = "device_cpu";              include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<br />");
 | 
			
		||||
      echo("<div class=graphhead>Memory Usage</div>");
 | 
			
		||||
      $graph_type = "device_memory";              include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<br />");
 | 
			
		||||
      echo("<div class=graphhead>Device Uptime</div>");
 | 
			
		||||
      $graph_type = "device_uptime";         include ("includes/print-device-graph.php"); break;
 | 
			
		||||
      echo("<br />");
 | 
			
		||||
							
								
								
									
										11
									
								
								html/pages/device/graphs/os-screenos.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								html/pages/device/graphs/os-screenos.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
      echo("<div class=graphhead>Processor Utilisation</div>");
 | 
			
		||||
      $graph_type = "netscreen_cpu";            include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<div class=graphhead>Memory Usage</div>");
 | 
			
		||||
      $graph_type = "netscreen_memory";        	include ("includes/print-device-graph.php");
 | 
			
		||||
      echo("<div class=graphhead>Firewall Sessions</div>");
 | 
			
		||||
      $graph_type = "netscreen_sessions";       include ("includes/print-device-graph.php");
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      include("graphs/netstats.inc.php");
 | 
			
		||||
      include("graphs/uptime.inc.php");
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								html/pages/device/graphs/os-snom.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								html/pages/device/graphs/os-snom.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
      echo("<div class=graphhead>Calls</div>");
 | 
			
		||||
      $graph_type = "snom_calls";              include ("includes/print-device-graph.php");
 | 
			
		||||
		Reference in New Issue
	
	Block a user