laf 0f43550fcf t # This is a combination of 11 commits.
More mibs needed from http://www.ieee802.org/1/files/public/MIBs/

Updated mib names

Updated poller function and siklu call

Updates for Siklu detection

Removed one graph not supported

Added rfOperationalFrequency graph

Removed modulation graph

Work on siklu support

Siklu packets supports

Last updates for Siklu support

Updated more siklu support
2015-04-30 16:55:06 +01:00

18 lines
533 B
PHP

<?php
if ($device['os'] == "siklu") {
$oid = "rbSysTemperature.0";
$oids = snmp_get($device, "$oid", "-OsqnU", "RADIO-BRIDGE-MIB");
if ($debug) { echo($oids."\n"); }
if ($oids) echo("Siklu Temperature ");
$divisor = 1;
$type = "siklu";
if ($oids) {
list(,$current) = explode(' ',$oids);
$index = $oid;
$descr = "System Temp";
discover_sensor($valid['sensor'], 'temperature', $device, $oid, $index, $type, $descr, $divisor, '1', NULL, NULL, NULL, NULL, $current);
}
}