Skip to main content

Installing Inventory

Prerequisites

The following files are required for installation:

  • Archive with sm-inventory module files for OpenSearch
  • Archive with smartMonitorInventory module files for OpenSearch Dashboards
  • Executable file moduleInventory for the Inventory Processor

Installation Process

Installation on OpenSearch servers is performed using the following command:

sudo -u opensearch $OPENSEARCH_HOME/bin/opensearch-plugin install file://<path to module archive>

Installation on OpenSearch Dashboards servers is performed using the following command:

sudo -u opensearch $OPENSEARCH_DASHBOARDS_HOME/bin/opensearch-dashboards-plugin install file://<path to module archive>

Installation and configuration of the Inventory Processor is described in the Configuration Process section of the Inventory Processor Configuration article.

Adding a Section to the Navigation Menu

To add the module component to the menu, navigate to Settings - Management - Navigation - JSON. Add the JSON dictionary below to the data list.

Inventory Menu
{
"itemType": "module",
"name": "inventory",
"show": false,
"id": "39afa001-b528-4488-bd55-58b09c0bded9",
"title": "Inventory",
"sections": [
{
"itemType": "page",
"name": "inventory-configs",
"show": true,
"id": "f8518eba-cdf9-4341-bd14-51644f09c620",
"title": "Assets",
"enabled": true
}
],
"enabled": true
}