GatherConfigurations

Overview

The Unified Assurance 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 Unified Assurance 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.

Gather Configurations Agent Setup

  1. Using the Profiles UI, create a new profile or modify an existing one with the required login information and other settings:

    Configuration -> Device Configuration -> Profiles

  2. Using the Actions UI, create a new set of actions or modify an existing one with the commands needed to gather relevant information:

    Configuration -> Device Configuration -> Actions

  3. Collections need to be pre-configured for this application to be able to function. Collections can be configured by using the following:

    1. Using the "Configuration Discovery" application (Topology Configuration Discovery).

    2. Manually using the Collections UI.

      Configuration -> Device Configuration -> Collections

  4. Enable the default Job, unless a specific configuration option is needed.

    Configuration -> Broker Control -> Jobs

Default Scheduled Job

Field Value
Package Name coreCollection-app
Job Name Config Gatherer
Job Program bin/core/collection/GatherConfigurations
Job Arguments
Job Description Gather Configuration from servers, routers and switches. Specific device can be specified as a on-demand argument: --DeviceID=N
Failover Type Standalone (Supported: Standalone, Primary/Backup)
Status Disabled
Privileged (Checked)
Minutes 59
Hours *
Days *
Months *
WeekDays *

Default Configuration

Name Value Possible Values Notes
LogFile logs/ConfigGatherConfigurations.log Text, 255 characters Relative path to Log File.
LogLevel ERROR OFF, FATAL, ERROR, WARN, INFO, DEBUG Logging level used by application.
Threads 3 Integer The number of process threads created.
Buffer 16 Integer Optional - Maximum Telnet result buffer in MB.
SocketTimeout 30 Integer Optional - Connection timeout.
DeviceGroupID Integer Optional - This entry is used to get a more specific list of devices to gather their configurations.
DeviceZoneID Integer Optional - This entry is used to get a more specific list of devices to gather their configurations.
PollByIP Enabled Enabled/Disabled Optional - If enabled, the device IP address will be used to connect to the device instead of the device DNS name.
PreferIPv4 Enabled Enabled/Disabled Optional - Controls whether or not to prefer IPv4 transport to communicate with Devices. This option is only considered if both IPv4 and IPv6 are available for a device. If this config is missing, IPv6 will be preferred.

Supported Notification Tokens

Keyword Template Types Template Fields Description
$DATE_TEXT Email, Syslog, Trap Email, Syslog, Varbind (#) Value Long date.
$DEVICEID Email, Syslog, Trap Email, Syslog, Varbind (#) Value Device ID being collected for configuration.
$DNS Email, Syslog, Trap Email, Syslog, Varbind (#) Value DNSName of device being collected for configuration.
$IP Email, Syslog, Trap Email, Syslog, Varbind (#) Value IP (either IPv4 or IPv6) of device being collected for configuration. If device has both IPv4 and IPv6, this variable will be IPv6 unless PreferIPv4 is enabled.
$PROFILEID Email, Syslog, Trap Email, Syslog, Varbind (#) Value Topology Configuration Profile ID.
$ACTIONID Email, Syslog, Trap Email, Syslog, Varbind (#) Value Topology Configuration Action ID.
$MESSAGE Email, Syslog, Trap Email, Syslog, Varbind (#) Value Configuration Profile Message.
$FILENAME Email, Syslog, Trap Email, Syslog, Varbind (#) Value Configuration filename.
$FILEOUTPUT Email, Syslog, Trap Email, Syslog, Varbind (#) Value Latest configuration file contents.

Best Practices

Administration Details

The following list shows the technical details you will need for advanced administration of the application: