Grab the most current files.

This commit is contained in:
R. Morris
2016-01-16 22:46:14 -06:00
parent bc4b26e0df
commit 5c4ed305ec
3 changed files with 14 additions and 15 deletions

View File

@@ -1438,16 +1438,15 @@ $config['os'][$os]['over'][2]['text'] = 'Memory Usage';
// Lenovo EMC (NAS) // Lenovo EMC (NAS)
$os = 'lenovoemc'; $os = 'lenovoemc';
$config['os'][$os]['type'] = 'storage'; $config['os'][$os]['type'] = 'storage';
$config['os'][$os]['group'] = 'unix'; $config['os'][$os]['group'] = 'storage';
$config['os'][$os]['text'] = 'Linux'; $config['os'][$os]['text'] = 'LenovoEMC';
$config['os'][$os]['ifXmcbc'] = 1; $config['os'][$os]['icon'] = 'lenovo';
$config['os'][$os]['ifname'] = 1; $config['os'][$os]['over'][0]['graph'] = 'device_bits';
$config['os'][$os]['over'][0]['graph'] = 'device_processor'; $config['os'][$os]['over'][0]['text'] = 'Device Traffic';
$config['os'][$os]['over'][0]['text'] = 'Processor Usage'; $config['os'][$os]['over'][1]['graph'] = 'device_processor';
$config['os'][$os]['over'][1]['graph'] = 'device_ucd_memory'; $config['os'][$os]['over'][1]['text'] = 'CPU Usage';
$config['os'][$os]['over'][1]['text'] = 'Memory Usage'; $config['os'][$os]['over'][2]['graph'] = 'device_mempool';
$config['os'][$os]['over'][2]['graph'] = 'device_storage'; $config['os'][$os]['over'][2]['text'] = 'Memory Usage';
$config['os'][$os]['over'][2]['text'] = 'Storage Usage';
// Graph Types // Graph Types
require_once $config['install_dir'].'/includes/load_db_graph_types.inc.php'; require_once $config['install_dir'].'/includes/load_db_graph_types.inc.php';

View File

@@ -5,10 +5,10 @@ if (!$os) {
$os = 'lenovoemc'; $os = 'lenovoemc';
$lenovoemc_mibs = array( $lenovoemc_mibs = array(
"fanValue" => "IOMEGANAS-MIB", "fanValue" => "IOMEGANAS-MIB",
"tempValue" => "IOMEGANAS-MIB", "tempValue" => "IOMEGANAS-MIB",
"raidStatus" => "IOMEGANAS-MIB", "raidStatus" => "IOMEGANAS-MIB",
"diskStatus" => "IOMEGANAS-MIB" "diskStatus" => "IOMEGANAS-MIB"
); );
register_mibs($device, $lenovoemc_mibs, "includes/discovery/os/lenovoemc.inc.php"); register_mibs($device, $lenovoemc_mibs, "includes/discovery/os/lenovoemc.inc.php");
} }

View File

@@ -1,5 +1,5 @@
<?php <?php
$hardware = snmp_get($device, 'deviceDescr.0', '-Ovq', 'IOMEGANAS-MIB'); $hardware = snmp_get($device, 'deviceDescr.0', '-Ovq', 'IOMEGANAS-MIB');
$version = 'N/A'; $version = 'v1';
$serial = 'N/A'; $serial = 'N/A';
?> ?>