EMC RecoveryPoint SSH
Connector dependencies​
The following monitoring connectors will be installed when you install the EMC RecoveryPoint connector through the Configuration > Connectors > Monitoring Connectors menu:
Pack assets​
Templates​
The Monitoring Connector EMC RecoveryPoint brings a host template:
- App-Backup-EMC-RecoveryPoint-SSH-custom
The connector brings the following service templates (sorted by the host template they are attached to):
- App-Backup-EMC-RecoveryPoint-SSH-custom
| Service Alias | Service Template | Service Description |
|---|---|---|
| Monitored-Parameters | App-Backup-EMC-RecoveryPoint-Monitored-Parameters-SSH-custom | Check monitored parameters by EMC RecoveryPoint appliance |
| System-Status | App-Backup-EMC-RecoveryPoint-System-Status-SSH-custom | Check system status of EMC RecoveryPoint appliance |
The services listed above are created automatically when the App-Backup-EMC-RecoveryPoint-SSH-custom host template is used.
Collected metrics & status​
Here is the list of services for this connector, detailing all metrics and statuses linked to each service.
- Monitored-Parameters
- System-Status
| Name | Unit |
|---|---|
| problems | N/A |
| Name | Unit |
|---|---|
| problems | N/A |
Prerequisites​
SSH configuration​
A user is required to query the resource by SSH. There is no need for root or sudo privileges. There are two possible ways to log in through SSH, either by exchanging the SSH key from centreon-engine user to the target resource, or by setting your unique user and password directly in the host macros.
Installing the monitoring connector​
Pack​
The installation procedures for monitoring connectors are slightly different depending on whether your license is offline or online.
- If the platform uses an online license, you can skip the package installation instruction below as it is not required to have the connector displayed within the Configuration > Connectors > Monitoring Connectors menu. If the platform uses an offline license, install the package on the central server with the command corresponding to the operating system's package manager:
- Alma / RHEL / Oracle Linux 8
- Alma / RHEL / Oracle Linux 9
- Debian 11 & 12
- CentOS 7
dnf install centreon-pack-applications-backup-emc-recoverypoint-ssh
dnf install centreon-pack-applications-backup-emc-recoverypoint-ssh
apt install centreon-pack-applications-backup-emc-recoverypoint-ssh
yum install centreon-pack-applications-backup-emc-recoverypoint-ssh
- Whatever the license type (online or offline), install the EMC RecoveryPoint connector through the Configuration > Connectors > Monitoring Connectors menu.
Plugin​
Since Centreon 22.04, you can benefit from the 'Automatic plugin installation' feature. When this feature is enabled, you can skip the installation part below.
You still have to manually install the plugin on the poller(s) when:
- Automatic plugin installation is turned off
- You want to run a discovery job from a poller that doesn't monitor any resource of this kind yet
More information in the Installing the plugin section.
Use the commands below according to your operating system's package manager:
- Alma / RHEL / Oracle Linux 8
- Alma / RHEL / Oracle Linux 9
- Debian 11 & 12
- CentOS 7
dnf install centreon-plugin-Applications-Backup-Emc-Recoverypoint-Ssh
dnf install centreon-plugin-Applications-Backup-Emc-Recoverypoint-Ssh
apt install centreon-plugin-applications-backup-emc-recoverypoint-ssh
yum install centreon-plugin-Applications-Backup-Emc-Recoverypoint-Ssh
Using the monitoring connector​
Using a host template provided by the connector​
- Log into Centreon and add a new host through Configuration > Hosts > Hosts.
- Fill in the Name, Alias & IP Address/DNS fields according to your resource's settings.
- Apply the App-Backup-EMC-RecoveryPoint-SSH-custom template to the host. A list of macros appears. Macros allow you to define how the connector will connect to the resource, and to customize the connector's behavior.
- Fill in the macros you want. Some macros are mandatory.
| Macro | Description | Default value | Mandatory |
|---|---|---|---|
| SSHUSERNAME | Define the user name to log in to the host | ||
| SSHPASSWORD | Define the password associated with the user name. Cannot be used with the C<sshcli> backend. Warning: using a password is not recommended. Use C<--ssh-priv-key> instead | ||
| SSHPORT | Define the TCP port on which SSH is listening | ||
| SSHBACKEND | Define the backend you want to use. It can be: C<sshcli> (default), C<plink> and C<libssh> | libssh | |
| SSHEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). All options are listed here. |
- Deploy the configuration. The host appears in the list of hosts, and on the Resources Status page. The command that is sent by the connector is displayed in the details panel of the host: it shows the values of the macros.
Using a service template provided by the connector​
- If you have used a host template and checked Create Services linked to the Template too, the services linked to the template have been created automatically, using the corresponding service templates. Otherwise, create manually the services you want and apply a service template to them.
- Fill in the macros you want (e.g. to change the thresholds for the alerts). Some macros are mandatory (see the table below).
- Monitored-Parameters
- System-Status
| Macro | Description | Default value | Mandatory |
|---|---|---|---|
| MINSEVERITY | Minimum severity level you want to count (default: minor). Can be 'minor', 'major' or 'critical' | minor | |
| WARNING | Warning threshold | 1 | |
| CRITICAL | Critical threshold | 5 | |
| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed here. | --verbose |
| Macro | Description | Default value | Mandatory |
|---|---|---|---|
| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed here. | --verbose |
- Deploy the configuration. The service appears in the list of services, and on the Resources Status page. The command that is sent by the connector is displayed in the details panel of the service: it shows the values of the macros.
How to check in the CLI that the configuration is OK and what are the main options for?​
Once the plugin is installed, log into your Centreon poller's CLI using the
centreon-engine user account (su - centreon-engine). Test that the connector
is able to monitor a resource using a command like this one (replace the sample values by yours):
/usr/lib/centreon/plugins/centreon_emc_recoverypoint.pl \
--plugin=storage::emc::recoverypoint::ssh::plugin \
--mode=system-status \
--hostname='10.0.0.1' \
--ssh-backend='libssh' \
--ssh-username='' \
--ssh-password='' \
--ssh-port='' \
--verbose
The expected command output is shown below:
OK: System OK, Clusters OK, WANs OK, Groups OK.
Troubleshooting​
Please find the troubleshooting documentation for Centreon Plugins typical issues.
Available modes​
In most cases, a mode corresponds to a service template. The mode appears in the execution command for the connector. In the Centreon interface, you don't need to specify a mode explicitly: its use is implied when you apply a service template. However, you will need to specify the correct mode for the template if you want to test the execution command for the connector in your terminal.
All available modes can be displayed by adding the --list-mode parameter to
the command:
/usr/lib/centreon/plugins/centreon_emc_recoverypoint.pl \
--plugin=storage::emc::recoverypoint::ssh::plugin \
--list-mode
The plugin brings the following modes:
| Mode | Linked service template |
|---|---|
| monitored-parameters [code] | App-Backup-EMC-RecoveryPoint-Monitored-Parameters-SSH-custom |
| system-status [code] | App-Backup-EMC-RecoveryPoint-System-Status-SSH-custom |
Available options​
Modes options​
All available options for each service template are listed below:
- Monitored-Parameters
| Option | Description |
|---|---|
| --min-severity | Minimum severity level you want to count (default: minor). Can be 'minor', 'major' or 'critical'. |
| --warning | Warning threshold. |
| --critical | Critical threshold. |
All available options for a given mode can be displayed by adding the
--help parameter to the command:
/usr/lib/centreon/plugins/centreon_emc_recoverypoint.pl \
--plugin=storage::emc::recoverypoint::ssh::plugin \
--mode=system-status \
--help