New Device Filters

FilterDear JDisc friends,

when scanning your IT environment, you often want to exclude devices that you are not interested in or which you don’t want to treat with discovery protocols such as SSH, telnet, or WMI. From the beginning, there were two kind of device filters:

– a filter which excludes devices based on their IP address
– a filter which excludes devices based on their device type

Those filter were applied globally and it was not possible to exclude devices of type “printer” in one network segment and include them in others. When a printer was excluded, then it was globally excluded in all parts of the network.

Recently, we got the request to enhance the flexibility for device filters. Customers not only want to exclude devices by type or IP address. They would like to exclude devices based on their operating system (e.g. exclude all devices running client operating systems such as Vista, Windows 7, or Windows 10). Other customers would like to exclude devices based on the device name, model or manufacturer.

And that’s why we completely redesigned the filtering mechanism in JDisc Discovery. Our design goals were:

  • allow IP exclusion filters (as they existed before)
  • allow filtering based on selected device attributes such as operating system version, model, manufacturer, or type
  • customers should be able to define multiple independent filter configurations
  • users should be able to enable or disable individual filter configurations
  • the scope for a filter should be either global (applied to all devices), based on IP ranges, or based on networks which belong to device groups

So let’s check out what the new filtering mechanism looks like. The filtering configuration is located within the discovery configuration dialog. Open the discovery configuration dialog and select the Filters tab. The filters tab displays the list of filter configurations. Initially, there is exactly one filter configuration: “Built-in IP Filter”. This is a built in filter which is used to hold the list of excluded devices (remember, you can select the option “Delete and exclude device” when deleting devices). This filter can’t be deleted, but you might modify the list of exclusion ranges or excluded devices.

Discovery Configuration

 

 

1. Create IP Exclusion Filters

Click the Add button in order to create an IP exclusion range based filter. Select the option IP Filter. This will bring up a new wizard dialog where you enter a name and a description in the first part.

Modify IP Filter Configuration (2)

Enter the second part of the wizard the list of IP ranges or IP addresses which should be excluded.

Modify IP Filter Configuration

When finishing the wizard, a new filter has been defined which excludes globally all devices having IP addresses within the exclusion range.

 

2. Create attribute filter

Click the Add button and select the Attribute Filter option. Enter a filter name and a description.

Add Attribute based Filter Configuration

The Next button gets you to the filter scope definition. An attribute filter can have either

  • a global scope (means it is being applied to all devices)
  • a scope defined by IP ranges (the filter gets applied only to devices having an IP address within this IP range)
  • a scope defined by JDisc Discovery groups (the filter gets applied only to devices having an IP address within the IP ranges and sub-networks defined for a device group)

Add Attribute based Filter Configuration (2)

The last step within the wizard defines the attributes to filter on. It is possible to add multiple filters for a specific attribute. When you – for instance – define “Cisco” and “Dell” as filters for manufacturers, then the filter excludes all devices from either Cisco or Dell. When you define additional attributes – for instance – the device type, then you exclude all devices of a specific type which have “Cisco” or “Dell” as manufacturers.

Click on the Info button in order get get a short description of the filter definition.

Filter Configuration Summary - No Cisco Devices

 

3. Troubleshooting Filter Issues

It can be somehow difficult to find the reason why a device does not appear in JDisc Discovery. In order to simplify filter troubleshooting, JDisc Discovery creates a filter event whenever it excludes a device because it matches a filter criteria.

DeviceFilterEvents

 

4. Summary

JDisc Discovery’s provide a powerful filter mechanism which lets users define exclusion rules on very fine granularity.

 

Hope you like this new feature…

Cheers,
Thomas

About The Author

Thomas Trenz
I own and manage JDisc and its network inventory and discovery products. Before I started JDisc, I worked quite a long time for Hewlett-Packard developing software for network assessments and inventory projects. Feel free to contact me on Linked-In or Xing.

Leave A Comment


The reCAPTCHA verification period has expired. Please reload the page.