mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated regex for IES os (#10899)
Forgot to update this with the previous PR, this goes along with updated discovery in PR #10897
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
|
||||
$version = trim(snmp_get($device, 'accessSwitchFWVersion.0', '-OQv', 'ZYXEL-AS-MIB'), '"');
|
||||
|
||||
preg_match('/IES-(\d)*/', $device['sysDescr'], $matches);
|
||||
preg_match('/IES(\d)*/', $device['sysDescr'], $matches);
|
||||
$hardware = $matches[0];
|
||||
|
Reference in New Issue
Block a user