Discovering Devices
Learn about the device discovery process, as well as the different methods of adding devices to Unified Assurance.
Tasks
The following list shows you the tasks involved in discovering devices:
Prerequisites
Before adding devices to Unified Assurance, determine the following:
-
Names for the device zone, the device group, and so on. This can be a customer name, a generic physical location, such as the United States or Europe, or something else relevant to your installation.
-
If sharding is in use for this environment, determine whether the devices being discovered will store their data on the default shard or a different shard.
Creating a Device Zone
Grouping specific devices into a particular zone can be used for organization or for polling purposes. This provides scoping for discovery and proactive polling, ensuring that devices within a zone are accessed by monitoring components in that zone. Multiple devices with the same IP address must be in separate zones for proper polling.
Note:
-
Device zones are mutually exclusive groupings of devices. Devices can only belong to one device zone.
-
Device zones are commonly used for polling or active collection so that collectors and/or pollers can be distributed to various locations.
-
Devices can be moved to a different zone one device at a time using the Devices UI, or multiple devices at a time using the Device Management UI and selecting the Move Device to Zone action.
-
Go to the Device Zones UI:
-
Click Add to add a new zone.
-
Enter a name for the zone.
-
Click Submit to create the zone.
Creating a Device Group
A device group associates devices together to provide common functionality. You can use device groups for navigation, security, command and control, and limiting the number of devices for polling.
Note:
Unified Assurance supports non-mutually exclusive groupings of devices. One device can belong to multiple device groups.
Unified Assurance uses device grouping in several ways, including the following:
-
Navigation - Making devices that are related easier to find.
-
Restriction Grouping - Device access can be restricted and provide multitenant functionality to any device-based function.
-
Reporting - TopN and Inventory Overviews that allow applicable comparisons.
Hierarchies of device groups can be created through the establishment of parent and children groups. At the top level of the hierarchy, there is a single Root group which contains all devices. Subgroups or children can be created off the main level. Additional child groups can be created within each subgroup to categorize devices within groups, thus creating a hierarchical structure.
-
Go to the Device Groups UI:
-
Select the Root device group and then click Add to add a new device group.
-
Enter a name for the group.
-
Click Submit to create the group.
Updating an Existing Device Group
When updating the devices that are part of an existing device group, the Devices picker is used to select the devices that should be added to the group, or remove devices that should not be part of the group.
WARNING:
A device must be a member of at least one device group. If trying to update a group to remove a device and a warning is shown, that device must be added to another group before it can be removed from the existing group.
The Remove from other groups checkbox can be used and when selected, any devices added to this group will also be removed from any other groups.
Preparing the Device Auto Discovery job
The Device Auto Discovery application uses the defined Inclusion Profiles and Exclusion Profiles to find and record new devices on the network. After a device has been discovered and added to the database, the device information is sent to rules for additional custom processing that may be needed. All initially discovered devices appear in the Devices UI with a Status of Verified.
A job should be created to discover the devices in the new zone, and can also put the devices in the new group.
-
Go to the Jobs UI:
-
Select the Device Auto Discovery job, then click Clone.
-
In the form that is opened, change the following.
-
Change the Name to Device Auto Discovery - ((DEVICE ZONE NAME)).
-
Check the Scheduled checkbox, then make any changes as needed to the schedule. The default schedule is to run every Friday at 23:59.
-
In the Configuration section, change the DeviceGroupID to the newly created device group.
-
In the Configuration section, change the DeviceZoneID to the newly created device zone.
-
In the Configuration section, change the LogFile to logs/DeviceAutoDiscovery-((DEVICE ZONE NAME)).log.
-
Optional: If using sharding and the devices will have data stored on a different shard, in the Configuration section, change the ShardID to the correct value.
-
Optional: In the Configuration section, change the Threads to a larger value. More threads means more system memory will be used, but discovery will complete faster overall.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the job.
-
Discovering the Devices
Devices can be discovered using one of two methods.
-
Create discovery Inclusion Profiles, and optionally, Exclusion Profiles, to discover a list of devices using different inclusion profile types.
-
Use the Manual Discovery UI to specify a list of devices to discover.
Creating Discovery Inclusion Profiles
Inclusion Profiles is a standard configuration interface to maintain the various profiles used by the Device Auto Discovery scheduled job to provide criteria for the devices that should be discovered and added to the device catalog. A profile can specify a seed list of IPs and/or DNS Names, a range of IPs, a CDP scan, or an LDAP scan. One or more profiles can be created to discover the devices within a network. Configure a profile and enable it to allow the Device Auto Discovery scheduled job to find the devices using the profile settings. There are four profile types to choose from:
-
Ping Scan: Defines an IP address range (for example, 192.0.2.*) to be pinged by the Device Auto Discovery scheduled job.
-
Seed Scan: Defines a list of specific IP addresses (and/or DNS names) of devices to be discovered (reduced search time over Ping Scan).
-
LDAP Scan: Active Directory query-based scan.
-
CDP Scan: A scan based on the Cisco Discovery Protocol (Scans for devices and their directly connected neighbors).
Steps to create a profile:
-
Go to the Inclusion Profiles UI.
-
Click Add -> Ping Inclusion Profile to create a new profile, then fill in the following information:
-
Change the name to something appropriate for the environment.
-
Set Device Zone to the zone the devices should be added to.
-
Enter the IP address range to scan into the IP Address Regex Range text field. For example, 192.0.2.*.
-
Set CIDR to the correct type based on the IP range entered.
-
Click Submit to save the profile.
-
-
Add additional inclusion profiles as needed.
After inclusion profiles have been created, unless exclusion profiles are also needed, the Device Auto Discovery job for the zone should be run manually, or if applicable, wait for the job to run as scheduled.
After discovery has completed, go to the Devices UI to see the devices that have been discovered.
Configuration -> Device Catalog -> Devices
You can also go to the Devices navigation to see the devices listed.
Creating Discovery Exclusion Profiles
Exclusion Profiles is a standard configuration interface to allow users to define a list or range of IP addresses or DNS Names for which discovery should never be attempted. These allow a small number of IPs to be exempted from discovery, even if they would have been included in a larger range of a discovery profile. For example, an inclusion discovery profile is created for 192.0.2.*, but 192.0.2.129 should never be discovered. An exclusion profile accomplishes this without splitting the single discovery profile into multiple profiles.
-
Go to the Exclusion Profiles UI.
-
Click the Add -> IP Range Exclusion Profile to create a new profile, then fill in the following information:
-
Change the name to something appropriate for the environment.
-
Set Device Zone to the zone where the devices should be ignored.
-
Enter the IP address range to ignore into the IP Address Regex Range text field (for example 192.0.2.129).
-
Click Submit to save the profile.
-
-
Add additional exclusion profiles as needed.
After exclusion profiles have been created, the Device Auto Discovery job for the zone should be run manually, or if applicable, wait for the job to run as scheduled.
After discovery has completed, go to the Devices UI to see the devices that have been discovered.
Configuration -> Device Catalog -> Devices
You can also go to the Devices navigation to see the devices listed.
Using Manual Discovery
Manual Discovery is a special configuration interface for the middle ground between full auto-discovery with profiles and manually entering all the device details. It is logically equivalent to creating a new discovery profile, populating it with a single IP, and running the Device Auto Discovery job on just that profile. Users can simply enter an IP address or DNS name and Unified Assurance will run the Device Auto Discovery application on the server specified using a SOAP request. If the device is ping-able, it will be discovered, added to the device catalog, and have its basic device information populated. Manual Discovery will place the device in the device zone, group, shard, etc., set for the Device Auto Discovery application that is used (Default First Zone by default).
-
Go to the Manual Discovery UI.
-
Select the Unified Assurance server that you intend to use to run discovery from the Run on Server combo box.
-
For a single-server install, there should be only one server available.
-
In a multi-server install, there may be more than one server to choose from.
Note:
Only servers that have an instance of the DeviceAutoDiscovery binary with the Status set to Enabled will be listed here, but the Scheduled option for the job can be unchecked so that it does not start automatically. If no jobs are enabled, an error will be returned. See the Jobs UI for additional information.
-
-
Select the specific job instance that you intend to use to run discovery from the Discovery Jobs combo box.
-
In the Devices (DNS/IPs) field, enter the DNS name or IP address of the device to discover (for example,
192.0.2.22
).Note:
You can manually discover multiple devices at once, by comma-separating the IPs/DNS names (for example,
192.0.2.2,198.51.100.3,203.0.113.4
). -
Click Discover at the bottom right of the UI. The device discovery process will begin.
After discovery has completed, go to the Devices UI to see the devices that have been discovered.
Configuration -> Device Catalog -> Devices
You can also go to the Devices navigation to see the devices listed.
Preparing the Device SNMP Discovery job
The Device SNMP Discovery application utilizes SNMP and SNMP Access Profiles to obtain additional information about devices marked as Verified in the device catalog. The application will also periodically re-test SNMP Access Profiles for devices that had been previously discovered. Unified Assurance uses this information to apply a device type to the device in the device catalog. Rules files can also be utilized with this application to further customize the device catalog record for the device based upon the returned data. If discovery was successfully completed via this application, the device State appears as Discovered in the device catalog.
A job should be created to SNMP discover the devices in the new zone.
-
Go to the Jobs UI:
-
Select the Device SNMP Discovery job, then click Clone.
-
In the form that is opened, change the following.
-
Change the Name to Device SNMP Discovery - ((DEVICE ZONE NAME)).
-
Check the Scheduled checkbox, then make any changes as needed to the schedule. The default schedule is to run every Saturday at 23:59.
-
In the Configuration section, change the DeviceZoneID to the newly created device zone.
-
In the Configuration section, change the LogFile to logs/DeviceSNMPDiscovery-((DEVICE ZONE NAME)).log.
-
Optional: In the Configuration section, change the Threads to a larger value. More threads means more system memory will be used, but discovery will complete faster overall.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the job.
-
Creating SNMP Access Profiles
SNMP Access is a standard configuration interface for adding, editing, and removing SNMP Discovery access profiles. Each profile contains SNMP information used to access SNMP on devices. The Device SNMP Discovery scheduled job attempts to assign one of these profiles to each device. Once an SNMP access profile has been assigned to a device it can be used by other SNMP-based components.
Unified Assurance provides a Default Public version 2 SNMP Access profile by default, which uses the public community string. If your SNMP-enabled devices also use the public community string and SNMPv2, then the Default Public profile can be used for SNMP Discovery. If your devices use a different SNMP version and/or different community strings, then a new SNMP Access profile must be created with the relevant information.
-
Go to the SNMP Access UI.
-
Click Add to add a new profile, then fill in the following information:
-
Set SNMP Version to the correct version that will be used.
-
Set Profile Name to something appropriate for the environment.
-
Set Priority Order to an appropriate value for the environment.
-
Change the SNMP UDP Port value if needed for the environment.
-
Change the MTU value if needed for the environment.
-
Set Device Zone to the zone where the profile should be used, or select [All] if the profile should be used in multiple device zones.
-
Set the SNMP access with the appropriate settings for the environment.
-
If using the v1 or v2c SNMP version, enter the SNMP community string to be used for access.
-
If using the 3 SNMP version, enter the different settings needed to be used for access.
-
-
Click Submit to save the profile.
-
-
Add additional access profiles as needed.
After SNMP access profiles have been created, the Device SNMP Discovery job for the zone should be run manually, or if applicable, wait for the job to run as scheduled.
After discovery has completed, go to the Devices UI to see the devices that have been SNMP discovered.
Configuration -> Device Catalog -> Devices
You can also go to the Devices navigation to see the devices discovered.
Creating a Metric SNMP Network Interface Discovery Job
The Metric SNMP Network Interface Discovery Agent is used to connect to devices and find the interfaces available for polling. Using rules, metric instances are created, which will be used for future polling.
A job should be created to discover the network interfaces from devices in the new zone.
-
Go to the Jobs UI:
-
Select the Metric SNMP Network Interface Discovery job, then click Clone.
-
In the form that is opened, change the following.
-
Change the Name to Metric SNMP Network Interface Discovery - ((DEVICE ZONE NAME)).
-
Change the Status to Enabled.
-
The Scheduled checkbox is already checked, but make any changes as needed to the schedule. The default schedule is to run every Sunday at 00:59.
-
In the Configuration section, change the DeviceZoneID to the newly created device zone.
-
In the Configuration section, change the LogFile to logs/MetricSNMPInterfaceDiscovery-((DEVICE ZONE NAME)).log.
-
Optional: In the Configuration section, change the Threads to a larger value. More threads means more system memory will be used, but discovery will complete faster overall.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the job.
-
After the job has been created, the job for the zone should be run manually, or if applicable, wait for the job to run as scheduled.
Creating a Topology Gather Network Inventory Job
The Topology Gather Network Inventory application gathers information about the network from devices in the device catalog using SNMP and enters it into inventory tables. This information is also used to create topology layout in the graph database. Here are types of information that will be discovered by default:
-
ARP entries
-
Bridge ports
-
CDP neighbors
-
Cisco VLANs
-
Interfaces
-
IP addresses
-
LLDP neighbors
-
MAC addresses
-
Ports
-
Routes
-
Trunks
A job should be created to gather data from the devices in the new zone.
-
Go to the Jobs UI:
-
Select the Topology Gather Network Inventory job, then click Clone.
-
In the form that is opened, change the following.
-
Change the Name to Topology Gather Network Inventory - ((DEVICE ZONE NAME)).
-
Change the Status to Enabled.
-
The Scheduled checkbox is already checked, but make any changes as needed to the schedule. The default schedule is to run every day at 11:00.
-
In the Configuration section, change the DeviceZoneID to the newly created device zone.
-
In the Configuration section, change the LogFile to logs/MetricSNMPInterfaceDiscovery-((DEVICE ZONE NAME)).log.
-
Optional: In the Configuration section, change the Threads to a larger value. More threads means more system memory will be used, but discovery will complete faster overall.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the job.
-
After the job has been created, the job for the zone should be run manually, or if applicable, wait for the job to run as scheduled.
Creating Polling Policies
Polling Policies is a standard configuration interface for adding, editing and removing the polling policies that can be used by the Metric Poller Discovery scheduled job. The scheduled job uses polling policy settings to search for devices and instances to process, create the metrics entries to poll the devices based on selected poller templates, and then assigns thresholds based on the selected threshold group. Essentially, this is a simple, automated and dynamic way to create and maintain Metrics and Threshold settings for certain devices and instances rather than manually creating them using the Polling Assignments interface.
-
Go to the Polling Policies UI:
-
This step will create a profile for ping polling. Click Add to add a new policy, and in the form that is opened, change the following.
-
Change the Name to Configure Ping Polling.
-
Change the Match -> Instance -> Match option and set it to REGEXP.
-
For the Match -> Instance -> Name option, enter ^Device$.
-
Change the Match -> Instance -> Type option and set it to Unknown.
-
Change the Assign -> Method option and set it to NA.
-
Change the Assign -> Poller Template option and set it to Default Ping.
-
Change the Assign -> Threshold Group option and set it to Default Ping.
-
Change the Assign -> Poll Time option and set it to 300.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the policy.
-
-
This step will create a profile for network interface polling. Click Add to add a new policy, and in the form that is opened, change the following.
-
Change the Name to Configure Network Interface Polling - ((INTERFACE NAME)).
Note:
The value used here will greatly depend on the environment, and how interfaces are named is highly configurable. One example is eth0, so the policy name should be Configure Network Interface Polling - eth0
-
Change the Match -> Instance -> Match option and set it to LIKE.
-
For the Match -> Instance -> Name option, enter the name of the interfaces to be processed, for example, eth0.
-
Change the Match -> Instance -> Type option and set it to SNMP Interface.
-
Change the Assign -> Method option and set it to SNMP.
-
Change the Assign -> Poller Template option and set it to Default Network Interface.
-
Change the Assign -> Threshold Group option and set it to Default Network Interface.
-
Change the Assign -> Poll Time option and set it to 300.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the policy.
-
-
Additional policies may be needed for additional network interfaces. The existing policy can be cloned, but with a different Match -> Instance -> Name values for the different names that are possible.
Running the Metric Poller Discovery Job
The Metric Poller Discovery application uses the configured Polling Policies to create metrics that will be polled from a device and associate thresholds. This is accomplished by using instance information already gathered by other applications and put into the Unified Assurance database.
-
Go to the Jobs UI:
-
Select the Metric Poller Discovery job.
After the job has been selected, it should be run manually, or if applicable, wait for the job to run as scheduled.
Creating and Running Pollers
Now that all the configuration steps have been completed, it is time to start the following pollers:
-
Metric Generic SNMP Poller
-
Metric Network Interface Poller
-
Metric Ping Latency Poller
Steps:
-
Go to the Services UI:
-
Select the Metric Generic SNMP Poller service, then click Clone.
-
In the form that is opened, change the following.
-
Change the Name to Metric Generic SNMP Poller - ((DEVICE ZONE NAME)).
-
Change the Status to Enabled.
-
In the Configuration section, change the DeviceZoneID to the newly created device zone.
-
In the Configuration section, change the LogFile to logs/MetricGenericSNMPPoller-((DEVICE ZONE NAME)).log.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the service.
-
-
Select the Metric Network Interface Poller service, then click Clone.
-
In the form that is opened, change the following.
-
Change the Name to Metric Network Interface Poller - ((DEVICE ZONE NAME)).
-
Change the Status to Enabled.
-
In the Configuration section, change the DeviceZoneID to the newly created device zone.
-
In the Configuration section, change the LogFile to logs/MetricNetworkInterfacePoller-((DEVICE ZONE NAME)).log.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the service.
-
-
Select the Metric Ping Latency Poller service, then click Clone.
-
In the form that is opened, change the following.
-
Change the Name to Metric Ping Latency Poller - ((DEVICE ZONE NAME)).
-
Change the Status to Enabled.
-
In the Configuration section, change the DeviceZoneID to the newly created device zone.
-
In the Configuration section, change the LogFile to logs/MetricPingPoller-((DEVICE ZONE NAME)).log.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the service.
-
After the pollers are configured, they will be automatically started and polling for data.
Enabling the Metric Standard Thresholding Engine Service
Now that all the pollers have been configured, it is time to start the Metric Standard Thresholding Engine.
-
Go to the Services UI:
-
Select the Metric Standard Thresholding Engine service.
-
In the form that is opened, change the following.
-
Optional: If using event or metric sharding, click Clone instead of changing the default service, then change Name to something more descriptive, for example, Metric Standard Thresholding Engine - Event Shard ((#)) Metric Shard ((#)).
-
Change the Status to Enabled.
-
Optional: If using event sharding and the events should be stored on a different shard, in the Configuration section, add the EventShardID option, and change it to the correct value.
-
Optional: If using metric sharding and the metrics should be retrieved from a different shard, in the Configuration section, add the MetricShardID option, and change it to the correct value.
-
Click Submit to save the changes or create the service.
-
Configuring the Device Configuration Profile
Profiles is a standard configuration interface for managing topology device configuration profiles.
-
Go to the Profiles UI:
-
Select the Default Server SSH Profile, then click Clone.
-
In the form that is opened, change the following.
-
Change the Name to Server SSH Profile - ((USER NAME)).
-
Change the User to the user name that will be used when connecting to devices.
-
Change the Password to the password that will be used when connecting to devices.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the profile.
-
-
Create additional profiles as needed.
Configuring the Device Configuration Policy
Policies is a standard configuration interface for managing device configuration policies. These policies are used by the Topology Configuration Discovery application to create the collections needed for the Gather Configurations Agent application.
-
Go to the Policies UI:
-
Click Add.
-
In the form that is opened, change the following.
-
Change the Name to Device Configuration Policy for ((DEVICE TYPE)).
-
Change the Device Type to [Any].
-
Change the Category to Server.
-
Change the Meta Type to [None].
-
Change the Profile to the one created in the previous section.
-
Change the Action to the Default Servers SSH Actions.
-
Other changes can be made as needed in the environment.
-
Click Submit to create the policy.
-
-
Create additional Policies as needed.
Enabling the Config Discovery Job
The Topology Configuration Discovery uses configuration Policies to identify devices where configuration files should be collected, then creates entries as needed for the Gather Configurations Agent application. This is an automated utility that can be utilized to perform the same function as manually creating entries using the Collections UI.
-
Go to the Jobs UI:
-
Select the Config Discovery job.
-
In the form that is opened, change the following.
-
Change the Status to Enabled.
-
The Scheduled checkbox is already checked, but make any changes as needed to the schedule. The default schedule is to run every hour at minute 59.
-
Other changes can be made as needed in the environment.
-
Click Submit to save the changes.
-
After the job has been selected, it should be run manually, or if applicable, wait for the job to run as scheduled.
Enabling and Running the Config Gatherer Job
The Topology Gather Configurations Agent is used to gather configuration information from devices and saves the output as files. These configuration information files are then tracked in the SVN repository and differences can be viewed in the Config DDO of a device in the Topology tab. Gathering configurations can be done via SSH or Telnet.
-
Go to the Jobs UI:
-
Select the Config Gatherer job.
-
In the form that is opened, change the following.
-
Change the Status to Enabled.
-
The Scheduled checkbox is already checked, but make any changes as needed to the schedule. The default schedule is to run every noon and midnight.
-
Other changes can be made as needed in the environment.
-
Click Submit to save the changes.
-
After the job has been selected, it should be run manually, or if applicable, wait for the job to run as scheduled.
Related Interfaces
Device Management
Device Management is a special configuration interface to perform a single action on a large number of devices at a single time. These actions can be done on a device group, or devices can be manually selected.
Configuration -> Device Catalog -> Device Management
You can make the following changes to multiple devices at once using this interface:
-
Load Device Meta Tags
-
Set Device Category
-
Set Device Priority
-
Move Device to Zone
-
Set Device Shard
-
Mark Device For SNMP Rediscovery
-
Unmanage Device
-
Force Device Delete
Device Type Categories
Device Type Categories is a standard configuration interface for adding, editing, and removing device type categories from Unified Assurance. A device type category is used when creating device types, and will be assigned to a device during SNMP discovery or by setting a static category on a device. When viewing the device list, the image assigned to the category will be displayed.
Configuration -> Device Catalog -> Device Type Categories
Device Types
Device Types is a standard configuration interface for adding, editing, and removing the different device types that can be associated with discovered devices. Some example device types include firewalls, switches, and routers.
Configuration -> Device Catalog -> Device Types
It is best practice to routinely verify that all devices discovered in Unified Assurance have a valid device type. This will help in device categorization and maintenance.
Maintenance Windows
Maintenance Windows is a standard configuration interface to configure device-based maintenance windows. Specifying maintenance windows allows for special rules processing for events during the window, but this functionality needs to be enabled in the rules for the application.
Configuration -> Device Catalog -> Maintenance Windows
Maintenance Window processing is available but may need to be enabled in the base.load rules files for different applications. See Enabling Maintenance Windows in Event Rules for additional information.
Meta Types
The Meta Types UI is used for adding, editing and removing metatypes. Device metatype tagging is the concept of associating additional device information to a set of devices. The metatypes can be associated manually or dynamically with rules. Tagging devices with metatypes also provides for device-based enrichment such as Event correlation, as well as special polling of devices.
Configuration -> Device Catalog -> Meta Types
Unified Assurance uses device-based meta tags in several ways including the following:
-
Event Navigation: Making operators view basket-of-technology or application-based dynamic event lists.
-
Event Enrichment: Utilizing the device-based data to enrich events on the fly.
-
Automatic Configuration: Allowing Unified Assurance components to automatically configure themselves based upon metadata.
Note:
Meta Tags can be added using either the Manage Devices (single device at a time) or Device Management (multiple devices at a time) interfaces.
Vendors
The Vendors interface is used for adding, editing and removing Vendors/Manufacturers from the Unified Assurance system. Vendors can be used for grouping device types.
Configuration -> Device Catalog -> Vendors