Esempio n. 1
0
  public void start(String[] args) throws Exception {

    PropertiesManager pm = new PropertiesManager(new File(propFile));
    // jrds.JrdsLoggerConfiguration.configure(pm);

    System.getProperties().setProperty("java.awt.headless", "true");
    System.getProperties().putAll(pm);
    StoreOpener.prepare(pm.rrdbackend, pm.dbPoolSize);

    HostsList hl = new HostsList(pm);

    logger.debug("Scanning dir");

    for (Timer t : hl.getTimers()) {
      t.collectAll();
    }
    StoreOpener.stop();
  }