--- projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Disk__Monitor.java 2003/03/09 21:49:13 1.19 +++ projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Disk__Monitor.java 2004/01/15 13:41:47 1.20 @@ -36,7 +36,7 @@ import uk.org.iscream.cms.server.componentmanager.*; * This Monitor watches the Disks for all machines * * @author $Author: tdb $ - * @version $Id: Disk__Monitor.java,v 1.19 2003/03/09 21:49:13 tdb Exp $ + * @version $Id: Disk__Monitor.java,v 1.20 2004/01/15 13:41:47 tdb Exp $ */ public class Disk__Monitor extends MonitorSkeleton { @@ -45,7 +45,7 @@ public class Disk__Monitor extends MonitorSkeleton { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.19 $"; + public final String REVISION = "$Revision: 1.20 $"; /** * A description of this monitor @@ -66,6 +66,9 @@ public class Disk__Monitor extends MonitorSkeleton { */ public void analysePacket(XMLPacket packet) { String source = packet.getParam("packet.attributes.machine_name"); + if(!checkBooleanConfig(source, "Monitor." + _name + ".enable")) { + return; + } if (!_hosts.containsKey(source)) { _hosts.put(source, new HashMap()); }