Create SSH Metric Plugin
Overview
Creating an SSH Metric Plugin in Motadata AIOps enables you to define custom metrics for monitoring purposes using the SSH protocol. This allows you to retrieve data from remote monitors securely, expanding your monitoring capabilities to include a wider range of systems.
Navigation
Go to Menu, Select Settings . After that, Go to Plugin Library . Select Metric. The Metric Plugin screen is displayed.
Select to create a metric plugin. The screen to create HTTP/HTTPS is selected by default. Select SSH to create a SSH Metric Plugin.
SSH Metric Plugin Fields
When creating an SSH Metric Plugin, you'll need to complete the following fields:
Field | Description |
---|---|
Metric Name | Name of the metric you're defining. |
Type | Type of monitor for which you're creating the plugin. |
Monitor/Group | Choose whether you want to assign the plugin to a specific monitor or a group of monitors. The Plugin will be tested against the monitors selected here when you click on the Test button. |
Monitors/Groups | Select the specific monitor(s)/group(s) to which you want to assign the plugin. |
Credential Profile | Select the credential profile to access the selected monitors. |
Port | Specify the SSH Port. |
SSH Script | Write the SSH script in this window. |
Script Language | Choose the language for writing the parsing script (GO or Python). |
Parsing Script | Write the script here to parse the retrieved data. |
Add Variable | Add any variables needed in the parsing script. |
Once you've filled in these fields, you'll be able to define custom metrics using the SSH Metric Plugin.
Select Create Metric to create the metric plugin based on the configurations specified.
Select Test to test the script against the monitors selected.
Select Reset to erase all the current field values, if required.