Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Couchbase Database discovery

The ServiceNow Discovery application uses the Couchbase Instance discovery pattern to find and map Couchbase Database instances and their clusters. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

Couchbase Database is an open source, distributed database that manages JSON documents. One or more instances of a Couchbase Server constitute a cluster. Data and services are shared across the cluster.

Discovery uses the Couchbase Instance discovery pattern to run horizontal and top-down discovery. You can use this pattern on the ServiceNow AI Platform® using the Quebec release or later.

Request apps on the Store

Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

Prerequisites

  • The Couchbase Database must be installed on a Linux Server: Red Hat 7.9 or Ubuntu 20.
  • Ensure that CLI tools are installed on the servers.
  • On the ServiceNow AI Platform, configure SSH credentials. Configure the credentials with the following permissions:
    • Discovery permissions
    • Permissions to list files, such as VERSION.txt, in the Couchbase installation folders on the Linux Server.
    • Permissions to execute the command, systemctl status couchbase-server, on the Linux Server.

On the ServiceNow AI Platform, configure applicative credentials for the table cmdb_ci_couchbase_instance. The credentials must have sufficient permissions to execute the following commands on the Couchbase Server:

  • <couchbase install dir>/bin/curl -u <username>:'<password>' http://"<couchbase server>:<access_port>/pools/
  • <couchbase install dir>/bin/curl -u <username>:'<password>' http://"<couchbase server>:<access_port>/pools/<default Pool name>
  • <couchbase install dir>/bin/curl -u <username>:'<password>' http://"<couchbase server>:<access_port>/pools/<default Pool name>/buckets
  • <couchbase install dir>/bin/curl -u <username>:'<password>' http://"<couchbase server>:<access_port>/pools/<default Pool name>/remoteClusters

Data collected by Discovery during horizontal discovery

The discovered data includes the following tables and fields.

Table and fieldDescription
Main CI (Couchbase Instance) [cmdb_ci_couchbase_instance]
nameThe name of the Couchbase instance.
install_directoryThe installation folder or directory of the Couchbase instance.
config_fileThe main configuration file of the Couchbase instance.
versionThe version of the Couchbase instance.
tcp_portThe port used for command line and Rest API access.
editionEither the Basic or Enterprise edition of the Couchbase instance.
start_dateThe date from which the Couchbase instance has been active.
Couchbase Cluster [cmdb_ci_couchbase_cluster]
nameThe name of the Couchbase cluster.
cluster_idThe ID of the Couchbase cluster.
install_statusThe installed status, set to "1"/"installed".
cluster_typeThe operational status, set to "1"/"operational".
Couchbase Cluster Node [cmdb_ci_couchbase_cluster_node]
nameThe name of the Cluster node.
install_statusThe installed status, set to "1"/"installed".
operational_statusThe operational status, set to "1"/"operational".
node_statusThe Cluster node health status.
node_encryptionField that indicates whether the node is encrypted.
configured_host_nameThe configured host name of the Cluster node.
host_nameThe actual host name of the Cluster node.
total_memoryThe total memory.
free_memoryThe free memory.
mcd_reserved_memoryThe reserved MCD memory.
mcd_allocated_memoryThe allocated MCD memory.
couch_api_baseThe Couchbase base API URL.
couch_api_base_httpsThe Couchbase HTTPS API URL.
recovery_typeThe recovery type.
otpnodeThe OTP node.
node_uuidThe UUID of the Cluster node.
cluster_compatibilityThe cluster compatibility of the Cluster node.
versionThe version of the Cluster node.
osThe OS of the Cluster node.
cpu_countThe CPU count of the Cluster node.
editionThe Cluster node edition. The edition is the same as that of the Couchbase instance.
Couchbase Bucket [cmdb_ci_couchbase_bucket]
nameThe name of Couchbase bucket.
clusterReference to the Couchbase cluster.
install_statusThe installed status, set to "1"/"installed".
Couchbase Cluster Resource [cmdb_ci_couchbase_cluster_resource]
nameThe name of the Couchbase service.
install_statusThe installed status, set to "1"/"installed".
operational_statusThe operational status, set to "1"/"operational".
clusterReference to the Couchbase cluster.

CI relationships

These relationships are created to support Couchbase DB discovery.

CIRelationshipCI
Couchbase Instance \[cmdb\_ci\_couchbase\_instance\]Runs on::Runs ReferenceLinux Server \[cmdb\_ci\_linux\_server\]
Couchbase Cluster Node \[cmdb\_ci\_couchbase\_cluster\_node\]Cluster of::Cluster ReferenceCouchbase Cluster \[cmdb\_ci\_couchbase\_cluster\]
Couchbase Cluster Node \[cmdb\_ci\_couchbase\_cluster\_node\]Hosted on::Hosts ReferenceLinux Server \[cmdb\_ci\_linux\_server\]
Couchbase Bucket \[cmdb\_ci\_couchbase\_bucket\]Uses::Used by ReferenceCouchbase Instance \[cmdb\_ci\_couchbase\_instance\]
Couchbase Bucket \[cmdb\_ci\_couchbase\_bucket\]Hosted on::Hosts ReferenceCouchbase Cluster \[cmdb\_ci\_couchbase\_cluster\]
Couchbase Cluster \[cmdb\_ci\_couchbase\_cluster\]Replicates to::Replicated byCouchbase Cluster \[cmdb\_ci\_couchbase\_cluster\]

CMDB data model

Image omitted: couchbase-db-discovery-model.png
Couchbase DB discovery CMDB data model.

Parent Topic:Available on-premise discovery patterns