return collector;
}
}
private static void addMonitors(ActionMonitorCollector collector, ConfigServer cs, MonitorTemp[] temps) throws IOException {
MonitorTemp temp;
for(int i=0;i<temps.length;i++){
temp=temps[i];
collector.addMonitor(cs, temp.obj, temp.name, temp.log);
}
}