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