Centreon documentation

Centreon documentation

  • Documentation

›Storage

Getting Started

  • Installation & premier pas
  • Tutoriels

    • Introduction
    • Créer une vue personnalisée
    • Créer une vue graphique
    • Modéliser un service IT
    • Analyser la disponibilité des ressources

Installation

  • Introduction
  • Prérequis
  • Architectures possibles
  • Téléchargements
  • Installer un serveur central

    • A partir de l'ISO Centreon
    • A partir des paquets
    • A partir d'une VM
    • A partir des sources
  • Installation Web
  • Installer un collecteur

    • A partir de l'ISO Centreon
    • A partir des paquets

    Installer un Remote Sever

    • A partir de l'ISO Centreon
    • A partir des paquets
  • Qu'est-ce que Centreon CEIP?

Sécurisez votre plate-forme

  • Sécurisez votre plateforme
  • Secure your MAP platform

Supervision

  • À propos de la surveillance
  • Actions génériques
  • Objets de Base

    • Les macros
    • Les commandes
    • Les périodes temporelles
    • Les contacts
    • Les hôtes
    • Les services
    • Les méta-services
  • Les modèles d'objets
  • Les Plugin Packs
  • Serveurs de Supervision

    • Ajouter un Poller à la configuration
    • Ajouter un Remote Server à la configuration
    • Communications
    • Attachez le collecteur à un nouveau serveur
    • Déployer une configuration
    • Configuration avancée
  • Groupes et Catégories
  • Supervision Passive

    • Activer les Traps SNMP
    • Définition des Traps SNMP
    • Monitoring SNMP Traps
    • Déboguer la gestion des traps SNMP
    • Dynamic Service Management
  • Détection d'anomalies
  • Découverte

    • Introduction
    • Installation
    • Découverte des hôtes
    • Découverte des services
    • Administration
  • Auto Remediation
  • Import/Export

Alertes et Notifications

  • Concepts
  • Statut des ressources
  • Consoles d'évènements
  • Gestion des alertes
  • Notification

    • Concept
    • Configuration
    • Les dépendances
    • Les escalades de notifications
    • Flapping
    • Pour aller plus loin
  • Ticketing
  • Journal des événements

Graphiques de performance

  • Gestion des graphiques
  • Modèle de graphique
  • Courbes
  • Métriques virtuelles

Service Mapping

  • Introduction à Centreon BAM
  • Guide

    • Gestion
    • Supervision
    • Reporting
    • Paramètres
    • Widgets

    Administrer

    • Installer l'extension Centreon BAM
    • Mettre à jour l'extension
    • Monter de version l'extension
    • Migrer l'extension
    • Installer sur un Remote Server

Vues Graphiques

  • Introduction to Centreon MAP
  • Guide

    • Create a standard view
    • Create a geo view
    • Display views
    • Share a view

    Administrer

    • Install Centreon MAP extension
    • Update the extension
    • Upgrade the extension
    • Migrate the extension
    • Configure
    • Install on a Remote server
    • Advanced configuration
    • Known issues
    • Troubleshooter

Reporting

  • Introduction à Centreon MBI
  • Guide

    • Générer des rapports
    • Les rapports disponibles
    • Les widgets
    • Configurer
    • Concepts
    • Dév. de rapport

    Administrer

    • Installation de Centreon MBI
    • Mise à jour de l'extension
    • Monter de version de l'extension
    • Migrer l'extension
    • Sauvegarde et restauration

Administration

    Parameters

    • Centreon UI
    • Supervision
    • Gorgone
    • LDAP
    • RRDTool
    • Debogage
    • Gestion des données
    • Medias
  • Listes de Contrôles d'Accès (ACL)
  • Extensions
  • Partitionnement des bases de données
  • Centreon HA

    • Architectures
    • Installation d'un cluster à 2 nœuds
    • Installation d'un cluster à 4 nœuds
    • Intégrer des pollers dans un cluster Centreon-HA
    • Supervision de Centreon-HA
    • Guide d'exploitation du cluster
    • Mise à jour d'une plateforme Centreon-HA
    • Upgrade from Centreon-Failover to Centreon-HA
    • Troubleshooting
  • Sauvegarde
  • Base de connaissance
  • Journalisation des modifications de configuration
  • Statistiques de la plateforme

