Router interface (dscy_router_interface) CI creation during Discovery

Marek10
Tera Contributor

Hello,

I wonder where and when Router interface (dscy_router_interface) CIs are created during Discovery run.

Looking at the creation time they are created just after "Identity" Probe (we are still on Probes/Sensors) comes back with the result payload and I before any Exploration Probes start. Part of the "Identity" MultiProbes (Windows - Identity, Linux - Identity etc) is the "Network" Probe (Windows -Network, Linux - network and so on).

I tried to find something in the script responding to the "Network" Probe, the post-processing script of the Probe itself and got lost in DiscoveryJSONIDSensor ScriptInclude... (my javascript understanding is a mostly 'intuitive').

Would be grateful for any hints where to find that creation as I want to disable it if possible. 

Thank you in advance,

Marek

2 REPLIES 2

DaveHertel
Kilo Sage
Kilo Sage

Hi - network router, switches, are being discovered via SNMP.  Perhaps you don't want/need SNMP enabled?  If so, you can either disable the probes or, if you are on Kingston (or later) use the Discovery Configuration Console to disable scanning network devices. find_real_file.png

Does this help?

Marek10
Tera Contributor

Hi Dave,

Thanks for your prompt reply but unfortunately this does not resolve my problem.

Sorry, I missed to include that information in the original query but we are not discovering network at all. The dscy_router_interface (and at least two other classes: dscy_route_next_hop and dscy_route_interface (not _router_) are created as a "bonus" during server discovery with WMI/SSH.

I was able to get rid of the other two by modifying the 'Windows - Network' and 'Linux/AIX/... - Network) Probes by removing the route-related WMI fields/part of the ifconfig command. But the router interfaces are still getting created. 

It looks they (and maybe the two I disabled) are needed for L2 or L3 connections creation but as we do not discover network devices these connections will not be created anyway.

Btw: I would leave them be if it was my decision to make but CMDB owners wants them gone... On the other hand if I knew where the router interfaces are created code-wise I could argue that modifying that code is a good idea.

Many thanks in advance!