vCenter

 View Only
  • 1.  Is there any way to disable AutoDiscovery?

    Posted May 26, 2009 09:29 AM
    Same as subject: Is there any way to disable AutoDiscovery?

    Tnx
    Dans


  • 2.  RE: Is there any way to disable AutoDiscovery?

    Posted May 26, 2009 10:15 AM
    agent.properties contains parameter autoinventory.runtimeScan.interval.millis. It's defining how often full autodiscovery is executed. Time slot is calculated from start of the agent.

    I haven't tried to disable it, but once somebody said that if you give value '-1', it will disable autodiscovery. Give it a shot and let us know what happened...


  • 3.  RE: Is there any way to disable AutoDiscovery?

    Posted May 26, 2009 10:28 AM
    Ok, i'll try it... Someone told me otherwise (-1 for default time). XD

    Thnx
    Dans


  • 4.  RE: Is there any way to disable AutoDiscovery?

    Posted May 26, 2009 10:43 AM
    According to source code(org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer):

    If value is not given(null) default is used. There's also this comment:

    // -1 means never scan unless told to.
    // while Long.MAX_VALUE is not infinite, would take years before
    // a scan would run.