From eab516187784de2e162e547e348752f229c3b9bf Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 26 Oct 2007 06:41:55 +0000 Subject: [PATCH] Fixed snmp calls when !is_callable(snmp) git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7670 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_terminalInfo.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_terminalInfo.inc b/plugins/admin/systems/class_terminalInfo.inc index 90278c532..9f63a771a 100644 --- a/plugins/admin/systems/class_terminalInfo.inc +++ b/plugins/admin/systems/class_terminalInfo.inc @@ -107,7 +107,7 @@ class terminfo extends plugin $community= 'goto'; /* Get memory informations */ - if(is_callable("snmpget")){ + if(!is_callable("snmpget")){ $MemFree = false; }else{ $MemFree= @snmpget($host, $community, "UCD-SNMP-MIB::memory.memAvailReal.0"); -- 2.30.2