VMware Cloud Community
Dans_hyperic
Enthusiast
Enthusiast

Is there any way to disable AutoDiscovery?

Same as subject: Is there any way to disable AutoDiscovery?

Tnx
Dans
Reply
0 Kudos
3 Replies
jvalkeal_hyperi

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...
Dans_hyperic
Enthusiast
Enthusiast

Ok, i'll try it... Someone told me otherwise (-1 for default time). XD

Thnx
Dans
Reply
0 Kudos
jvalkeal_hyperi

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.