mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
5 lines
180 B
PHP
5 lines
180 B
PHP
<?php
|
|
|
|
$version = preg_replace('/.+ version (.+) running on .+ (\S+)$/', '\\1||\\2', $poll_device['sysDescr']);
|
|
list($version,$hardware) = explode('||', $version);
|