| 
									
										
										
										
											2010-07-18 03:56:19 +00:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/ipSystemStats-ipv6.rrd')) { | 
					
						
							|  |  |  |     $graph_title = 'IPv6 IP Packet Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_ipSystemStats_v6'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     $graph_title = 'IPv6 IP Fragmentation Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_ipSystemStats_v6_frag'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/ipSystemStats-ipv4.rrd')) { | 
					
						
							|  |  |  |     $graph_title = 'IPv4 IP Packet Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_ipSystemStats_v4'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/netstats-ip.rrd')) { | 
					
						
							|  |  |  |     $graph_title = 'IP Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_ip'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     $graph_title = 'IP Fragmented Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_ip_fragmented'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/netstats-tcp.rrd')) { | 
					
						
							|  |  |  |     $graph_title = 'TCP Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_tcp'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/netstats-udp.rrd')) { | 
					
						
							|  |  |  |     $graph_title = 'UDP Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_udp'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/netstats-snmp.rrd')) { | 
					
						
							|  |  |  |     $graph_title = 'SNMP Packets Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_snmp_packets'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     $graph_title = 'SNMP Message Type Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_snmp_statistics'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/netstats-icmp.rrd')) { | 
					
						
							|  |  |  |     $graph_title = 'ICMP Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_icmp'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     $graph_title = 'ICMP Informational Statistics'; | 
					
						
							|  |  |  |     $graph_type  = 'device_icmp_informational'; | 
					
						
							| 
									
										
										
										
											2012-04-06 13:56:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  |     include 'includes/print-device-graph.php'; | 
					
						
							| 
									
										
										
										
											2011-03-16 23:10:10 +00:00
										 |  |  | } |