Mettre à Jour, Monter de Version et Migrer

    Update

    • Mise à jour d'une plateforme Centreon 21.04

    Upgrade

    • Introduction à la montée de version
    • Montée de version depuis Centreon 20.10
    • Montée de version depuis Centreon 20.04
    • Montée de version depuis Centreon 19.10
    • Montée de version depuis Centreon 19.04
    • Montée de version depuis Centreon 18.10
    • Montée de version depuis Centreon 3.4

    Migrate

    • Introduction
    • Migration depuis une plateforme Centreon 20.x
    • Migration depuis une plateforme Centreon 3.4
    • Nagios Reader vers Centreon CLAPI
    • Migration d'une plate-forme avec Poller Display

Plugin Packs

  • Introduction to Plugin Packs
  • Tutoriels

    • Collecter des OpenMetrics

    Applications

    • 3CX
    • Active Directory API
    • ActiveMQ JMX
    • Alyvix Server
    • Ansible
    • Ansible Tower
    • Antivirus ClamAV
    • Apache Server
    • Asterisk VoIP Server
    • Asterisk VoIP SNMP
    • Bind9 Web
    • BlueMind SSH
    • Cassandra
    • Cisco CMS
    • Cisco ISE
    • Cisco SSMS
    • Commvault CommServe Rest API
    • DRBD SSH
    • Dynatrace Rest API
    • EMC PPMA Rest API
    • Exchange 2010 API
    • Github
    • Github
    • Google GSuite
    • Haproxy SNMP
    • Hibernate
    • IBM Tivoli Storage M
    • Microsoft DHCP SNMP
    • Microsoft IIS Server Restapi
    • Microsoft IIS Server NSClient API (Deprecated)
    • JBoss Server
    • Jenkins
    • Kafka
    • Kaspersky
    • Keepalived SNMP
    • Lync 2013
    • IP-Label Newtest Rest API
    • Maltem Insight Rest API
    • McAfee Web Gateway
    • Microsoft Cluster Se
    • Microsoft IIS Server NRPE (Deprecated)
    • Microsoft SCCM
    • Microsoft WSUS
    • MS Active Directory
    • MS Biztalk
    • Graylog
    • MS Exchange 2K10
    • BlueMind
    • Mulesoft Anypoint
    • Netbackup Rest API
    • Netdata RestAPI
    • Nginx Server
    • Nginx Plus Restapi
    • OpenHeadend
    • OpenLDAP
    • OpenMetrics
    • OpenVPN OMI
    • OpenWeatherMap
    • Oracle GoldenGate SSH
    • Oracle VM Manager API
    • Pacemaker
    • Peoplesoft
    • Pfsense Fauxapi
    • PHP APC
    • PHP FPM
    • PVX
    • Quadstor
    • RabbitMQ RestAPI
    • Rapid Recovery SNMP
    • Redis Cli
    • Redis Restapi
    • Rubrik Rest API
    • Rudder
    • Salesforce
    • SAP HANA
    • SCOM Rest API
    • Gorgone Restapi
    • Selenium
    • Sendmail
    • Skype 2015
    • Smartermail Server
    • Solr
    • Squid SNMP
    • Symantec Netbackup
    • Tomcat JMX
    • Tomcat Webmanager
    • TrendMicro Iwsva
    • Varnish NRPE
    • Veeam
    • Veeam API
    • VerneMQ Restapi
    • VMware VCSA RestAPI
    • VTOM
    • Wazuh Rest API
    • Weblogic Server
    • ZIXI
    • Zookeeper

    Centreon

    • Centreon Central
    • Centreon Database
    • Centreon-HA
    • Centreon Map
    • Centreon Map4
    • Centreon MBI
    • Centreon Poller

    Cloud

    • Amazon API Gateway
    • Amazon CloudFront
    • Amazon CloudWatch
    • Amazon CloudWatch Logs
    • Amazon EBS
    • Amazon EC2
    • Amazon ElastiCache
    • Amazon EFS
    • Amazon Kinesis
    • Amazon RDS
    • Amazon S3
    • Amazon SNS
    • Amazon SQS
    • AWS Billing
    • AWS ELB
    • AWS Health
    • AWS Lambda
    • AWS Transit Gateway
    • AWS VPN
    • Amazon SES
    • Azure App Configuration
    • Azure Automation
    • Azure App Service
    • Azure Elastic Pool
    • Azure Event Grid
    • Azure Event Hubs
    • Azure ExpressRoute
    • Azure Firewall
    • Azure Functions
    • Azure Front Door
    • Azure Key Vault
    • Azure Load Balancer
    • Azure Log Analytics
    • Azure Monitor
    • Azure Network Interface
    • Azure Public IP
    • Azure Recovery
    • Azure Resource
    • Azure ServiceBus
    • Azure SignalR
    • Azure SQL Database
    • Azure SQL Server
    • Azure Storage Account
    • Azure Virtual Machine
    • Azure Virtual Network
    • Azure VPN Gateway
    • Google CloudSQL MySQL
    • Google Compute Engine
    • Google Stackdriver
    • Google Storage
    • cAdvisor
    • Cloud Foundry
    • Docker
    • IBM Softlayer
    • Kubernetes API
    • Kubernetes w/ Prometheus
    • Office 365
    • Office365 Exchange
    • Office365 OneDrive
    • Office365 SharePoint
    • Office365 Skype
    • Office365 Teams
    • OVH
    • Prometheus Server
    • Node Exporter
    • VMware VeloCloud

    Database

    • CouchDB Rest API
    • Elasticsearch
    • Elasticsearch (Deprecated)
    • Firebird
    • InfluxDB
    • Informix DB
    • Informix DB SNMP
    • Microsoft SQL Server
    • MongoDB
    • MySQL/MariaDB
    • Oracle Database
    • PostgreSQL DB
    • RRDtool
    • Sybase
    • Warp10 Sensision

    Hardware Server

    • Adder AIM SNMP
    • AEG ACM
    • Avocent ACS 6000
    • Axis Video
    • Cisco Collaboration Endpoint Rest API
    • Cisco UCS
    • Dell CMC
    • Dell iDRAC
    • Dell OpenManage
    • Eltek eNexus
    • Fujitsu Server SNMP
    • Hanwha camera SNMP
    • Hikvision camera SNMP
    • HMS Ewon SNMP
    • Timelinkmicro Tms6001
    • HP Blade Chassis
    • HP Ilo Rest API
    • HP Ilo XMLAPI
    • HP OneView Rest API
    • HP Proliant
    • Huawei HMM
    • Huawei iBMC
    • IBM BladeCenter
    • IBM HMC SSH
    • IBM IMM
    • Lenovo XCC SNMP
    • Cisco Telepresence System SNMP
    • Masterclock NTP100GP
    • Pexip Infinity ManagementAPI
    • Polycom GroupSeries SNMP
    • Polycom Trio Rest API
    • Safenet Keysecure
    • Sun MgmtCard
    • Sun Mseries
    • Sun SFxxK
    • Supermicro

    Network

    • 3com Network
    • A10 AX
    • Acme Packet SNMP
    • Adva FSP 150 SNMP
    • Adva FSP 3000 SNMP
    • Aerohive
    • Alcatel Omniswitch
    • Allied Telesis SNMP
    • Alvarion BreezeACCESS SNMP
    • Arista Switch
    • Arkoon
    • Aruba Instant SNMP
    • Aruba Standard
    • Atrica Routeur
    • Athonet ePC SNMP
    • Atto Fibrebridge SNMP
    • Barracuda Cloudgen SNMP
    • Bee Ware
    • BGP Protocol SNMP
    • Bluecoat generic
    • Brocade Switch
    • CheckPoint firewall
    • Cisco Apic
    • Cisco ASA
    • Cisco Call Manager
    • Cisco Call Manager SXML
    • Cisco ESA XMLAPI
    • Cisco Firepower Management Console Rest API
    • Cisco Firepower SNMP
    • Cisco IronPort
    • Cisco Meraki Rest API
    • Cisco Meraki
    • Cisco Prime
    • Cisco Small Business
    • Cisco Standard
    • Cisco Standard SSH
    • Cisco VCS
    • Cisco Voice Gateway
    • Cisco Waas
    • Cisco WLC
    • Citrix Acceleration
    • Citrix Netscaler
    • Citrix SDX
    • Colubris SNMP
    • Cyberoam
    • D-Link DGS 3100
    • D-Link standard SNMP
    • Dell 6200
    • Dell 6200 SNMP
    • Dell N4000
    • Dell OS10 SNMP
    • Dell S-series
    • DenyAll SNMP
    • Dell Xseries
    • Digi Anywhere USB
    • Digi PortServers TS
    • Digi PortServers TS
    • Digi Sarian
    • Efficienti IP
    • Evertz FC7800
    • Extreme Network
    • Lenovo Flex System Switch
    • F5 BigIP
    • Fiberstore SNMP
    • Fortinet FortiAuthenticator SNMP
    • Fortinet Fortigate
    • Fortinet Fortimanage
    • Freebox
    • FritzBox
    • Gorgy NTP Server
    • H3C Network
    • Hirschmann switch
    • HP Procurve
    • HP Standard Network
    • HP Virtual Connect
    • Huawei
    • Infoblox SNMP
    • Juniper EX Series
    • Juniper GGSN
    • Juniper ISG
    • Juniper M-Series
    • Juniper Mag
    • Juniper SA
    • Juniper SRX
    • Juniper SSG
    • Juniper Trapeze
    • Kemp Loadbalancer
    • Meru SNMP
    • Mikrotik SNMP
    • Mitel 3300ICP
    • Moxa Switch
    • Mrv Optiswitch
    • NetASQ Network
    • Netgear MSeries
    • Netscaler MPX 8000
    • Nokia TiMos
    • Nortel Standard
    • Omniswitch 6850
    • OneAccess Network
    • Oracle Infiniband
    • Palo Alto firewall SNMP
    • Palo Alto firewall SSH
    • Peplink Balance
    • Peplink Pepwave SNMP
    • Perle IDS SNMP
    • pfSense
    • Rad Airmux SNMP
    • Radware Alteon
    • Raisecom
    • RedBack Router
    • Riverbed Interceptor
    • Riverbed SteelHead
    • Ruckus
    • Ruckus Zonedirector
    • Ruckus ICX
    • Ruckus SCG
    • Ruckus Smartzone
    • Ruggedcom Network
    • Silverpeak
    • Sonicwall
    • Sophos ES
    • Stonesoft
    • Stormshield SNMP
    • Stormshield SSH
    • Teltonika SNMP
    • Ubiquiti AirFiber SNMP
    • Traffic Director
    • Ucopia
    • Watchguard
    • Zyxel
    • Versa SNMP
    • Versa Director Restapi

    Operating System

    • AIX SNMP
    • Base Pack
    • FreeBSD SNMP
    • HP-UX
    • IBM AS400
    • Linux NRPE
    • Linux NRPE3
    • Linux SNMP
    • Linux SSH
    • Mac SNMP
    • Solaris SNMP
    • Windows NRPE
    • Windows NRPE 0.5
    • Windows NSClient API
    • Windows SNMP

    Printer

    • Printer standard

    Protocol

    • BGP Protocol
    • DHCP Server
    • DNS Service
    • FTP Server
    • Generic SNMP
    • HTTP Server
    • IMAP Server
    • JMX value
    • LDAP Server
    • Modbus
    • NTP Server
    • OSPF Protocol
    • POP Server
    • Protocol DHCP
    • Protocol SSH
    • Protocol TCP
    • Protocol UDP
    • Radius Service
    • SMTP Server
    • Telnet Scenario
    • TFTP Server
    • X509 Certificat

    Sensor

    • ABB CMS-700
    • AKCP Sensor
    • Geist p8000 sensor SNMP
    • Geist Sensor SNMP
    • HWg-STE Sensor
    • Jacarta Sensor
    • LM Sensors
    • Netbotz Sensor
    • Sensor IP
    • SensorGateway
    • Sensormetrix

    Storage

    • Adic Tape SNMP
    • Avid Isis
    • Buffalo TeraStation SNMP
    • Dell Compellent
    • Dell Compellent API
    • Dell Equallogic
    • Dell FluidFS
    • Dell MD3000
    • Dell Me4 Rest API
    • Dell ML6000
    • Dell TL2000
    • EMC Celerra
    • EMC Clariion
    • EMC Data Domain
    • EMC Isilon
    • EMC RecoveryPoint
    • EMC Symmetrix API
    • EMC Symmetrix NRPE
    • EMC Unisphere Rest API
    • EMC Vplex
    • EMC Xtremio
    • Exagrid
    • Fujitsu Eternus DX
    • Hitachi HCP SNMP
    • Hitachi NAS
    • Hitachi Standard
    • HP 3PAR 7000
    • HP 3PAR SSH
    • HP EVA
    • HP Lefthand
    • HP MSA2000
    • HP MSL
    • HP P2000
    • HP StoreOnce
    • HP StoreOnce SSH
    • IBM DS3000
    • IBM DS4000
    • IBM DS5000
    • IBM FlashSystem 900
    • IBM Storwize
    • IBM TS2900
    • IBM TS3100
    • IBM TS3200
    • IBM TS3500
    • Kaminario RestAPI
    • Lenovo S Series
    • Lenovo Iomega
    • NetApp Ontap Oncommand API
    • NetApp Ontap Rest API
    • NetApp Ontap SNMP
    • Netapp Santricity Restapi
    • Netgear Readynas SNMP
    • Nimble Storage
    • Nimble Storage Rest API
    • Oracle ZFS
    • Oracle ZS
    • Overland Neo
    • Panzura
    • Pure Storage
    • Pure Storage SNMP
    • Qnap
    • QSAN NAS
    • Quantum DXi Series
    • Quantum Scalar
    • Storagetek SL
    • Synology
    • Violin Memory 3000

    Toip Voip

    • Alcatel OXE
    • Asterisk VoIP Server
    • AudioCodes
    • Avaya AES SNMP
    • Avaya Media Gateway SNMP
    • Polycom DMA SNMP
    • Polycom HDX SNMP
    • Polycom RMX
    • Polycom RPRM SNMP
    • Sonus SBC
    • XiVO VoIP Server

    Ups Pdu

    • Alpha UPS SNMP
    • APC ATS
    • APC PDU
    • APC UPS
    • Clever PDU
    • CyberPower Systems PDU SNMP
    • Eaton ATS SNMP
    • Eaton PDU SNMP
    • Emerson PDU
    • HP UPS SNMP
    • MGE UPS System
    • Nitram UPS SNMP
    • Powerware UPS
    • Raritan PDU
    • Schleifenbauer Gateway SNMP
    • UPS Socomec Net Vision SNMP
    • UPS Standard

    Virtualization

    • Hyper-V 2012
    • Nutanix
    • Proxmox VE
    • VMware ESX
    • VMware ESX WS-MAN
    • VMware vCenter
    • VMware vCenter v4
    • VMware vCenter v5
    • VMware vCenter v6
    • VMware VM

