mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Added FortiOS definitions + appliance type
This commit is contained in:
@@ -1284,6 +1284,18 @@ $config['os'][$os]['icon'] = 'generic';
|
|||||||
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||||
$config['os'][$os]['over'][0]['text'] = 'Traffic';
|
$config['os'][$os]['over'][0]['text'] = 'Traffic';
|
||||||
|
|
||||||
|
// Appliances
|
||||||
|
$os = 'fortios';
|
||||||
|
$config['os'][$os]['text'] = 'FortiOS';
|
||||||
|
$config['os'][$os]['type'] = 'appliance';
|
||||||
|
$config['os'][$os]['icon'] = 'fortios';
|
||||||
|
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||||
|
$config['os'][$os]['over'][0]['text'] = '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';
|
||||||
|
|
||||||
// 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';
|
||||||
|
|
||||||
@@ -1638,6 +1650,11 @@ if (isset($config['enable_printers']) && $config['enable_printers']) {
|
|||||||
$config['device_types'][$i]['icon'] = 'printer.png';
|
$config['device_types'][$i]['icon'] = 'printer.png';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
$config['device_types'][$i]['text'] = 'Appliance';
|
||||||
|
$config['device_types'][$i]['type'] = 'appliance';
|
||||||
|
$config['device_types'][$i]['icon'] = 'appliance.png';
|
||||||
|
|
||||||
//
|
//
|
||||||
// No changes below this line #
|
// No changes below this line #
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user