mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added initial canopy files
This commit is contained in:
7
includes/discovery/os/canopy.inc.php
Normal file
7
includes/discovery/os/canopy.inc.php
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if (!$os) {
|
||||||
|
if (preg_match("/^CANOPY/", $sysDescr)) {
|
||||||
|
$os = 'canopy';
|
||||||
|
}
|
||||||
|
}
|
||||||
3
includes/polling/os/canopy.inc.php
Normal file
3
includes/polling/os/canopy.inc.php
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
list(,$version,$hardware) = explode(" ", $device['sysDescr'],3);
|
||||||
Reference in New Issue
Block a user