- OS support for Cisco/Tandberg Video Conferencing Endpoints

This commit is contained in:
Aaron Daniels
2016-06-30 07:11:17 +10:00
parent f9ba459e08
commit fd5c8fe800
3 changed files with 20 additions and 0 deletions

View File

@@ -598,6 +598,11 @@ $config['os'][$os]['over'][2]['graph'] = 'device_mempool';
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
$config['os'][$os]['icon'] = 'cisco';
$os = 'vccodec';
$config['os'][$os]['text'] = 'TelePresence Codec';
$config['os'][$os]['type'] = 'collaboration';
$config['os'][$os]['icon'] = 'cisco';
// Brocade NOS
$os = 'nos';
$config['os'][$os]['text'] = 'Brocade NOS';

View File

@@ -0,0 +1,7 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.5596.150.6.4.1')) {
$os = 'vccodec';
}
}

View File

@@ -0,0 +1,8 @@
<?php
// Cisco CodecSoftW: ce8.1.0.b8c0ca3MCU: Cisco TelePresence SX20Date: 2016-04-05S/N: 0101010101
if (preg_match('/^Cisco CodecSoftW: ([^,]+)MCU: Cisco TelePresence ([^,]+)Date: [^,]+S\/N: ([^,]+)$/', $device['sysDescr'], $regexp_result)) {
$version = $regexp_result[1];
$hardware = $regexp_result[2];
$serial = $regexp_result[3];
}