Discovery of Default Gateway for network devices

FriendlyDude
Tera Contributor

Hi everyone,

 

Is there a way to discovery default gateway of a network device and populate the default gateway field in CI Form view?

3 REPLIES 3

Shaqeel
Mega Sage

Hi @FriendlyDude 

 

You couls use you can use Business Rule to populate the field.

 

If the default gateway information is already discovered but not mapped to the correct field, you can create a Business Rule to update the Default Gateway field based on the discovered data.

Example:

Trigger: After

Table: cmdb_ci_network_device

Condition: discovered_data.default_gateway != null

Script:

current.default_gateway = current.discovered_data.default_gateway;

 

Regards

Shql

 


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

Default gateway information is yet to be discovered. As of now discovery of this attribute is not implemented.

Elizabeth Priya
ServiceNow Employee
ServiceNow Employee

.