61 |
|
* @param packet the XMLPacket to analyse |
62 |
|
*/ |
63 |
|
public void analysePacket(XMLPacket packet) { |
64 |
– |
|
64 |
|
String source = packet.getParam("packet.attributes.machine_name"); |
65 |
+ |
if(!checkBooleanConfig("Host." + source, "Monitor." + _name + ".enable")) { |
66 |
+ |
return; |
67 |
+ |
} |
68 |
|
if (!_hosts.containsKey(source)) { |
69 |
|
HashMap attributeRegisters = new HashMap(); |
70 |
|
initAttributeRegsiters(source, attributeRegisters); |
187 |
|
/** |
188 |
|
* An array of attributes which we will be checking. |
189 |
|
*/ |
190 |
< |
private String[] _attributes = { "packet.pages.swapins", "packet.pages.swapouts" }; |
190 |
> |
private String[] _attributes = { "packet.pages.pageins", "packet.pages.pageouts" }; |
191 |
|
|
192 |
|
/** |
193 |
|
* An array of "nice names" for the attributes in _attributes. |