mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Merge branch 'master' of github.com:librenms/librenms
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
@@ -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";
|
||||
|
||||
@@ -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!
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user