Intégrations

    Externes

    • Accedian PVX Skylight
    • Maltem Insight Performances Rest API

    Notifications

    • Notify with Telegram bot

    Open Tickets

    • BMC Footprints
    • BMC Remedy
    • EasyVista
    • GLPI
    • GLPI RestAPI
    • iTop
    • IWS Isilog
    • Jira
    • Mail
    • OTRS RestAPI
    • Request Tracker RestAPI
    • Serena
    • ServiceNow

    Stream Connectors

    • BSM
    • Elasticsearch events
    • Elasticsearch metrics
    • NDO
    • HP OMI
    • PagerDuty Service integration
    • ServiceNow Event Manager
    • ServiceNow MID Server
    • Splunk Metrics
    • Splunk Events
    • Warp10

Mobile App.

  • Introduction

API

  • Introduction
  • Command Line API (v1)
  • Rest API (v1)
  • Rest API (v2)
  • Graphical views API (beta)

Ressources dévelopeur

  • À propos des ressources développeur
  • How to write a module
  • How to write a Stream Connector
  • How to translate Centreon
  • How to write a widget
  • Centreon Broker

    • Stream connectors
    • The BBDO protocol
    • Centreon Broker Event Mapping

Releases

  • Centreon Platform 21.04.0
  • Politique de cycle de vie des solutions
  • Release notes

    • Centreon Core
    • Extensions Commerciales
    • Open Source Extensions

