Files
librenms-librenms/includes/polling/os/edgecos.inc.php
Neil Lathwood a8cc46935c newdevice: Updated edge-core to edgecos and added further detection (#5024)
* newdevice: Added basic detection for Edge-core switches

* newdevice: Renamed edge-core -> edgecos add added further device support
2016-11-20 20:05:43 -06:00

5 lines
186 B
PHP

<?php
$version = trim(snmp_get($device, "swOpCodeVer.1", "-OQv", "ES3528MO-MIB"), '"');
$hardware = "Edge-Core " . trim(snmp_get($device, "swProdName.0", "-OQv", "ES3528MO-MIB"), '"');