Merge pull request #670 from supertylerc/feat/f5-detection

add basic f5 support
This commit is contained in:
Paul Gear
2015-04-08 08:49:53 +10:00
4 changed files with 20 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

+11
View File
@@ -547,6 +547,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 = "f5";
$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
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"; }
}
?>
+3
View File
@@ -0,0 +1,3 @@
<?php
$version = trim(snmp_get($device, ".1.3.6.1.4.1.3375.2.1.4.2.0", "-OQv", "", ""),'"');
?>