stealth toner overview health page

git-svn-id: http://www.observium.org/svn/observer/trunk@2561 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-09-23 13:54:40 +00:00
parent d9cc9b2f7e
commit dfda4cf014
4 changed files with 123 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ $type_text['fanspeed'] = "Fanspeed";
$type_text['frequency'] = "Frequency";
$type_text['current'] = "Current";
$type_text['power'] = "Power";
$type_text['toner'] = "Toner";
if (!$vars['metric']) { $vars['metric'] = "processor"; }
if (!$vars['view']) { $vars['view'] = "detail"; }
@@ -84,6 +85,7 @@ print_optionbar_end();
if (in_array($vars['metric'],array_keys($used_sensors))
|| $vars['metric'] == 'processor'
|| $vars['metric'] == 'storage'
|| $vars['metric'] == 'toner'
|| $vars['metric'] == 'mempool')
{
include('pages/health/'.$vars['metric'].'.inc.php');