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/Memory__Monitor.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Memory__Monitor.java (file contents):
Revision 1.16 by tdb, Mon Mar 10 08:59:19 2003 UTC vs.
Revision 1.19 by tdb, Sun Aug 1 10:40:45 2004 UTC

# Line 1 | Line 1
1   /*
2   * i-scream central monitoring system
3 < * http://www.i-scream.org.uk
3 > * http://www.i-scream.org
4   * Copyright (C) 2000-2002 i-scream
5   *
6   * This program is free software; you can redistribute it and/or
# Line 63 | Line 63 | public class Memory__Monitor extends MonitorSkeleton {
63       */
64      public void analysePacket(XMLPacket packet) {
65          String source = packet.getParam("packet.attributes.machine_name");
66 +        if(!checkBooleanConfig("Host." + source, "Monitor." + _name + ".enable")) {
67 +            return;
68 +        }
69          if (!_hosts.containsKey(source)) {
70              _hosts.put(source, new Register(source, _name));
71          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines