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 |
131 |
|
continue; |
132 |
|
} |
133 |
|
|
134 |
+ |
if(packet == null) { |
135 |
+ |
continue; |
136 |
+ |
} |
137 |
+ |
|
138 |
|
String packetType = packet.getParam("packet.attributes.type"); |
139 |
|
// check if we need to send it regardless |
140 |
< |
if(packetType.equals("data") || packetType.equals("heartbeat")) { |
140 |
> |
if(packetType.equals("data")) { |
141 |
|
String host = packet.getParam("packet.attributes.machine_name"); |
142 |
|
|
143 |
|
// look in the hostMap to see if anyone wants this data |