Ressources

  • Problèmes connus
Edit

Netapp Santricity Restapi

Vue d'ensemble

Le système d'exploitation SANtricity, délivré par l'entreprise NetApp, accélère et fiabilise vos données de stockage tout en renforçant la protection de celles-ci. Le service SANtricity Web Services Proxy (WSP) permet d'accéder de manière normalisée à la configuration et aux indicateurs des équipements NetApp par l'utilisation d'une API Rest HTTP.

Contenu du Plugin-Pack

Éléments supervisés

Le Plugin-Pack SANtricity permet de superviser les ressources NetApp accessibles au travers de l'API SANtricity:

  • Contrôleurs
  • Volumes

Métriques collectées

Les métriques collectées sont les suivantes:

Hardware
Storage Pools
Storage Controllers
Storage Systems
Storage Volumes
Metric nameDescription
statusCheck components operational status: battery, cbd, ctrl, drive, fan, psu, storage, thsensor. Unit: count
hardware.drive.temperature.celsiusCheck drives temperature. Unit: °C
Metric nameDescription
raid_statusRaid status information
Metric nameDescription
statusController operational status
volume.cpu.utilization.percentageCPU volume utilization. Unit: %
volume.io.read.usage.bytespersecondVolume IO read usage. Unit: B/s
volume.io.write.usage.bytespersecondVolume IO write usage. Unit: B/s
system.io.read.usage.iopsSystem read IOPS usage. Unit: count
system.io.write.usage.iopsSystem write IOPS usage. Unit: count
Metric nameDescription
statusSystem operational status
pool.space.usage.bytesPool space usage. Unit: B
pool.space.usage.percentagePool space percentage usage. Unit: %
pool.space.free.bytesPool free space. Unit: B
Metric nameDescription
statusVolume operational status
volume.io.read.usage.bytespersecondVolume IO read usage. Unit: B/s
volume.io.write.usage.bytespersecondVolume IO write usage. Unit: B/s
system.io.read.usage.iopsVolume read IOPS usage. Unit: count
system.io.write.usage.iopsVolume write IOPS usage. Unit: count

