From f9645525090bbb450dd976f18202dc58d6f0c236 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 26 Oct 2007 06:41:24 +0000 Subject: [PATCH] Fixed snmp call when !is_callable git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7669 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 0b81eb7d3..f233e746b 100644 --- a/plugins/admin/systems/class_terminalInfo.inc +++ b/plugins/admin/systems/class_terminalInfo.inc @@ -118,7 +118,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