Merge pull request #1474 from laf/issue-1429

Added support for Dell Networking OS
This commit is contained in:
Daniel Preussker
2015-07-18 21:50:50 +02:00
3 changed files with 32 additions and 0 deletions
+11
View File
@@ -583,6 +583,17 @@ $config['os'][$os]['over'][1]['text'] = 'CPU Usage';
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
$os = 'dnos';
$config['os'][$os]['text'] = 'Dell Networking OS';
$config['os'][$os]['type'] = 'network';
$config['os'][$os]['icon'] = 'dell';
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
$config['os'][$os]['over'][1]['graph'] = 'device_processor';
$config['os'][$os]['over'][1]['text'] = 'CPU Usage';
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
$os = 'avaya-ers';
$config['os'][$os]['text'] = 'ERS Firmware';
$config['os'][$os]['type'] = 'network';
+7
View File
@@ -0,0 +1,7 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.6027.1.')) {
$os = 'dnos';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
/*
sysDescr = "Dell Networking OS
Operating System Version: 2.0
Application Software Version: 9.7(0.0P4)
Series: S4810
Copyright (c) 1999-2015 by Dell Inc. All Rights Reserved.
Build Time: Mon May 4 20:52:56 2015";
*/
list(,,$version,$hardware,,) = explode(PHP_EOL, $poll_device['sysDescr']);
list(,$version) = explode(': ',$version);
list(,$hardware) = explode(': ',$hardware);