mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -944,6 +944,20 @@ $config['os'][$os]['over'][2]['text'] = 'Memory Usage';
|
||||
$config['os'][$os]['over'][3]['graph'] = 'device_storage';
|
||||
$config['os'][$os]['over'][3]['text'] = 'Storage Usage';
|
||||
|
||||
// EMC FlareOS
|
||||
$os = 'flareos';
|
||||
$config['os'][$os]['text'] = 'EMC CLARiiON';
|
||||
$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';
|
||||
|
17
includes/discovery/os/flareos.inc.php
Normal file
17
includes/discovery/os/flareos.inc.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS
|
||||
*
|
||||
* Copyright (c) 2016 Søren Friis Rosiak <sorenrosiak@gmail.com>
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation, either version 3 of the License, or (at your
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if (!$os) {
|
||||
if (strstr($sysObjectId, '.1.3.6.1.4.1.1981.1.1')) {
|
||||
$os = 'flareos';
|
||||
}
|
||||
}
|
15
includes/polling/os/flareos.inc.php
Normal file
15
includes/polling/os/flareos.inc.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS
|
||||
*
|
||||
* Copyright (c) 2016 Søren Friis Rosiak <sorenrosiak@gmail.com>
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation, either version 3 of the License, or (at your
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
$output = preg_split('/ /', $poll_device['sysDescr']);
|
||||
$hardware = $output[0];
|
||||
$version = $output[3];
|
Reference in New Issue
Block a user