mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Seemingly tested VyOS support
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
<?php
|
||||
|
||||
str_replace("Vyatta", "", $poll_device['sysDescr']);
|
||||
list(,$version) = explode(" ", $poll_device['sysDescr'], 2);
|
||||
# Remove Vyatta prefix
|
||||
$device['sysDescr'] = str_replace("Vyatta ", "", $device['sysDescr']);
|
||||
|
||||
# Version is second remaining word in sysDescr
|
||||
list(,$version) = explode(" ", $device['sysDescr']);
|
||||
|
||||
$features = "";
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user