shinken-healthcheck
Cet outil est utilisé pour vérifier l'état de l'installation et de la configuration de Shinken Enterprise .
Si il est lancé sur l'arbiter, il vérifiera tous les démons de l'architecture
Si il est lancé sur un serveur distant (scheduler, poller, etc...) seul le démon local sera vérifié
Usage:
shinken-healthcheck
Options:
| Name | Description |
|---|---|
--version | Montre le numéro de version du programme et sortie. |
-h, --help | Montre le message d'aide et sortie . |
-w, --write-output | Ecrit des informations pouvant être envoyées à l'équipe Shinken Solutions . |
Exemple d'informations envoyées
########################################
This tool is used to check the state of your Shinken Enterprise (2.03.02) installation and configuration
########################################
[ .................................................................................................... ] 100%
Architecture
OK: [/etc/shinken/synchronizers/synchronizer-master.cfg:13] connection to daemon is
OK
OK: [/etc/shinken/schedulers/scheduler-master.cfg:14] connection to daemon is OK
OK: [/etc/shinken/brokers/broker-master.cfg:15] connection to daemon is OK
OK: [/etc/shinken/receivers/receiver-master.cfg:7] connection to daemon is OK
OK: [/etc/shinken/reactionners/reactionner-master.cfg:9] connection to daemon is OK
OK: [/etc/shinken/pollers/poller-master.cfg:9] connection to daemon is OK
OK: [/etc/shinken/arbiters/arbiter-master.cfg:13] connection to daemon is OK
AT RISK: [/etc/shinken/synchronizers/synchronizer-master.cfg:13] is defined with
localhost address, will be a problem in distributed mode. Please configure it
with the LAN IP/FQDN address instead
AT RISK: [/etc/shinken/schedulers/scheduler-master.cfg:14] is defined with localhost
address, will be a problem in distributed mode. Please configure it with the LAN
IP/FQDN address instead
AT RISK: [/etc/shinken/brokers/broker-master.cfg:15] is defined with localhost address,
will be a problem in distributed mode. Please configure it with the LAN IP/FQDN
address instead
AT RISK: [/etc/shinken/receivers/receiver-master.cfg:7] is defined with localhost
address, will be a problem in distributed mode. Please configure it with the LAN
IP/FQDN address instead
AT RISK: [/etc/shinken/reactionners/reactionner-master.cfg:9] is defined with localhost
address, will be a problem in distributed mode. Please configure it with the LAN
IP/FQDN address instead
AT RISK: [/etc/shinken/pollers/poller-master.cfg:9] is defined with localhost address,
will be a problem in distributed mode. Please configure it with the LAN IP/FQDN
address instead
AT RISK: [/etc/shinken/arbiters/arbiter-master.cfg:13] is defined with localhost address,
will be a problem in distributed mode. Please configure it with the LAN IP/FQDN
address instead
Libs
OK: [lib check] pymongo is is available
OK: [lib check] pycurl is is available
OK: [lib check] gevent is is available
OK: [lib check] ldap is is available
OK: [lib check] gevent is is available
Licence key
ERROR: The licence key is invalid
ERROR: The key format is invalid.
ERROR: No licence key.
ERROR: The licence key is expired
Modules
OK: [Synchronizer] auth_secret is a custom variable
OK: [Synchronizer] master_key is a custom variable
OK: [WebUI] auth_secret is a custom variable
Storage
OK: [Synchronizer] mongodb server is available: mongodb://localhost/?safe=false
OK: [graphite] server localhost:2003 is available
OK: [webui::mongodb module /etc/shinken/modules/mongodb.cfg:5] mongodb server is
available: mongodb://localhost/?safe=true
OK: [webui::graphite] server 127.0.0.1 is available with 10 top level elements
Données sorties
La commande "healthcheck output" est constituée de plusieurs parties:
- Architecture: au sujet de la configuration des démons
- Libs: au sujet des librairies installées et nécessaires à Shinken Enterprise
- Licence key: au sujet de votre clé de licence
- Modules:au sujet des Interfaces Utilisateurs
- Storage: au sujet du stockage dans mongodb et dans graphite
Il y a 3 niveaux en sortie:
- OK: tout va bien
- At Risk: ça fonctionne, mais quelque chose peut mal évoluer si on ne fixe pas un problème
- Error: il y a une erreure qui doit être réglée
shinken-local-healthcheck
Cet outil est utilisé pour vérifier l'état de l'installation et de la configuration en local de Shinken Enterprise .
Avec cette commande, seuls l'installation et les démons locaux seront vérifiés.
Usage:
shinken-local-healthcheck
Options:
| Name | Description |
|---|---|
--version | Montre le numéro de version du programme et sortie. |
-h, --help | Montre le message d'aide et sortie . |
-w, --write-output | Ecrit des informations pouvant être envoyées à l'équipe Shinken Solutions . |
Données sorties
La commande "healthcheck output" est constituée de plusieurs parties:
- Architecture: au sujet de la configuration des démons
- Libs: au sujet des librairies installées et nécessaires à Shinken Enterprise
- Licence key: au sujet de votre clé de licence
- Modules:au sujet des Interfaces Utilisateurs
- Storage: au sujet du stockage dans mongodb et dans graphite
Il y a 3 niveaux en sortie:
- OK: tout va bien
- At Risk: ça fonctionne, mais quelque chose peut mal évoluer si on ne fixe pas un problème
- Error: il y a une erreure qui doit être réglée
shinken-global-healthcheck
Cet outil est utilisé pour vérifier l'état de l'installation et de la configuration globale de Shinken Enterprise
Avec cette commande, tous les démons (locaux et distants) seront vérifiés. Cette commande doit être lancée sur un démon central (synchronizer/arbiter) .
Usage:
shinken-global-healthcheck
Options:
| Name | Description |
|---|---|
--version | Montre le numéro de version du programme et sortie. |
-h, --help | Montre le message d'aide et sortie . |
-w, --write-output | Ecrit des informations pouvant être envoyées à l'équipe Shinken Solutions . |
Données sorties
La commande "healthcheck output" est constituée de plusieurs parties:
- Architecture: au sujet de la configuration des démons
- Libs: au sujet des librairies installées et nécessaires à Shinken Enterprise
- Licence key: au sujet de votre clé de licence
- Modules:au sujet des Interfaces Utilisateurs
- Storage: au sujet du stockage dans mongodb et dans graphite
Il y a 3 niveaux en sortie:
- OK: tout va bien
- At Risk: ça fonctionne, mais quelque chose peut mal évoluer si on ne fixe pas un problème
- Error: il y a une erreure qui doit être réglée
Add Comment