Merge branch 'master' of github.com:librenms/librenms

This commit is contained in:
Paul Gear
2014-03-14 10:36:09 +10:00
3 changed files with 11 additions and 4 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

+6
View File
@@ -560,6 +560,12 @@ $os = "engenius";
$config['os'][$os]['type'] = "wireless";
$config['os'][$os]['text'] = "EnGenius Access Point";
$config['os'][$os]['icon'] = "engenius";
$config['os'][$os]['over'][0]['graph'] = "device_ucd_cpu";
$config['os'][$os]['over'][0]['text'] = "Processor Usage";
$config['os'][$os]['over'][1]['graph'] = "device_ucd_memory";
$config['os'][$os]['over'][1]['text'] = "Memory Usage";
$config['os'][$os]['over'][2]['graph'] = "device_bits";
$config['os'][$os]['over'][2]['text'] = "Device Traffic";
$os = "airport";
$config['os'][$os]['type'] = "wireless";
+5 -4
View File
@@ -2,9 +2,10 @@
if (!$os)
{
if (strstr($sysDescr, "FreeBSD")) { $os = "freebsd"; } // It's FreeBSD!
if (strstr($sysDescr, "Voswall")) { $os = "voswall"; } // Oh-No-It-Isn't!!
if (strstr($sysDescr, "m0n0wall")) { $os = "monowall"; } // Ditto
if (strstr($sysDescr, "Voswall")) { $os = "voswall"; } // Oh-No-It-Isn't!!
else if (strstr($sysDescr, "m0n0wall")) { $os = "monowall"; } // Ditto
else if (strstr($sysDescr, "pfSense")) { $os = "pfsense"; }
else if (strstr($sysDescr, "FreeBSD")) { $os = "freebsd"; } // It's FreeBSD!
}
?>
?>