Added EMC data domain detection

This commit is contained in:
laf
2016-05-02 17:39:03 +00:00
parent e9a6e8d3b1
commit 986d040f11
5 changed files with 14694 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

+14
View File
@@ -889,6 +889,20 @@ $config['os'][$os]['text'] = 'Dell PowerVault';
$config['os'][$os]['icon'] = 'dell';
$config['os'][$os]['type'] = 'storage';
// Data domain
$os = 'datadomain';
$config['os'][$os]['text'] = 'EMC Data Domain';
$config['os'][$os]['type'] = 'storage';
$config['os'][$os]['icon'] = 'emc';
$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';
$config['os'][$os]['over'][3]['graph'] = 'device_storage';
$config['os'][$os]['over'][3]['text'] = 'Storage Usage';
$os = 'equallogic';
$config['os'][$os]['text'] = 'Dell EqualLogic';
$config['os'][$os]['icon'] = 'dell';
+7
View File
@@ -0,0 +1,7 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.19746.3.1')) {
$os = 'datadomain';
}
}
+7
View File
@@ -0,0 +1,7 @@
<?php
//iso.3.6.1.2.1.1.1.0 = STRING: "Data Domain OS 5.7.0.4-513368"
preg_match('/Data Domain OS (.*)/', $poll_device['sysDescr'], $matches);
$version = $matches[1];
$hardware = trim(snmp_get($device, "systemHardwareDevice", "-OQv", "DATA-DOMAIN-MIB"),'"');
+14666
View File
File diff suppressed because it is too large Load Diff