adding new /health/ pages, need cleaning up, need option to enable/disable graphs (right side 'toggle'?)

git-svn-id: http://www.observium.org/svn/observer/trunk@1062 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-04-11 13:45:19 +00:00
parent a72cccb1f3
commit 46faf7cf9d
12 changed files with 269 additions and 13 deletions

View File

@@ -18,6 +18,8 @@ if(mysql_result(mysql_query("SELECT count(*) from processors WHERE device_id = '
$mini_url = $config['base_url'] . "/graph.php?id=".$proc['processor_id']."&type=processor&from=".$day."&to=".$now."&width=80&height=20&bg=f4f4f4";
## REPLACE THIS SHITTY CODE. IT IS ALSO ELSEWHERE.
$text_descr = $proc['processor_descr'];
$text_descr = str_replace("Routing Processor", "RP", $text_descr);
$text_descr = str_replace("Switching Processor", "SP", $text_descr);