summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e12e9ee)
raw | patch | inline | side by side (parent: e12e9ee)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Jun 2005 12:02:09 +0000 (12:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Jun 2005 12:02:09 +0000 (12:02 +0000) |
include/functions.inc | patch | blob | history | |
plugins/admin/systems/class_terminalInfo.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 495fd457403fbe185c74e15f0e3a9a31ddc10ddc..f6bb3307ff2903e9b0dc37c045dc0444d1c6dd7f 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
}
$str.= "</div></div></div>";
-
+
return($str);
}
diff --git a/plugins/admin/systems/class_terminalInfo.inc b/plugins/admin/systems/class_terminalInfo.inc
index 724b985d2c94bb3037414ddf35a6c7c665d9ed31..7c378d679a2a5e1eed114500247b4a3f5c7c8e5d 100644 (file)
$SwapTotal= preg_replace('/^.*[=:] ([0-9.]+)$/', '\\1', $SwapTotal);
if ($SwapTotal != 0){
#$smarty->assign("swap", (int)(($SwapTotal - $SwapFree)*100/$SwapTotal));
- $smarty->assign("swap", porgressbar(0,100,15,true));
+ $smarty->assign("swap", progressbar(0,100,15,true));
}
/* Get system uptime */
$sysload= @snmpget($host, $community, "UCD-SNMP-MIB::laLoad.2");
$sysload= preg_replace('/^.*[=:] ([0-9.]+)$/', '\\1', $sysload);
- $smarty->assign("load", progressbar($sysload*100,100,20,true));
+ $smarty->assign("load", progressbar($sysload*100,100,15,true));
/* Get status for key processes */
$processes= @snmpwalk($host, $community, "UCD-SNMP-MIB::prNames");