Prérequis

Configuration de l'API SANtricity

Le Plugin Centreon Netapp Santricity Restapi s'appuie sur l'API Rest NetApp SANtricity fournie par la solution Web Services Proxy (WSP). Celle-ci doit être préalablement installée et opérationnelle sur un serveur dédié (Windows/Linux) afin de pouvoir utiliser l'API Rest. Les ressources ci-après décrivent les méthodes d'installation ainsi que le fonctionnement de l'API.

Ressources en ligne

  • Installation de SANtricity Web Services: https://library.netapp.com/ecm/ecm_download_file/ECMLP2846165
  • Prise en main et exploitation de l'API Rest: https://library.netapp.com/ecmdocs/ECMLP2839901/html/v2.html

Installation

  1. Installer le Plugin sur tous les collecteurs Centreon supervisant des ressources Netapp SANtricity:
yum install centreon-plugin-Hardware-Storage-Netapp-Santricity-Restapi
  1. Depuis l'interface Web de Centreon, installer le Plugin-Pack Netapp Santricity Restapi depuis la page "Configuration > Plugin Packs > Manager"
  1. Installer le Plugin sur tous les collecteurs Centreon supervisant des ressources Netapp SANtricity:
yum install centreon-plugin-Hardware-Storage-Netapp-Santricity-Restapi
  1. Installer le RPM du Plugin-Pack sur le serveur Centreon Central:
