mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
unified sensor polling, apart from temperatures for now -- run discovery if you have frequencies being polled in your installation
git-svn-id: http://www.observium.org/svn/observer/trunk@2075 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -6,7 +6,7 @@ $device = device_by_id_cache($id);
|
||||
$rrd_options .= " -l 0 -E ";
|
||||
|
||||
$iter = "1";
|
||||
$sql = mysql_query("SELECT * FROM sensors WHERE sensor_class='freq' AND device_id = '$id'");
|
||||
$sql = mysql_query("SELECT * FROM sensors WHERE sensor_class='frequency' AND device_id = '$id'");
|
||||
$rrd_options .= " COMMENT:' Cur Min Max\\n'";
|
||||
|
||||
while ($frequency = mysql_fetch_assoc($sql))
|
||||
|
Reference in New Issue
Block a user