diff --git a/plugins/admin/systems/class_terminalInfo.inc b/plugins/admin/systems/class_terminalInfo.inc
index 724b985d2c94bb3037414ddf35a6c7c665d9ed31..e41f7295b4f57c3f90392807f025460c4804d726 100644 (file)
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Do we represent a valid terminal? */
if (!$this->is_account && $this->parent == NULL){
echo "<img alt=\"\" src=\"images/stop.png\" align=middle> <b>".
$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");