From: hickert Date: Fri, 26 Oct 2007 06:41:55 +0000 (+0000) Subject: Fixed snmp calls when !is_callable(snmp) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=eab516187784de2e162e547e348752f229c3b9bf;p=gosa.git 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 --- 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");