Configuration and Discovery

Download this manual as a PDF file

The following sections describe how to configure Couchbase servers for monitoring by SL1 using the "CouchBasePowerPack:

Prerequisites for Monitoring Couchbase

To configure SL1 to monitor Couchbase servers and component devices using the "CouchBasePowerPack, you must have the login credentials for a user with administrative access to the Couchbase server.

Creating a Couchbase Credential

To configure SL1 to monitor a Couchbase system, you must first create a SOAP/XML credential. This credential allows the Dynamic Applications in the "CouchBasePowerPack to communicate with your Couchbase system.

The PowerPack includes an example SOAP/XML credential that you can edit and save for your own use.

To create a SOAP/XML credential:

  1. Go to the Credentials page (Manage > Credentials).
  2. Locate the "Couchbase Sample Credential", then click its Actions icon () and select Duplicate from the drop-down field. The "Couchbase Sample Credential copy" credential appears.
  3. Click the Action icon () for the "Couchbase Sample Credential copy" credential, then select Edit. The Edit Credential page appears.
  4. Edit the Couchbase SOAP/XML credential

  5. Enter values in the following fields:
  • Name. Enter a new name for the credential. 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 Select the organizations the credential belongs to drop-down field to align the credential with those specific organizations.
  • Timeout. Enter the time, in milliseconds, after which SL1 will stop trying to communicate with the Couchbase device. The default value is 20000. This field is required.
  • URL. Keep the default url. The default url is https://192.168.1.1:8091.
  • HTTP Auth User. Enter the Couchbase username associated with the administrator account.
  • HTTP Auth Password. Enter the password associated with the Couchbase administrator account.
  • Embedded Password [%P]. Enter the embedded password associated with the Couchbase administrator account.
  • Embed Value [%1]. Keep the default.
  1. Click Save & Close.

Creating a Couchbase Credential in the SL1 Classic User Interface

To use the Dynamic Applications in the "CouchBasePowerPack, you must first define a credential in SL1. This credential enables the Dynamic Applications in the "CouchBasePowerPack to monitor your Couchbase component devices. The PowerPack includes a sample SOAP/XML credential (Couchbase Sample Credential) that you can use as a template.

To define a Couchbase credential:

  1. Go to the Credential Management page (System > Manage > Credentials).

  1. Click the wrench icon () for the Couchbase Sample Credential. The Credential Editor modal page appears:

  1. Enter values in the following fields:
  • Profile Name. Type a new name for your Couchbase credential.

  • URL. Type the IP address of the Couchbase system.
  • In the URL field, the %D variable is not supported, and the IP address or hostname of the server must be in this field.

  • HTTP Auth User. Type the username for a user with administrative access to the Couchbase server.
  • HTTP Auth Password. Type the Couchbase administrator user's password.

Use the default values for the remaining fields.

  1. Click the Save As button, and then click OK.

Discovering Couchbase Devices

To monitor your Couchbase system, you must run a discovery session to discover the server on which Couchbase is installed.

To create and run a discovery session that will discover a Couchbase appliance:

  1. Go to the Devices page () or the Discovery Sessions page (Devices > Discovery Sessions) and click the Add Devices button.
  2. Click the Unguided Network Discovery Workflow button. Additional information about that requirements for discovery appears in the General Information pane to the right.
  3. RabbitMQ Unguided Network Discovery Workflow

  4. Click Select. The three-step wizard appears starting with the Step 1 Basic Information tab.
  5. Complete the following fields:
  • Discovery Session Name. Type a unique name for this discovery session. This name is displayed in the list of discovery sessions on the Discovery Sessions tab.
  • Description.Optional. Type a short description of the discovery session. You can use the text in this description to search for the discovery session on the Discovery Sessions tab.
  • Select the organization to add discovered devices to. Select the name of the organization to which you want to add the discovered devices.
  1. Click Next. The Step 2 Credential Selection tab of the wizard appears.
  2. On the Credential Selection tab, locate and select the SOAP/XML credential you created for Couchbase appliances.
  3. Click Next. The Step 3 Discovery Session Details tab of the wizard appears.
  4. Complete the following fields:
  • List of IP/Hostnames. Type the IP address for the Couchbase appliance.
  • Which collector will discover these devices?. Required. Select an existing collector to monitor the discovered devices.
  • Run after save. Toggle on (blue) to run this discovery session as soon as you save the session.
  • Advanced options. Click the down arrow () to complete the following fields:
    • Discover Non-SNMP. Toggle on (blue) to enable this setting.
    • Model Devices. Toggle on (blue) to enable this setting.
    • Select Device Template. If you configured a Couchbase device template, select it here. Otherwise, leave the default selection.
  1. If you enabled the Run after save option, click the Save and Run button. The discovery session will run and the Discovery Logs page will display any relevant log messages. If the discovery session locates and adds any devices, the Discovery Logs page will include a link to the Device Investigator page for the discovered device.
  2. If you did not enable the Run after save option, click the Save and Close button. The Discovery Sessions page (Devices > Discovery Sessions) will display the new discovery session.

