This
Use the following menu options to navigate the SL1 user interface:
- To view a pop-out list of menu options, click the menu icon ().
- To view a page containing all of the menu options, click the Advanced menu icon ().
Creating a Credential
To use the run book actions in the "Datacenter Advanced Enrichment Actions" PowerPack to collect data from a device, you must create an SSH credential that includes the username and password for that device.
The run book actions in the PowerPack do not support SSH key-based authentication or non-standard SSH ports. You must use the Basic/Snippet credential type when creating credentials for the PowerPack.
To create a credential:
- Go to the Credentials page (Manage > Credentials).
- Click Create Basic/Snippet credential. The Create Credential page appears. and select
- Supply values in the following fields:
- Name. Name of the credential. Can be any combination of alphanumeric characters, up to 64 characters. This field is required.
- All Organizations. Toggle on (blue) to align the credential to all organizations, or toggle off (gray) and then select one or more specific organizations from the What organization manages this service? drop-down field to align the credential with those specific organizations. This field is required.
- Timeout (ms). Time, in milliseconds, after which SL1 will stop trying to communicate with the device from which you want to retrieve data.
- Username. Username for a user that can log in to the device using SSH and execute diagnostic commands.
- Password. Password for the user you entered in the Username field.
- Hostname/IP. Hostname or IP address of the device from which you want to retrieve data. Enter "%D" in this field.
- Port. To use SSH to connect to the device, enter "22" in this field.
- Click .
Aligning Credentials to Devices
The "Datacenter Advanced Enrichment Actions" PowerPack includes the "Automation Remote Login" Dynamic Application. When the "Enrichment: Util: Collect Enrichment Data" action executes, it uses the credential associated with the "Automation Remote Login" Dynamic Application for the device associated with the triggering event. The following sections describe how to align the "Automation Remote Login" Dynamic Application to devices using the credentials that you created.
For run book actions that are designed to trigger for events associated with component devices, such as the run book actions for Cisco UCS components, you will need to do the configuration on the root device. The "Automation Remote Login" Dynamic Application does not need to be associated with the component device or devices.
During discovery, you might see a significant number of connections made to network devices, as all Dynamic Applications that accept the Basic/Snippet credential type are tested against the specified devices. This might include testing Dynamic Application types that are not appropriate for network devices. Consider aligning Dynamic Applications and credentials using a device template. For more information, see Aligning a Credential Using a Device Template.
Aligning a Credential Manually to a Device
To manually align the "Automation Remote Login" Dynamic Application and credential to a device:
- Go to the Devices page () and select a device. The Device Investigator page appears.
- Click the Dynamic Application Collections page appears. tab. The
- Click Align Dynamic Application modal appears. and then click . The
- Click Choose Dynamic Application. The Choose Dynamic Application window appears.
- Search for "Automation Remote Login" and select Automation Remote Login from the list of Dynamic Applications.
- Click Align Dynamic Application window. . The name of the Dynamic Application appears in the
- Uncheck the box next to Use Device SNMP Credential and click Choose Credential. The Choose Credential window appears.
- Search for the credential you created in the previous step and select it from the list of credentials.
- Click Align Dynamic Application window. . The name of the selected credential appears in the
- Click . When the Dynamic Application is successfully aligned, it is added to the tab, and a confirmation message appears at the bottom of the tab.
Aligning a Credential Using a Device Template
You can use a device template to align the "Automation Remote Login" Dynamic Application with a specified credential during discovery. This is useful when you want to limit the tests against certain devices, such as network devices, during discovery.
To align the "Automation Remote Login" Dynamic Application and credential using a device template:
-
Create the credential you want to align to the devices. In this example, we will create a Cisco IOS credential.
You will do this for each credential you want to apply for the Dynamic Application.
-
Go to the Credentials page (Manage > Credentials).
-
Click Create Basic/Snippet credential. The Create Credential page appears.
and select -
Supply values in the following fields:
- Name. Name of the credential. Can be any combination of alphanumeric characters, up to 64 characters. This field is required.
- All Organizations. Toggle on (blue) to align the credential to all organizations, or toggle off (gray) and then select one or more specific organizations from the What organization manages this service? drop-down field to align the credential with those specific organizations. This field is required.
- Timeout (ms). Time, in milliseconds, after which SL1 will stop trying to communicate with the device from which you want to retrieve data.
- Username. Username for a user that can log in to the device using SSH and execute diagnostic commands.
- Password. Password for the user you entered in the Username field.
- Hostname/IP. Hostname or IP address of the device from which you want to retrieve data. Enter "%D" in this field.
- Port. To use SSH to connect to the device, enter "22" in this field.
-
Click
. - Create a device template that aligns the "Automation Remote Login" Dynamic Application, which includes the new credential.
- Go to the Configuration Templates page (Devices > Templates).
- Click Device Template Editor opens. . The
- Enter a Template Name in the field provided.
- Click the Dyn Apps tab.
- In the "Subtemplate Selections" pane, click Add New Dynamic App Sub-Template.
- Select "Automation Remote Login" as the Dynamic Application.
- Select the Credential you created in the previous step. Continuing our example, we will select "Cisco IOS".
- Click .
- Specify the device template for discovery.
- Create a discovery session by clicking Discovery Sessions (Devices > Discovery Sessions). , or edit an existing discovery session on the
- In the Advanced Options section at the end of the wizard, select the device template that you just created in the Select Device Template drop-down.
- Click .
Aligning Credentials Automatically During Discovery
The "Automation Remote Login" Dynamic Application includes a discovery object that you can use to automatically align the Dynamic Application to devices during discovery. To configure a discovery session to automatically align the "Automation Remote Login" Dynamic Application, select the credential you created in the previous section in the Other Credentials field in the Discovery Session Editor.