librenms-librenms/includes/polling/os/fiberhome.inc.php

5 lines
383 B
PHP
Raw Normal View History

2015-05-16 05:06:51 -03:00
<?php
2015-07-13 20:10:26 +02:00
$hardware = 'Fiberhome '.snmp_get($device, 'sysDescr.0', '-Oqv', 'GEPON-OLT-COMMON-MIB');
$version = str_replace('"', '', snmp_get($device, 'sysHardVersion.0', '-Ovq', 'GEPON-OLT-COMMON-MIB')).' - '.str_replace('"', '', snmp_get($device, 'sysSoftVersion.0', '-Ovq', 'GEPON-OLT-COMMON-MIB'));
$features = 'Olt '.snmp_get($device, 'sysDescr.0', '-Oqv', 'GEPON-OLT-COMMON-MIB');