This widget could not be displayed.
This widget could not be displayed.

VM Instance State

Robert P_
Tera Contributor

Has anyone configured a away to have the state of the cloud VM change the operational status of the VM in the CMDB? I want that if the cloud VM is in any state, other than running, it changes the operational status of the VM in the CMDB to non-operational. 

Then, if the cloud VM state changes back to running, it changes the operational status of the VM in the CMDB to operational. 

1 ACCEPTED SOLUTION

Ram Devanathan1
ServiceNow Employee
ServiceNow Employee

Event driven discovery is the way to do it. in short, you would need to setup cloud activity log forwarding to hit servicenow endpoint, and on servicenow side there's event processing to update cmdb.

This requires only discovery license - does not need CPG entitlement.

https://docs.servicenow.com/en-US/bundle/sandiego-it-operations-management/page/product/it-operation...

https://docs.servicenow.com/bundle/sandiego-it-operations-management/page/product/it-operations-mana...

https://docs.servicenow.com/bundle/sandiego-it-operations-management/page/product/it-operations-mana...

 

 

 

 

View solution in original post

2 REPLIES 2

Ram Devanathan1
ServiceNow Employee
ServiceNow Employee

Event driven discovery is the way to do it. in short, you would need to setup cloud activity log forwarding to hit servicenow endpoint, and on servicenow side there's event processing to update cmdb.

This requires only discovery license - does not need CPG entitlement.

https://docs.servicenow.com/en-US/bundle/sandiego-it-operations-management/page/product/it-operation...

https://docs.servicenow.com/bundle/sandiego-it-operations-management/page/product/it-operations-mana...

https://docs.servicenow.com/bundle/sandiego-it-operations-management/page/product/it-operations-mana...

 

 

 

 

Ram, this is great info! Thanks!