ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Disk__Monitor.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Disk__Monitor.java (file contents):
Revision 1.19 by tdb, Sun Mar 9 21:49:13 2003 UTC vs.
Revision 1.20 by tdb, Thu Jan 15 13:41:47 2004 UTC

# Line 66 | Line 66 | public class Disk__Monitor extends MonitorSkeleton {
66       */
67      public void analysePacket(XMLPacket packet) {
68          String source = packet.getParam("packet.attributes.machine_name");
69 +        if(!checkBooleanConfig(source, "Monitor." + _name + ".enable")) {
70 +            return;
71 +        }
72          if (!_hosts.containsKey(source)) {
73              _hosts.put(source, new HashMap());
74          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines