Files
librenms-librenms/includes/polling/os/ptp500.inc.php
Tony Murray dc8647697f Fix os additional information for some that were broke (#9466)
* Fix os additional information for several OS.
$poll_device is not available, use $device

* fix draytek test data
2018-11-27 21:31:26 -06:00

8 lines
215 B
PHP

<?php
use LibreNMS\RRD\RrdDefinition;
$version = $device['sysDescr'];
$masterSlaveMode = ucfirst(snmp_get($device, 'masterSlaveMode.0', '-Oqv', "CAMBIUM-PTP500-V2-MIB"));
$hardware = 'PTP 500 '. $masterSlaveMode;