mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add basic f5 support
This commit is contained in:
BIN
html/images/os/f5.png
Normal file
BIN
html/images/os/f5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
@ -520,6 +520,17 @@ $config['os'][$os]['over'][0]['text'] = "Device Traffic";
|
||||
$config['os'][$os]['over'][1]['graph'] = "device_processor";
|
||||
$config['os'][$os]['over'][1]['text'] = "CPU Usage";
|
||||
|
||||
$os = "bigip";
|
||||
$config['os'][$os]['text'] = "F5 Big IP";
|
||||
$config['os'][$os]['type'] = "loadbalancer";
|
||||
$config['os'][$os]['icon'] = "f5";
|
||||
$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_ucd_memory";
|
||||
$config['os'][$os]['over'][2]['text'] = "Memory Usage";
|
||||
|
||||
$os = "proxim";
|
||||
$config['os'][$os]['text'] = "Proxim";
|
||||
$config['os'][$os]['type'] = "network";
|
||||
|
6
includes/discovery/os/f5.inc.php
Normal file
6
includes/discovery/os/f5.inc.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
if(!$os || $os === "linux") {
|
||||
$f5_sys_parent = "1.3.6.1.4.1.3375.2.1";
|
||||
if(strpos($sysObjectId, $f5_sys_parent)) { $os = "f5"; }
|
||||
}
|
||||
?>
|
4
includes/polling/os/f5.inc.php
Normal file
4
includes/polling/os/f5.inc.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$version = "Big IP v";
|
||||
$version .= trim(snmp_get($device, ".1.3.6.1.4.1.3375.2.1.4.2.0", "-OQv", "", ""),'"');
|
||||
?>
|
Reference in New Issue
Block a user