Aller au contenu principal

Quadstor NSClient++ NRPE

Hello community! We're looking for a contributor to help us to translate the content in french and provide a sample execution command. If it's you, let us know by offering a PR or pinging us on slack

Overview

The Plugin Pack Quadstor works with the Centreon NSClient++ monitoring agent to check Quadstor virtual tape library (VTL).

Pack assets

Monitored objects

  • Quadstor VTL:
    • Disks
    • Jobs
    • Tapes

Collected metrics

Coming soon

Prerequisites

NRPE Server

On RPM-Based distribution, you can use the centreon-nrpe3-daemon package deploying a preconfigured version of the NRPE Server.

Most of the Linux distributions provide a NRPE package you can deploy using the system package default manager. When using these, it's important to modify following directives in the config files:

  • allowed_hosts
[...]
# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames
# that are allowed to talk to the NRPE daemon. Network addresses with a bit mask
# (i.e. 192.168.1.0/24) are also supported. Hostname wildcards are not currently
# supported.
allowed_hosts=X.X.X.X,X.Y.Z.V
[...]
  • dont_blame_nrpe
[...]
# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames
# that are allowed to talk to the NRPE daemon. Network addresses with a bit mask
# (i.e. 192.168.1.0/24) are also supported. Hostname wildcards are not currently
# supported.
dont_blame_nrpe=1
[...]

Important note: the NASTY_METACHARS parameter should be left as its default value. Modifying it might open serious security hole and RCE exploitation from an attacker.

Installation

  1. Install the Centreon NRPE Client package on every poller expected to monitor Quadstor:
yum install centreon-nrpe3-plugin
  1. On the Centreon Web interface, install the Centreon Pack Quadstor from the Configuration > Plugin Packs > Manager page

Host configuration

  • Log into Centreon and add a new Host through Configuration > Hosts.
  • Apply the App-Quadstor-NRPE-custom template and configure all the mandatory Macros:
MandatoryNameDescription
XNRPECLIENTNRPE Plugin binary to use (Default: 'check_centreon_nrpe')
XNRPEPORTNRPE Port of the target server (Default: '5666')
XNRPETIMEOUTTimeout value (Default: '30')
XNRPEEXTRAOPTIONSExtraoptions to use with the NRPE binary (default: '-u -m 8192')