mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
many fixes to ip address polling and displaying
git-svn-id: http://www.observium.org/svn/observer/trunk@403 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -246,6 +246,8 @@ while ($device = mysql_fetch_array($device_query)) {
|
||||
$insert_uptime_attrib = mysql_query("INSERT INTO devices_attribs (`device_id`, `attrib_type`, `attrib_value`) VALUES ('" . $device['device_id'] . "', 'uptime', '$uptime')");
|
||||
}
|
||||
|
||||
mysql_query("UPDATE `devices` SET `last_polled` = NOW() WHERE `device_id` = '". $device['device_id'] ."'");
|
||||
|
||||
} ## End if snmpable
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user