Files
librenms/includes/polling/device-akcp.inc.php
T
2010-06-23 15:54:56 +00:00

9 lines
234 B
PHP

<?php
$hardware = trim(snmp_get($device, "1.3.6.1.4.1.3854.1.1.6.0", "-OQv", "", ""),'"');
$hardware .= ' ' . trim(snmp_get($device, "1.3.6.1.4.1.3854.1.1.8.0", "-OQv", "", ""),'"');
$hardware = str_replace(' ',' ',$hardware);
?>