Files
librenms-librenms/includes/polling/os/nos.inc.php

7 lines
166 B
PHP
Raw Normal View History

2015-07-07 19:16:36 +01:00
<?php
2015-07-13 20:10:26 +02:00
// SNMPv2-MIB::sysDescr.0 Brocade VDX Switch.
if (preg_match('/Brocade ([\s\d\w]+)/', $poll_device['sysDescr'], $hardware)) {
2015-07-07 19:16:36 +01:00
$hardware = $hardware[1];
}