centreon-pack-hardware-storage-netapp-santricity-restapi.noarch
  1. Depuis l'interface Web de Centreon, installer le Plugin-Pack Netapp Santricity Restapi depuis la page "Configuration > Plugin Packs > Manager"

Configuration

  • Depuis l'interface Web de Centreon, ajoutez un nouvel Hôte depuis la page "Configuration > Hôtes".
  • Appliquez le modèle d'Hôte "HW-Storage-Netapp-Santricity-Restapi-custom" et configurer les macros nécessaires :
MandatoryNameDescription
XAPIPORTPort used (Default: 8080)
XAPIUSERNAMESantricity API username.
XAPIPASSWORDSantricity API password. Password checkbox must be checked
XAPIPATHSpecify api path (Default: '/devmgr/v2')
XAPIPROTOSpecify https if needed (Default: 'http')
APIEXTRAOPTIONSAny extra option you may want to add to the command (eg. a --verbose flag)

FAQ

Comment puis-je tester le Plugin et que signifient les options des commandes ?

Une fois le Plugin installé, vous pouvez tester celui-ci directement en ligne de commande depuis votre collecteur Centreon avec l'utilisateur centreon-engine:

/usr/lib/centreon/plugins/centreon_netapp_santricity_restapi.pl \
    --plugin=storage::netapp::santricity::restapi::plugin \
    --hostname=sancitricy.int.centreon.com \
    --port=8080 \
    --proto=http \
    --api-path='/devmgr/v2' \
    --api-username='admin' \
    --api-password='xxxx' \
    --mode=storage-volumes \
    --verbose \
    --warning-volume-status='%{status} =~ /degraded/i' \
    --critical-volume-status='%{status} =~ /failed/i'

