mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Fix os additional information for several OS. $poll_device is not available, use $device * fix draytek test data
8 lines
215 B
PHP
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;
|