mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Added OS detection for Cisco Telepresence conductor devices
This commit is contained in:
		@@ -619,6 +619,11 @@ $config['os'][$os]['over'][1]['text']  = 'CPU Usage';
 | 
				
			|||||||
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
 | 
					$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
 | 
				
			||||||
$config['os'][$os]['over'][2]['text']  = 'Memory Usage';
 | 
					$config['os'][$os]['over'][2]['text']  = 'Memory Usage';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$os = 'tpconductor';
 | 
				
			||||||
 | 
					$config['os'][$os]['text']		= 'TelePresence Conductor';
 | 
				
			||||||
 | 
					$config['os'][$os]['type']		= 'collaboration';
 | 
				
			||||||
 | 
					$config['os'][$os]['icon']		= 'cisco';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Brocade NOS
 | 
					// Brocade NOS
 | 
				
			||||||
$os = 'nos';
 | 
					$os = 'nos';
 | 
				
			||||||
$config['os'][$os]['text']             = 'Brocade NOS';
 | 
					$config['os'][$os]['text']             = 'Brocade NOS';
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										7
									
								
								includes/discovery/os/tpconductor.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								includes/discovery/os/tpconductor.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if (!$os) {
 | 
				
			||||||
 | 
					    if (strstr($sysObjectId, '.1.3.6.1.4.1.5596.180.6.4.1')) {
 | 
				
			||||||
 | 
					        $os = 'tpconductor';
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user