Possibility of discovering default gateway of IP Router, IP Switch, & IP Firewall

FriendlyDude
Tera Contributor

Hi everyone,

Would it be possible to discover default gateway of IP Router, IP Switch, & IP Firewall and populate network adapter table & CI form? I know that for Linux Servers and Windows Servers default gateway is being discovered and populates the ip_default_gateway field in network adapter table.

I would like to know if this could work for the three classes mentioned.

2 REPLIES 2

Community Alums
Not applicable

Hi @FriendlyDude ,

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;

default gateway information for IP Router, IP Switch, & IP Firewall is not yet discovered. Do you have an idea how can this be discovered?

I'll keep in mind your suggestion once default gateway is discovered for these classes.

 

Thanks!