smarter catos version/hardware fetcher. put software release year into $features

git-svn-id: http://www.observium.org/svn/observer/trunk@1653 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-08-09 23:25:29 +00:00
parent a2636b4668
commit 8d8fb1b53c
2 changed files with 12 additions and 5 deletions

View File

@@ -154,6 +154,12 @@ while ($device = mysql_fetch_assoc($device_query))
}
rrdtool_update($uptimerrd, "N:$uptime");
$graphs['uptime'] = TRUE;
echo("Uptime: ".formatUptime($uptime)."\n");
print_r($graphs);
$poll_update .= $poll_separator . "`uptime` = '$uptime'";
$poll_separator = ", ";
}