Best Way to block the data insertion for Discovery tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I would like to block the data insertion for discovery tables as these tables does not gives any valuable data and it clutter the CMDB.
Some example table is: Dscy_route_next_hop table.
Suggest me best apporach to block the data insertion.
The important point is that this should not write an message on system logs or any other tables in the platform. It just block the insertion.
✔️ If this solves your issue, please mark it as Correct.
✔️ If you found it helpful, please mark it as Helpful.
—
Shubham Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
this is not a discovery table - Dscy_route_next_hop table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
@Ram Devanathan1 I have seen that these tables are getting populated from discovery. One of the example is - when we do the discovery of computer - it gets create some entities on these respective tables from discovery as source.
✔️ If this solves your issue, please mark it as Correct.
✔️ If you found it helpful, please mark it as Helpful.
—
Shubham Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
You are right, i am sorry for the wrong information above without checking.. Thank you for correcting me.
The Dscy_route_next_hop table stores Next Hop Routing Rules, which are collected during the horizontal discovery of network devices such as routers and switches.
The data in the Dscy_route_next_hop table is typically gathered through SNMP using the IP Management Information Base (MIB) during the discovery of network devices. This data collection is integral to populating relationship information for IP Routers (cmdb_ci_ip_router) and IP Switches (cmdb_ci_ip_switch) that use Next Hop Routing Rules.
To stop data from being written to the Dscy_route_next_hop table, you need to disable the underlying mechanism responsible for discovering and populating network routing rules. Below are the primary methods supported by the sources to disable this data collection:
1. Disable Layer 3 (L3) Mapping System Property
The collection of routing and IP connectivity information relies on the L3 mapping functionality.
- Mechanism: The system property
glide.discovery.L3_mappingcontrols whether servers and network devices are mapped to their associated routers and layer-3 switches. The discovery of routers and layer 3 switches that populate theDscy_route_next_hoptable requires this property to be set totrue. - Disablement Steps: Set the
glide.discovery.L3_mappingproperty tofalse.- Navigate to
sys_properties.list. - Search for and select the property
glide.discovery.L3_mapping. - Change the Value field to
false. - Select Update.
- Navigate to
2. Disable Network Device Exploration via Configuration Console
If the data is being collected through traditional probes or patterns launched as part of the overall device information gathering process, you can disable the relevant exploration category.
- Mechanism: Disabling a Device Info category in the Discovery Configuration Console disables the related probes and pattern libraries that perform identification and exploration of the Configuration Item (CI). The discovery process for network devices generally includes Network Device Exploration.
- Disablement Steps: Disable the Network Device Exploration feature.
- Navigate to Discovery > Discovery Definition > Configuration Console.
- Expand the category for the device types (e.g., Network Devices).
- Locate and click the toggle button to turn off the specific device information you do not want to discover, such as Network Device Exploration.
3. Deactivate or Customize Network Router/Switch Patterns
If network routing data is collected via patterns, deactivating the patterns or modifying their content will stop the population of the table. The Dscy_route_next_hop table is referenced in relationships created by the Network Router pattern and the Network Switch pattern.
-
Mechanism: Discovery uses the Network Router pattern and Network Switch pattern during horizontal discovery, which creates relationships that use the
Dscy_route_next_hoptable. -
Disablement Steps (Deactivation - Comprehensive but may halt core device discovery):
- Navigate to Discovery Definition > CI Classification > SNMP.
- Locate the classifier (e.g., for Routers or Switches) and ensure that the associated pattern is used (by checking the Horizontal Pattern probe in the Trigger probes related list).
- Navigate to the specific pattern in Pattern Designer > Discovery Patterns.
- To completely stop the pattern from running, clear the Active checkbox and select Update.
-
Disablement Steps (Customization - Recommended Best Practice): A best practice is to duplicate the default probes/patterns and customize the copy, rather than modifying the out-of-box configuration.
- Duplicate the relevant Network Router or Network Switch pattern.
- Modify the duplicated pattern in the Pattern Designer to remove the steps (usually found in the Exploration phase) responsible for querying and collecting the next hop routing rule data from the network device.
- Update the corresponding CI Classification for the router/switch to use your custom pattern instead of the default pattern. You do this by selecting the Horizontal Pattern probe and specifying your custom pattern.
Analogy for Understanding Disablement
Stopping data flow into the Dscy_route_next_hop table is like controlling the input valves to a specific measurement gauge on a control panel.
- Disabling L3 Mapping (Method 1) is like shutting off the main plumbing line feeding all network connectivity gauges in that section of the building. It stops all layer 3 data collection globally.
- Disabling Network Device Exploration (Method 2) is like isolating the set of instruments specifically related to network configuration (the
Network Device Explorationcategory), ensuring those particular gauges stop receiving updates. - Customizing the Pattern (Method 3) is the most precise method, equivalent to modifying the specific sensor inside the gauge for "Next Hop Routing Rules" so that even if the line is open, that particular sensor simply ignores the incoming flow of data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
These records are sometimes important for the Network team to understand Level 2 and Level 3 relationships for Routers and Layer 3 switches. While they are generated by the Network Switch and Network Router patterns, specifically using the 'SNMP-Routing' pattern library, disabling this pattern would solve the issue but is not recommended.
Instead, a better approach is to control which CMDB records are displayed to users. For example, we never expose the base cmdb_ci table records directly to users; similarly, you can filter visibility for these specific records rather than blocking their creation outright
