mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
THIS. IS. SPARTA. -63dBm.
git-svn-id: http://www.observium.org/svn/observer/trunk@2774 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -46,6 +46,7 @@ if ($device['os'] == "ios" || $device['os_group'] == "ios")
|
||||
$entitysensor['rpm'] = "fanspeed";
|
||||
$entitysensor['celsius'] = "temperature";
|
||||
$entitysensor['watts'] = "power";
|
||||
$entitysensor['dBm'] = "dbm";
|
||||
|
||||
if (is_array($oids))
|
||||
{
|
||||
|
||||
@@ -19,7 +19,8 @@ $supported_sensors = array('current' => 'A',
|
||||
'fanspeed' => 'rpm',
|
||||
'power' => 'W',
|
||||
'voltage' => 'V',
|
||||
'temperature' => 'C');
|
||||
'temperature' => 'C',
|
||||
'dbm' => 'dBm');
|
||||
|
||||
foreach ($supported_sensors as $sensor_type => $sensor_unit)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user