2015-07-11 16:12:35 +02:00

12 lines
671 B
PHP

<?php
// Some useful OIDs at http://www.kyoceramita.be/en/index/kyoware_solutions/system_management/kyocount_3_01.-contextmargin-65897-files-62084-File.cpsdownload.tmp/Models.xml
// SNMPv2-SMI::enterprises.1347.43.5.1.1.1.1 = STRING: "FS-1028MFP"
$hardware = trim(snmp_get($device, '1.3.6.1.4.1.1347.43.5.1.1.1.1', '-OQv', '', ''), '" ');
// SNMPv2-SMI::enterprises.1347.43.5.1.1.28.1 = STRING: "QUV9600664"
$serial = trim(snmp_get($device, '1.3.6.1.4.1.1347.43.5.1.1.28.1', '-OQv', '', ''), '" ');
// SNMPv2-SMI::enterprises.1347.43.5.4.1.5.1.1 = STRING: "2H9_2F00.002.002"
$version = trim(snmp_get($device, '1.3.6.1.4.1.1347.43.5.4.1.5.1.1', '-OQv', '', ''), '" ');