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 |
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); |