mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02: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);
|