Not all Interfaces are appearing

Started by andym, October 15, 2020, 03:04:09 PM

Previous topic - Next topic

andym

Hi,

When I perform a poll | configuration (full)  I only see a subset of the interfaces, I see output that tells me other interface

[10.01.2020 13:01:35] Checking interface configuration...
[10.01.2020 13:01:39]    Found new interface "Gi1/0/1"
[10.01.2020 13:01:39]    Creation of interface object "Gi1/0/1" blocked by filter
[10.01.2020 13:01:39]    Found new interface "Gi1/0/2"
[10.01.2020 13:01:39]    Creation of interface object "Gi1/0/2" blocked by filter
[10.10.2020 13:01:39]    Found new interface "Gi1/0/3"
etc

Can anyone suggest what is causing this and how I can either modify the filter, or else manually add interfaces so that on the next Poll they are not removed by NetXMS

Thanks

Andym

Alex Kirhenshtein

Check script "Hook::CreateInterface" in scripting library (Configuration -> Scripting Library). Script is executed on configuration poll and if it returns true - interface is created, if false - creation is blocked.

andym

Hi Alex,

Thanks for the reply... your suggestion worked perfectly and I can now see all the interfaces. the script was filtering out those without an IP Address assigned.

Following on from there, I have right-clicked an interface that is being used and chosen Create data collection items, accepted the defaults of Inbound traffic (bits) / Delta value (average per second) and outbound traffic (bits) / Delta value (average per second).

So my next question is how do I see the info from the Data Collection Item ?

Thanks

AndyM

Alex Kirhenshtein

switch to "Last Values" tab, there will be list of all active DCIs. You can access history / charts from there.

andym

Hi Alex,

OK so this is what I've tried............

right-click the interface for which I want to ultimately add to a dashboard
chose create data collection items...
accept the settings in the "Creae Interface DCI" window
a "Create DCI for interface" window briefly appears, the disappears.

If I then right-click on the switch itself and choose last values I only see some that were already chosen/set/configured

:(

any further suggestions would be greatly appreciated.

Filipp Sudanov

But if you open Data Collection Configuration for that switch, are these DCIs there?

Creae Interface DCI functionality is quite old. It's better to use a template with instance discovery that would get interface list somehow and create DCIs automatically.