Hello ! nous allons voir ensemble la supervision des baies de stockage Dell EMC VNX 5300 et VNX 5200. Nous allons bien sûr utiliser Centreon et ses plugins Centreon Plugins Pack ainsi que le module NaviSECCLI (CLI Navisphere)…
Infrastructure requise :
- Dell EMC VNX5300
- Dell EMC VNX5200
- Dell EMC Unisphere
Mais aussi :
- Centreon Server : installation-complete-centreon-2-8-26
- Centreon plugins (Macros) : centreon-plugins-monitoring/
- Module NaviCLI : RPM NaviCLI et Debian : emc-openstack/naviseccli
Commande NaviCLI :
- Dell EMC Navisphere : navisphere-cli.pdf
EMC Unisphere
EMC Unisphere permet de faciliter la gestion de stockage à distance via une interface web graphique. Il permet de gérer les systèmes de stockage existants EMC CLARiiON, EMC Celerra ainsi que les systèmes de stockage unifié nouvelle génération, EMC VNX et EMC VNXe.
Il est possible également d’administrer les systèmes VNX en ligne de commande à l’aide de EMC Navisphere CLI. Vous pouvez donc créer vos propres scripts à l’aide des commandes NaviSecCLI sur le lien ci-dessus.
Remarque : NaviSecCLI est la version sécurisée de NaviCLI (ancienne version)
Vous devez donc avoir EMC Unispher avec un compte valide. C’est avec ce compte que nous allons pouvoir superviser les deux VNX via le Plugin NaviSECCLI.
VNX Authentification Scope
VNX fournit trois types d’authentification :
- Méthode d’authentification Globale : Utilisée lorsque le système VNX est configuré pour être membre d’un domaine de stockage. Tous les systèmes du domaine peuvent être administrés à l’aide d’une connexion unique avec un compte global.
- Méthode d’authentification locale : utilisée pour gérer un système spécifique uniquement.
- Méthode d’authentification LDAP : utilisée pour se connecter avec un compte Active Directory (LDAP doit être lié et configuré avec le système VNX). Le système VNX effectue une requête LDAP au domaine pour authentifier les utilisateurs.
Installation NaviSecCLI
Téléchargez le fichier RPM depuis Github :
https://github.com/emc-openstack/naviseccli.git
[root@centreon ~]# cd /tmp [root@centreon tmp]# [root@centreon tmp]# git clone https://github.com/emc-openstack/naviseccli.git Cloning into 'naviseccli'... remote: Counting objects: 21, done. remote: Total 21 (delta 0), reused 0 (delta 0), pack-reused 21 Unpacking objects: 100% (21/21), done. [root@centreon tmp]#
Ajoutez les droits d’exécution :
[root@centreon tmp]# cd naviseccli/ [root@centreon naviseccli]# [root@centreon naviseccli]# ll total 15308 -rw-r--r-- 1 root root 7780588 1 août 20:03 navicli-linux-64-x86-en-us_7.33.2.0.51-1_all.deb -rw-r--r-- 1 root root 7887531 1 août 20:03 NaviCLI-Linux-64-x86-en_US-7.33.9.1.55-1.x86_64.rpm -rw-r--r-- 1 root root 403 1 août 20:03 README.md [root@centreon naviseccli]# [root@centreon naviseccli]# chmod 775 NaviCLI-Linux-64-x86-en_US-7.33.9.1.55-1.x86_64.rpm [root@centreon naviseccli]#
Lancez l’installation de NaviSecCLI :
[root@centreon naviseccli]# rpm -ivh NaviCLI-Linux-64-x86-en_US-7.33.9.1.55-1.x86_64.rpm
Il faut lancer le script /opt/Navisphere/bin/setlevel_cli.sh pour définir le niveau d’authentification.
Nous allons choisir le niveau low : l
[root@centreon naviseccli]# cd /opt/Navisphere/bin/ [root@centreon bin]# [root@centreon bin]# ll total 15208 -rwxrwxr-x 1 root root 562895 27 févr. 2016 admsnap -rwxrwxr-x 1 root root 15002779 27 févr. 2016 naviseccli -rwxr-xr-x 1 root root 3945 27 févr. 2016 setlevel_cli.sh [root@centreon bin]# ./setlevel_cli.sh # Please enter the verifying level(low|medium|l|m) to set? l Setting low verifying level..... Verification level low has been set SUCCESSFULLY!!! [root@centreon bin]#
Ajouter la variable d’environnement pour votre utilisateur, sur mon serveur Centreon, c’est l’user ROOT. Il faut donc modifier le fichier .bash_profile ou exécuter la commande suivante :
[root@centreon bin]# export PATH=$PATH:/opt/Navisphere/bin
Pour vérifiez :
[root@centreon bin]# echo $PATH /root/perl5/bin:/root/perl5/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/opt/Navisphere/bin [root@centreon bin]#
On remarque à la fin de la ligne : /opt/Navisphere/bin
Pour finir, sécuriser l’utilisateur de votre système VNX :
[root@centreon bin]# naviseccli -addUserSecurity -scope 0 -user sysadmin -password sysadmin
Remarque : pour administrer le système VNX avec NaviCLI (en ligne de commande), il faut renseigner l’utilisateur et le mot de passe de votre système VNX (administrateur). C’est le compte EMC Unisphere.
Utilisation de NaviSecCLI
Avant de passer à la supervision, nous allons tester NaviCLI. Voir le fichier PDF pour les commandes !
[root@centreon ~]# naviseccli Not enough arguments Usage: [-User <username>] [-Password <password>] [-Scope <0 - global; 1 - local; 2 - LDAP>] [-Address <IPAddress | NetworkName> | -h <IPAddress | NetworkName>] [-Port <portnumber>] [-Timeout <timeout> | -t <timeout>] [-AddUserSecurity | -RemoveUserSecurity | -DeleteSecurityEntry] [-Parse | -p] [-NoPoll | -np] [-cmdtime] [-Xml] [-f <filename>] [-Help] CMD <Optional Arguments> [security -certificate] [root@centreon ~]#
Get Array Name : VNX5300-SPA ou SPB
[root@centreon ~]# naviseccli -h VNX5300-SPA arrayname Array Name: VNX5300_CKM0012XXXXXXX [root@centreon ~]#
[root@centreon ~]# naviseccli -h VNX5200-SPB arrayname Array Name: VNX5200_CETV214XXXXXXX [root@centreon ~]#
Getagent : VNX5300-SPA ou SPB
[root@centreon ~]# naviseccli -h VNX5300-SPA getagent
Agent Rev: 7.32.31 (3.21) Name: K10 Desc: Node: A-CKM0012XXXXXXX Physical Node: K10 Signature: 3334231 Peer Signature: 3334360 Revision: 05.32.000.5.221 SCSI Id: 0 Model: VNX5300 Model Type: Rackmount Prom Rev: 7.20.00 SP Memory: 8192 Serial No: CKM0012XXXXXXX SP Identifier: A Cabinet: DPE7
Getagent : VNX5200-SPA ou SPB
[root@centreon ~]# naviseccli -h VNX5200-SPA getagent
Agent Rev: 7.33.9 (1.84) Name: K10 Desc: Node: A-CETV214XXXXXXX Physical Node: K10 Signature: 3801260 Peer Signature: 3801256 Revision: 05.33.009.5.184 SCSI Id: 0 Model: VNX5200 Model Type: Rackmount Prom Rev: 33.51.00 SP Memory: 16384 Serial No: CETV214XXXXXXX SP Identifier: A Cabinet: DPE9
Si vous souhaitez avoir toute les informations : getall : VNX5200-SPA ou SPB
[root@centreon ~]# naviseccli -h VNX5200-SPA getall
Supervision EMC VNX Series (CLI)
Commençons par la supervision en ligne de commande. Recherche de plugin :
[root@centreon plugins]# ./centreon_plugins.pl --list-plugin | grep emc | grep PLUGIN PLUGIN: storage::emc::vplex::restapi::plugin PLUGIN: storage::emc::isilon::snmp::plugin PLUGIN: storage::emc::recoverypoint::ssh::plugin # PLUGIN: storage::emc::clariion::plugin PLUGIN: storage::emc::DataDomain::plugin PLUGIN: storage::emc::celerra::local::plugin PLUGIN: storage::emc::symmetrix::vmax::local::plugin PLUGIN: storage::emc::symmetrix::dmx34::local::plugin PLUGIN: storage::emc::xtremio::restapi::plugin [root@centreon plugins]#
Afficher les modes disponibles :
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --list-mode Plugin Description: Check EMC Clariion with 'navicli/naviseccli'. Global Options: --mode Choose a mode. --dyn-mode Specify a mode with the path (separated by '::'). --list-mode List available modes. --mode-version Check minimal version of mode. If not, unknown error. --version Display plugin version. --custommode Choose a custom mode. --list-custommode List available custom modes. --multiple Multiple custom mode objects (some mode needs it). # Modes Available: cache controller disk faults hba-state list-luns port-state sp sp-info
Afficher de l’aide :
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=cache --help Plugin Description: Check EMC Clariion with 'navicli/naviseccli'. Global Options: --mode Choose a mode. --dyn-mode Specify a mode with the path (separated by '::'). --list-mode List available modes. --mode-version Check minimal version of mode. If not, unknown error. --version Display plugin version. --custommode Choose a custom mode. --list-custommode List available custom modes. --multiple Multiple custom mode objects (some mode needs it). Output Options: --verbose Display long output. --debug Display also debug messages. --filter-perfdata Filter perfdata that match the regexp. --explode-perfdata-max Put max perfdata (if it exist) in a specific perfdata (without values: same with '_max' suffix) (Multiple options) --change-perfdata Change perfdata name (Multiple option) Syntax: regexp_matching,regexp_substitute --range-perfdata Change perfdata range thresholds display: 1 = start value equals to '0' is removed, 2 = threshold range is not display. --filter-uom Filter UOM that match the regexp. --opt-exit Exit code for an option error, usage (default: unknown). --output-xml Display output in XML Format. --output-json Display output in JSON Format. --output-file Write output in file (can be used with json and xml options) --disco-format Display discovery arguments (if the mode manages it). --disco-show Display discovery values (if the mode manages it). Navisphere Options: --remote Execute command remotely in 'ssh'. --ssh-address Specify ssh address target (default: use hostname option) --ssh-option Specify multiple options like the user (example: --ssh-option='-l=centreon-engine" --ssh-option='-p=52"). --ssh-path Specify ssh command path (default: none) --ssh-command Specify ssh command (default: 'ssh'). Useful to use 'plink'. --navicli-path Specify navicli path (default: '/opt/Navisphere/bin') --navicli-command Specify navicli command (default: 'navicli'). # --naviseccli-path Specify naviseccli path (default:# '/opt/Navisphere/bin') --naviseccli-command Specify naviseccli command (default: 'naviseccli'). --sudo Use 'sudo' to execute the command. --special-arg Set a special argument for the command. To be used for set a file. (Need to change command and use 'cat' instead). # --hostname Emc Clariion/VNX SP Hostname. --secfilepath Set directory with security files (username and password not needed. Will use 'naviseccli'). # --username Username to connect (will use 'naviseccli'). # --password Password to connect (will use 'naviseccli'). --scope User scope to connect (will use 'naviseccli'. Default: '0' (global)). --timeout Set timeout for system command (Default: '30'). Mode: Check status of the read and write cache. --cache-command Set cache command (Default: 'getcache'). --cache-options Set option for cache command (Default: '-pdp -state -mirror'). --warning Threshold warning in percent (for dirty cache). --critical Threshold critical in percent (for dirty cache). --threshold-overload Set to overload default threshold value. Example: --threshold-overload='read_cache:(enabled)=critical'
Check-VNX-CACHE
Cache monitoring VNX5300/VNX5200 SP A / SP B
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=cache --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin OK: Read cache state is 'Enabled' - Write cache state is 'Enabled' - Write cache mirror is 'YES' | 'dirty_cache'=99%;;;0;100 [root@centreon plugins]#
Check-VNX-CONTROLLER
Controller monitoring VNX5300/VNX5200 SP A / SP B
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=controller --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin OK: Global Controller Busy : 28.05 %, Read IOPs : 7531.78, Write IOPs : 1107.22 | 'busy'=28.05%;;;0;100 'read-iops'=7531.78iops;;;0; 'write-iops'=1107.22iops;;;0; [root@centreon plugins]#
Check-VNX-DISK
Disk (All) Monitoring VNX5300/VNX5200 SP A / SP B
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=disk --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin --verbose OK: All disks are OK | ... ... Disk '0_0_0' state is 'Unbound', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 142.06 KB/s, Utils : 1.09 % Disk '0_0_1' state is 'Unbound', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 130.93 KB/s, Utils : 1.22 % # Disk '0_0_10' state is 'Enabled', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 3.39 MB/s, Utils : 10.16 % Disk '0_0_11' state is 'Hot Spare Ready', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 421.44 KB/s, Utils : 0.12 % Disk '0_0_12' Disk '0_0_13' Disk '0_0_14' Disk '0_0_2' state is 'Unbound', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 174.71 KB/s, Utils : 1.05 % Disk '0_0_3' state is 'Unbound', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 51.72 KB/s, Utils : 0.14 % Disk '0_0_4' state is 'Hot Spare Ready', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 383.13 KB/s, Utils : 0.12 % Disk '0_0_5' state is 'Enabled', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 1.30 MB/s, Utils : 3.48 % Disk '0_0_6' state is 'Enabled', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 3.44 MB/s, Utils : 10.52 % Disk '0_0_7' state is 'Enabled', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 1.23 MB/s, Utils : 3.59 % Disk '0_0_8' state is 'Enabled', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 3.36 MB/s, Utils : 10.45 % ... ... [root@centreon plugins]#
Check un seul disque : 0_0_10 = BUS 0_ENCLOSURE 0_DISK 10
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=disk --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin --filter-disk='0_0_10' OK: Disk '0_0_10' state is 'Enabled', Hard Read Errors : 0, Hard Write Errors : 0, Read I/O : 1.97 MB/s, Utils : 6.33 % | 'hard_read_errors'=0;;;0; 'hard_write_errors'=0;;;0; 'read_io'=33063936B/s;;;0; 'utils'=6.33%;;;0;100 [root@centreon plugins]#
Check-VNX-FAULTS
Faults Monitoring VNX5300/VNX5200 SP A / SP B
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=faults --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin --filter-disk='0_0_10' OK: The array is operating normally | [root@centreon plugins]#
Check-VNX-HPAState
HBA-State Monitoring VNX5300/VNX5200 SP A / SP B
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin --mode=hba-state --path-status=,@0:1,.*,. CRITICAL: Path connection problem for hba '50:06:01:60:C7:60:51:24:50:06:01:61:47:60:51:24' server 'Celerra_CS0' - Path connection problem for hba '50:06:01:60:C7:60:51:24:50:06:01:69:47:60:53:24' server 'Celerra_CS0' - Path connection problem for hba '50:06:01:60:C7:60:51:24:50:06:01:68:47:60:53:24' server 'Celerra_CS0' - Path connection problem for hba '50:06:01:60:C7:60:51:24:50:06:01:60:47:60:53:24' server 'Celerra_CS0' - Path connection problem for hba '20:00:00:90:FA:0C:4C:93:12:00:00:90:FA:0C:4C:93' server 'serv1.pixelabs.lan' - Path connection problem for hba '20:00:00:00:C9:A4:7A:F6:12:00:00:00:C9:A4:7A:F6' server 'serv-esx.pixelabs.lan' | [root@centreon plugins]#
Check-VNX-LUNFaulted
List-Luns (Faulted)Monitoring VNX5300/VNX5200 SP A / SP B
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin --mode=list-luns --filter-lunstate=Faulted List LUNs: Skipping lun '17': no matching filter lun state Skipping lun '101': no matching filter lun state Skipping lun '110': no matching filter lun state [...] [root@centreon plugins]#
Check-VNX-PortState
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin --mode=port-state OK: All ports (8/8) are ok. | [root@centreon plugins]#
Check-VNX-SP-ENV
Check Environment SP A --component='.*'
= pour tout vérifier : (fan’, ‘lcc’, ‘psu’, ‘battery’, ‘memory’, ‘cpu’, ‘iomodule’, ‘cable)
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=sp --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin --component OK: All 22 components are ok [2/2 battery, 2/2 cables, 8/8 lccs, 10/10 psus]. | [root@centreon plugins]#
Verbose :
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=sp --hostname=VNX_SP_A/B_IP --username=sysadmin --password=sysadmin --component='.*' --verbose OK: All 22 components are ok [2/2 battery, 2/2 cables, 8/8 lccs, 10/10 psus]. | Checking fans Checking link control card lcc '0.1.A' state is Present. lcc '0.1.B' state is Present. lcc '0.2.A' state is Present. lcc '0.2.B' state is Present. lcc '1.0.A' state is Present. lcc '1.0.B' state is Present. lcc '1.1.A' state is Present. lcc '1.1.B' state is Present. Checking power supplies Power Supply '0.0.Power.A' state is Present. Power Supply '0.0.Power.B' state is Present. Power Supply '0.1.Power.A' state is Present. Power Supply '0.1.Power.B' state is Present. Power Supply '0.2.Power.A' state is Present. Power Supply '0.2.Power.B' state is Present. Power Supply '1.0.Power.A' state is Present. Power Supply '1.0.Power.B' state is Present. Power Supply '1.1.Power.A' state is Present. Power Supply '1.1.Power.B' state is Present. Checking batteries Battery '0.0.SPS.A' state is Present. Battery '0.0.SPS.B' state is Present. Checking dimm Checking cpu Checking I/O modules Checking cables cable '0.0.SPS.A' state is Valid. cable '0.0.SPS.B' state is Valid. [root@centreon plugins]#
Check-VNX-SPA-INFO
Check SPA INFO VNX5300
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=sp-info --hostname=VNX5300_SPA_IP --username=sysadmin --password=sysadmin OK: [SP ID: A] [Agent Revision: 7.32.31 (3.21)] [FLARE Revision: 05.32.000.5.221] [PROM Revision: 7.20.00] [Model: VNX5300, Rackmount] [Memory: 8.00 GB] [Serial Number: CKM00124XXXXXX] | [root@centreon plugins]#
Check-VNX-SPB-INFO
Check SPB INFO VNX5200
[root@centreon plugins]# ./centreon_plugins.pl --plugin=storage::emc::clariion::plugin --mode=sp-info --hostname=VNX5200_SPB_IP --username=sysadmin --password=sysadmin OK: [SP ID: B] [Agent Revision: 7.33.9 (1.84)] [FLARE Revision: 05.33.009.5.184] [PROM Revision: 33.51.00] [Model: VNX5200, Rackmount] [Memory: 16.00 GB] [Serial Number: CETV214XXXXXXX] | [root@centreon plugins]#
Remarque : SPA et SPB ce sont des domaines de stockage VNX. On distingue 4 membres du domaine :
- SPA (Storage Processeur A)
- SPB (Storage Processeur B)
- Control Station
- Unisphere User
Supervision EMC VNX Series (Centreon Web)
Nous allons maintenant créer les commandes depuis l’interface web de Centreon : Configuration > Commandes > Contrôles
Pour créer le service sous Centreon web, utiliser les macros personnalisées suivantes :
- $_HOSTADDRESS$ : adresse IP de l’hôte : SPA ou SPB
- $_SERVICEPLUGIN$
- $_SERVICEMODE$
- $_SERVICEUSERNAME$ : utilisateur EMC Unisphere
- $_SERVICEPASSWORD$ : mot de passe EMC Unisphere
- $_SERVICESTATUS$
- $_SERVICEFILTER$
- $_SERVICECOMPONENT$
- $_SERVICECRITICAL$
- $_SERVICETIMEOUT$
Voir comment ajouter les macros personnalisées ici : #Creation_de_commande
Rappel : Centreon Plugin Packs = $USER2$ = /usr/lib/centreon/plugins
Commande Check-VNX-Cache
$USER2$/centreon_plugins.pl --plugin=$_SERVICEPLUGIN$ --mode=$_SERVICEMODE$ --hostname=$HOSTADDRESS$ --username=$_SERVICEUSERNAME$ --password=$_SERVICEPASSWORD$ --critical=$_SERVICECRITICAL$ --timeout=$_SERVICETIMEOUT$
Commande Check-VNX-Controller
$USER2$/centreon_plugins.pl --plugin=$_SERVICEPLUGIN$ --mode=$_SERVICEMODE$ --hostname=$HOSTADDRESS$ --username=$_SERVICEUSERNAME$ --password=$_SERVICEPASSWORD$ --critical-busy=$_SERVICECRITICAL$ --timeout=$_SERVICETIMEOUT$
Commande Check-VNX-Disk
$USER2$/centreon_plugins.pl --plugin=$_SERVICEPLUGIN$ --mode=$_SERVICEMODE$ --hostname=$HOSTADDRESS$ --username=$_SERVICEUSERNAME$ --password=$_SERVICEPASSWORD$ --critical-utils=$_SERVICECRITICAL$ --timeout=$_SERVICETIMEOUT$
Commande Check-VNX-Faults
$USER2$/centreon_plugins.pl --plugin=$_SERVICEPLUGIN$ --mode=$_SERVICEMODE$ --hostname=$HOSTADDRESS$ --username=$_SERVICEUSERNAME$ --password=$_SERVICEPASSWORD$ --timeout=$_SERVICETIMEOUT$
Commande Check-VNX-HBAState
$USER2$/centreon_plugins.pl --plugin=$_SERVICEPLUGIN$ --mode=$_SERVICEMODE$ --hostname=$HOSTADDRESS$ --username=$_SERVICEUSERNAME$ --password=$_SERVICEPASSWORD$ --path-status=$_SERVICESTATUS$ --timeout=$_SERVICETIMEOUT$
STATUS = Exemple : ',@0:1,.*,.*'
Commande Check-VNX-LUNState
$USER2$/centreon_plugins.pl --plugin=$_SERVICEPLUGIN$ --mode=$_SERVICEMODE$ --hostname=$HOSTADDRESS$ --username=$_SERVICEUSERNAME$ --password=$_SERVICEPASSWORD$ --filter-lunstate=$_SERVICEFILTER$ --timeout=$_SERVICETIMEOUT$
Commande Check-VNX-PORTState
$USER2$/centreon_plugins.pl --plugin=$_SERVICEPLUGIN$ --mode=$_SERVICEMODE$ --hostname=$HOSTADDRESS$ --username=$_SERVICEUSERNAME$ --password=$_SERVICEPASSWORD$ --timeout=$_SERVICETIMEOUT$
Commande Check-VNX-SPState
SPA or SPB State :
$USER2$/centreon_plugins.pl --plugin=$_SERVICEPLUGIN$ --mode=$_SERVICEMODE$ --hostname=$HOSTADDRESS$ --username=$_SERVICEUSERNAME$ --password=$_SERVICEPASSWORD$ --component=$_SERVICECOMPONENT$ --timeout=$_SERVICETIMEOUT$
Commande Check-VNX-SPInfo
SPA info or SPB info
$USER2$/centreon_plugins.pl --plugin=$_SERVICEPLUGIN$ --mode=$_SERVICEMODE$ --hostname=$HOSTADDRESS$ --username=$_SERVICEUSERNAME$ --password=$_SERVICEPASSWORD$ --timeout=$_SERVICETIMEOUT$
Résultat
Voici le résultat final. Cliquez sur un service pour afficher les détails.
C’est terminé les amis. Si vous aimez cet article, mettez une étoile ou deux…ou 5 hein 🙂
Bonne journée et à très bientôt.
Supervision Systèmes & Réseaux
Voir également mes projets sur la supervision : /supervision
- Supervision Certificat HTTPS/Windows : supervision-des-certificats-https-windows/
- Supervision Web HTTP(S) : supervision-https-response-expected-content-centreon/
- Supervision ORACLE BDD : oracle-database-monitoring-centreon-plugins/
- Supervision EMC VNX : vnx5300-vnx5200-monitoring-centreon/
- Supervision MSSQL : microsoft-sql-server-monitoring/
- Supervision Switch CISCO : switch-cisco-centreon-partie-1-2/
- Supervision VMWARE ESXi : vmware-esxi-6-7-monitoring/
- Supervision EXCHANGE Server : exchange-server-2016-monitoring-actif/
- Supervision Quotas Windows : supervision-des-quotas-windows-nrpe-nsclient/
- Supervision Skype for Business : supervision-microsoft-skype-for-business/
- Supervision HPE Proliant Gen10 : supervision-hpe-proliant-gen10-snmp-restapi/
- Supervision NETAPP SANTricity : supervision-netapp-santricity-storage-restapi/
Full update : Ajout de la supervision depuis Centreon web