mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
BUGFIX: Typo fix in SQL query.
git-svn-id: http://www.observium.org/svn/observer/trunk@2304 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -220,6 +220,7 @@ function set_dev_attrib($device, $attrib_type, $attrib_value)
|
||||
|
||||
function get_dev_attribs($device)
|
||||
{
|
||||
echo $device;
|
||||
$attribs = array();
|
||||
foreach(dbFetchRow("SELECT * FROM devices_attribs WHERE `device_id` = ?", array($device)) as $entry)
|
||||
{
|
||||
|
@@ -233,7 +233,7 @@ if (!$options['m'])
|
||||
|
||||
if ($polled_devices)
|
||||
{
|
||||
dbInsert(array('type' => 'poll', 'doing' => $doing, 'start' => $poller_start, 'duration' => $poller_time, 'device' => $polled_devices ), 'perf_times');
|
||||
dbInsert(array('type' => 'poll', 'doing' => $doing, 'start' => $poller_start, 'duration' => $poller_time, 'devices' => $polled_devices ), 'perf_times');
|
||||
}
|
||||
|
||||
$string = $argv[0] . " $doing " . date("F j, Y, G:i") . " - $polled_devices devices polled in $poller_time secs";
|
||||
|
Reference in New Issue
Block a user