Checking Installed Modules and Plugins
This article describes plugin checks only. For installation and removal instructions, see Plugin Management.
Checks Through the Web Interface
Smart Monitor Web Frontend Plugins
Open the Smart Monitor Web home page. The module version information displays installed frontend modules and their versions. Compare them with the supplied components or the requirements for the installed Smart Monitor version.
Smart Monitor Data Storage Backend Plugins
Open Main Menu - Settings - Dev Tools and run the following request:
GET _cat/plugins?v&h=name,component,version
The response contains the following fields:
| Field | Description |
|---|---|
name | name of the node where the plugin is installed |
component | backend plugin name |
version | plugin version |
Use this request to check the nodes where backend plugins are installed and whether their versions match.
Plugins in the Terminal
Smart Monitor Data Storage Backend Plugins
To list backend plugins on the current node, run the command as the system user under which the Smart Monitor Data Storage service runs. Replace <SERVICE_USER> with that user's name:
sudo -u <SERVICE_USER> $OS_HOME/bin/opensearch-plugin list
To enable more verbose output from the utility, add the --verbose flag:
sudo -u <SERVICE_USER> $OS_HOME/bin/opensearch-plugin list --verbose
The --verbose flag does not add plugin version numbers to the local list. To view plugins, the nodes where they are installed, and their versions, use the CAT API request:
curl -k -u <USER> "https://$OS_IP:9200/_cat/plugins?v&h=name,component,version"
After running the command, enter the password for the <USER> account.
Smart Monitor Web Frontend Plugins
For an additional check, connect to the Smart Monitor Web server and run the following command as the opensearch user:
sudo -u opensearch $OSD_HOME/bin/opensearch-dashboards-plugin list
If you run the command as the root user, add the --allow-root flag:
$OSD_HOME/bin/opensearch-dashboards-plugin list --allow-root
Plugin Version
To view a frontend plugin version, replace <PLUGIN_NAME> with its name and run:
grep -m 1 '"version"' "$OSD_HOME/plugins/<PLUGIN_NAME>/opensearch_dashboards.json"