mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
fix sensors (maybe)
git-svn-id: http://www.observium.org/svn/observer/trunk@2236 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,18 +1,13 @@
|
||||
<?php
|
||||
$id = $device['device_id'];
|
||||
$hostname = $device['hostname'];
|
||||
$community = $device['community'];
|
||||
$snmpver = $device['snmpver'];
|
||||
$port = $device['port'];
|
||||
|
||||
echo("Humidity : ");
|
||||
|
||||
include_dir("includes/discovery/humidity");
|
||||
|
||||
if ($debug) { print_r($valid['humidity']); }
|
||||
if ($debug) { print_r($valid['sensor']['humidity']); }
|
||||
|
||||
check_valid_sensors($device, 'humidity', $valid_sensor);
|
||||
check_valid_sensors($device, 'humidity', $valid['sensor']);
|
||||
|
||||
echo("\n");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user