Discovering Couchbase Devices in the SL1 Classic User Interface

To discover Couchbase devices in the SL1 classic user interface, you must create and run a discovery session that will discover the Couchbase server. You must then manually align the "Couchbase: Pool Discovery" Dynamic Application to the Couchbase server device.

Before aligning the "Couchbase: Pool Discovery" Dynamic Application, you must first align the "Couchbase: Component Count" Dynamic Application. If the number of components is reasonable, then you can proceed to align the "Couchbase: Pool Discovery" Dynamic Application.

To discover Couchbase devices in the classic user interface:

  1. Go to the Discovery Control Panel page (System > Manage > Classic Discovery or System > Manage > Discovery in the classic user interface).
  2. Click the Create button to create a new discovery session. The Discovery Session Editor window appears:
  3. Edit the following fields in the Discovery Session Editor window:
  • Name. Type a name for the discovery session.
  • IP Address/Hostname Discovery List. Type the IP address for the Couchbase server.
  • Other Credentials. Select the SOAP/XML credential you created for Couchbase.
  • Discover Non-SNMP. Select this checkbox.
  1. Optionally, you can enter values in the other fields on this page. For more information about the other fields on this page, see the Discovery & Credentials section.
  2. Click the Save button and then close the Discovery Session Editor window.
  3. The discovery session you created appears at the top of the Discovery Control Panel page. Click its lightning-bolt icon () to run the discovery session.
  4. The Discovery Session window appears. When Couchbase is discovered, click its device icon () to view the Device Properties page for the Couchbase server.
  5. From the Device Properties page, click the Collections tab. The Dynamic Application Collections page appears.
  6. On the Dynamic Application Collections page, click the Actions button and then select Add Dynamic Application. The Dynamic Application Alignment pane appears.
  7. In the Dynamic Applications field, select Couchbase: Pool Discovery.
  8. In the Credentials field, select the SOAP/XML credential you created for Couchbase.
  9. Click Save. The Dynamic Application appears on the Dynamic Application Collections page.
  10. To run the "Couchbase: Pool Discovery" Dynamic Application immediately, click its lightning bolt icon ().

Viewing Couchbase Component Devices

In addition to the Device Manager page (Devices > Classic Devices, or Registry > Devices > Device Manager in the classic SL1 user interface), you can view Couchbase component devices in the following places in the user interface:

  • The Device View modal page displays a map of a particular device and all of the devices with which it has parent-child relationships. Double-clicking any of the devices listed reloads the page to make the selected device the primary device.

  • The Device Components page (Devices > Device Components) displays a list of all root devices and component devices discovered by SL1 in an indented view, so you can easily view the hierarchy and relationships between child devices, parent devices, and root devices. To view the component devices associated with Couchbase, find the Couchbase device and click its plus icon (+).

  • The Component Map page (Classic Maps > Device Maps > Components) allows you to view devices by root node and view the relationships between root nodes, parent components, and child components in a map. This makes it easy to visualize and manage root nodes and their components. SL1 automatically updates the Component Map as new component devices are discovered. The platform also updates each map with the latest status and event information. To view the map for Couchbase, go to the Component Map page and select the map from the list in the left NavBar. To learn more about the Component Map page, see the section on Views.