add basic f5 support

This commit is contained in:
Tyler Christiansen
2015-03-26 22:10:30 -07:00
parent 8512ef74ae
commit 277270e5b7
4 changed files with 21 additions and 0 deletions

BIN
html/images/os/f5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -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";

View 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"; }
}
?>

View 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", "", ""),'"');
?>