mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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
18 lines
533 B
PHP
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);
|
|
}
|
|
}
|
|
|