How to exclude VMs from being discovered?

Xeretni
Giga Contributor

Has anyone known how to exclude VMs from being discovered? We have a requirement to exclude dev/test VMs from being discovered to align with our ITOM licensing quota. 

Currently, we have a vCenter discovery schedule that runs daily. I tried adding the VM IP addresses in the range IP exclude list but it doesn't seem to be working.

Appreciate your help!

Cheers.

6 REPLIES 6

Richard Hine
Tera Guru
Tera Guru

Xeretni,

I suggest you put in a global IP exclusion which should stop them from any and all schedules:-

https://docs.servicenow.com/bundle/rome-it-operations-management/page/product/discovery/reference/di...

Hope this helps,

Richard

VivekSattanatha
Mega Sage
Mega Sage

Hi,

 

The exclude IP only works with IP-based discovery and vCenter discovery is through API so it doesn't work.

 

you can disable the probe which discovers overall VM's but it will be hard to exclude only dev and test. You need to change the OOB sensor script to do that and it is not recommendable.

 

Regards,

Vivek

adamtrent
Tera Contributor

Hi,

Did you get anywhere with this?

 

We have a similar issue and want to exclude a list VDIs and possibly a vcenter.

Nothing yet... It would be good if ServiceNow had a flexible way to exclude CI's from being created by values other than an IP address short of pattern modifications.