Re: [Observium] [Observium-dev] OS Detection for Cisco SMB Linux Products
Hi Matthias,
Please update the patch to use the correct discovery/polling mechanism for the CPU load.
We stopped building specific rrds a long time ago, it should be detected the same way as memory pools.
Shouldn't be too hard to do :)
Thanks, adam.
On 2012-02-10 06:36, Matthias Cramer wrote:
Hi
Added Linux Variant detection for Cisco SMB Products (tested with an AP541N)
Regards
Matthias
Index: includes/static-config.php
--- includes/static-config.php (revision 2860) +++ includes/static-config.php (working copy) @@ -66,7 +66,14 @@ $config['os'][$os]['over'][2]['graph'] = "device_mempool"; $config['os'][$os]['over'][2]['text'] = "Memory Usage";
+$os = "ciscosmblinux"; +$config['os'][$os]['type'] = "wireless"; +$config['os'][$os]['group'] = "unix"; +$config['os'][$os]['text'] = "Cisco SMB Linux"; +$config['os'][$os]['icon'] = "cisco";
Index: includes/discovery/os/linux.inc.php
--- includes/discovery/os/linux.inc.php (revision 2860) +++ includes/discovery/os/linux.inc.php (working copy) @@ -14,7 +14,7 @@ if (strpos($entPhysicalMfgName, "QNAP") !== FALSE) { $os = "qnap";} elseif(strstr($sysObjectId, ".1.3.6.1.4.1.5528.100.20.10.2014")) { $os = "netbotz"; } elseif(strstr($sysDescr, "endian")) { $os = "endian"; }
elseif(preg_match("/Cisco Small Business/", $sysDescr)) { $os = "ciscosmblinux"; } }
}
observium-dev mailing list observium-dev@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium-dev
participants (1)
-
Adam Armstrong