Discovery Scheduling

Sdouce
Tera Contributor

I would like to know if it is possible to exclude a time period in a discovery schedule.
Indeed, I would like the VMware discovery to be performed every hour but not at night (because we do not want to detect VMs and datastores that are temporarily created during backups).
Do you know the correct method?

2 REPLIES 2

bigfissy
Kilo Sage
Kilo Sage

Hi @Sdouce 

 

You have two options. I would choose option 2 if you ask me.

 

Option 1:

Create the discovery schedule to run during the day and set a maximum time it would run to completion before night when those VMs can be detected by the MID server. This is based on the assumption that your discovery schedule would finish during the day. If you have a discovery schedule that runs up to 24 hours, then this is not a suitable option. 

 

Option 2: 

Use the "Excluding IP Address/Ranges from Discovery Schedule" option. This allows you to exclude some IPs when the discovery schedule runs. If you know the IPs of those VMs, you can exclude them as an IP address range, List, or network option. When discovery runs, those IPs will not be scanned.

 

N/B: If my answer has helped with your question, please mark my answer as an accepted solution and give a thumbs up. That is how we grow the community ðŸ˜Ž

 

doug_schulze
ServiceNow Employee
ServiceNow Employee

You can script it so a workflow or scheduled job runs that schedule. Also consider the Vcenter event collector so when its not running you can still have your cmdb updated.