mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Forgot to update this with the previous PR, this goes along with updated discovery in PR #10897
7 lines
182 B
PHP
7 lines
182 B
PHP
<?php
|
|
|
|
$version = trim(snmp_get($device, 'accessSwitchFWVersion.0', '-OQv', 'ZYXEL-AS-MIB'), '"');
|
|
|
|
preg_match('/IES(\d)*/', $device['sysDescr'], $matches);
|
|
$hardware = $matches[0];
|