private void setMonitor() {
		Timer timer = new Timer("Ganglia Monitor", true);
		timer.scheduleAtFixedRate(new TimerTask() {
			public void run() {
				updateCount++;
				synchronized (reportTasks) {
					try {
						InetAddress col = InetAddress.getByName(collector);
						for (StatReporter sr : reportTasks) {
							GMetricSender.send(col, port, sr.getName(), sr.getValue(), sr.getUnit(), GMetricSender.SLOPE_BOTH, 60, 300);
						}
					} catch (UnknownHostException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
				}
			}
		}, delay, period);
	}