mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-30 16:14:21 +02:00
fixes and advocent discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2712 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
if (strstr($poll_device[sysDescr], "AlterPath")) {
|
||||
list($hardware, $version) = explode("-", trim(str_replace("version:", "", (str_replace("V_", "", $poll_device[sysDescr])))), 2);
|
||||
$hardware = trim($hardware);
|
||||
$version = trim($version);
|
||||
$features = trim(str_replace("#1", "", $version));
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user