cisco vpdn graphing

git-svn-id: http://www.observium.org/svn/observer/trunk@2741 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-11-28 17:15:42 +00:00
parent 479b932467
commit cfe43d9b70
6 changed files with 122 additions and 1 deletions
+2
View File
@@ -168,6 +168,8 @@ function poll_device($device, $options)
### If there any don't match, they're added/deleted from the database.
### Ideally we should hold graphs for xx days/weeks/polls so that we don't needlessly hide information.
print_r($graphs);
foreach (dbFetch("SELECT `graph` FROM `device_graphs` WHERE `device_id` = ?", array($device['device_id'])) as $graph)
{
if (!isset($graphs[$graph["graph"]]))