La commande doit retourner un résultat de la forme:

OK: storage system 'SAN-XXX' volumes are ok |
checking storage system 'SAN-XXXX'
    volume 'Datastore_X' status: optimal
    volume 'Datastore_Y' status: optimal

Cette commande vérifie le statut des volumes NetApp (--mode=storage-volumes) en requêtant l'API SANtricity du serveur santricity.int.centreon.com (--hostname=sancitricy.int.centreon.com). L'authentification à l'API s'effectue avec un utilisateur admin (--api-user=admin) et un mot de passe xxxx associé (api-password='xxxx').

Cette commande déclenchera une alarme WARNING si l'un des volumes est en statut degraded (--warning-volume-status='%{status} =~ /degraded/i') et une alarme de type CRITICAL pour un statut failed (--critical-volume-status='%{status} =~ /failed/i').

Pour chaque mode, les options disponibles peuvent être consultées en ajoutant l'option --help à la commande:

/usr/lib/centreon/plugins/centreon_netapp_santricity_restapi.pl \
    --plugin=storage::netapp::santricity::restapi::plugin \
    --mode=storage-volumes \
      --help

J'obtiens le message d'erreur suivant:

UNKNOWN: 500 Can't connect to santricity.int.centreon.com:8080 |

Lors du déploiement de mes contrôles, j'obtiens le message suivant: UNKNOWN: 500 Can't connect to santricity.int.centreon.com:8080 |.

Cela signifie que Centreon n'a pas réussi à se connecter à l'API Netapp SANtricity.

Si l'utilisation d'un proxy est requise pour les connexions HTTP depuis le collecteur Centreon, il est nécessaire de le préciser dans la commande en utilisant l'option --proxyurl='http://proxy.mycompany:8080'.

UNKNOWN: 501 Protocol scheme 'connect' is not supported |

Suite à la mise en place du proxy, j'obtiens le message suivant UNKNOWN: 501 Protocol scheme 'connect' is not supported |

Cela signifie que le protocole de connexion au proxy n'est pas supporté par la libraire lwp utlisée par défaut par le Plugin Centreon.

Cette erreur peut être résolue en utilisant le backend HTTP curl. Pour ce faire, ajoutez l'option --http-backend='curl' à la commande.

UNKNOWN: Cannot load module 'Net::Curl::Easy'

Ce message d'erreur signifie qu'une librairie Perl est manquante.

Dans le cas présent, vous pouvez installer la librairie manquante en lançant la commande suivante:

yum install perl-Net-Curl
← NetApp Ontap SNMPNetgear Readynas SNMP →
  • Vue d'ensemble
  • Contenu du Plugin-Pack
    • Éléments supervisés
    • Métriques collectées
  • Prérequis
    • Configuration de l'API SANtricity
    • Ressources en ligne
  • Installation
  • Configuration
  • FAQ
    • Comment puis-je tester le Plugin et que signifient les options des commandes ?
    • J'obtiens le message d'erreur suivant:
Centreon documentation
Documentation
DémarrerAPIReleases
Ressources
Site CentreonBlogDownload
Suivez-nous
centreon
Follow @Centreon
Copyright © 2005 - 2021 Centreon