Contexte

Le Pack Shinken est inclus dans votre installation de Shinken Entreprise afin d'avoir une bonne visibilité de la santé de votre architecture de supervision.

Afin de pouvoir superviser les démons de l'architecture, la source cfg-file-shinken comprend un certain nombre de modèles d'hôte qu'il faudra importer et appliquer sur vos serveurs hébergeant vos démons Shinken.

Les différents modèles mis à votre disposition sont les suivants :

  • shinken-arbiter
  • shinken-broker
  • shinken-broker-module-sla
  • shinken-poller
  • shinken-reactionner
  • shinken-receiver
  • shinken-scheduler
  • shinken-synchronizer

  



Une fois les modèles appliqués, les checks apparaitront dans l'onglet "Checks" de votre hôte.

Voici un exemple des différents checks du pack Shinken sur un hôte.




Arbiter

Afin de superviser le démon Arbiter, le modèle shinken-arbiter appliqué à votre hôte, attachera deux checks qui vérifieront la santé et la performance de ce démon.

 

Checks


Nom du CheckDescriptionExemple de résultat
Arbiter - AliveVérifie que le démon Arbiter peut être correctement contacté sur le réseau.

Arbiter - PerformanceRetourne le temps de connexion au démon Arbiter ainsi que la liste des connexions avec les autres démons de l'architecture.


Paramétrage des Checks

Les checks de l'Arbiter peuvent être configurés via des données fournies par le modèle.

Les données suivantes sont disponibles:

Nom de la donnéeDescriptionValeur par défaut
ARBITER_PORTPort utilisé pour l'établissement de la connexion avec l'Arbiter7770
SHINKEN_PROTOCOLProtocole utilisé pour établir la connexion avec l'Arbiterhttp


Broker

Afin de superviser le démon Broker, le modèle shinken-broker appliqué à votre hôte, attachera plusieurs checks qui vérifieront la santé et la performance de ce démon.

Checks


Nom du CheckDescriptionExemple de résultat
Broker - AliveVérifie que le démon Broker peut être correctement contacté sur le réseau.

Broker - Performance API ConnectionVérifie les temps de connexion vers le Broker

Broker - Performance Modules QueuesVérifie les performances des modules du Broker

Broker Daemon Module SLAVérifie le bon fonctionnement du module SLA

 


Paramétrage des Checks

Les checks du Broker peuvent être configurés via des données fournies par le modèle.

Les données suivantes sont disponibles:

Nom de la donnéeDescriptionValeur par défaut
BROKER_PORTPort utilisé pour l'établissement de la connexion avec Broker7772
   


Poller

Afin de superviser le démon Broker, le modèle shinken-poller appliqué à votre hôte, attachera plusieurs checks qui vérifieront la santé et la performance de ce démon.

Checks


Nom du checkDescriptionExemple de résultat
Poller - Running Well

Vérifie que le Poller est joignable sur le réseau, affiche ses tags et le statut de connexion avec les schedulers

Poller - PerformanceDisplay performance statistics of checks execution in the Poller.


Check settings

Poller checks can be configured via datas provided by the template.

The following datas are available for the Poller:

Data nameDescriptionDefault Value
POLLER_PORTPort used to establish the connection with the Poller7771
NB_CHECK_IN_TIMEOUT_TOLERATENumber of checks in timeout threshold. Over this limit, the check will exit with an error status0
ACTIVE_POLLER_LATENCYConnection latency above which the check will issue an error. (in seconds)0.5


Reactionner

Corresponding host template: shinken-reactionner

Checks


Check nameDescriptionExample Output
Reactionner - Running WellChecks that the Reactionner daemon can be reached over the network, displays its tags and the connection status with the schedulers

Reactionner - PerformanceDisplay performance statistics of notifications execution in the Reactionner.


Checks settings

Reactionner checks can be configured via datas provided by the template.

The following datas are available for the Reactionner.

Data nameDescriptionDefault Value
REACTIONNER_PORTPort used to establish the connection with the Reactionner7769
ACTIVE_REACTIONNER_LATENCYConnection latency above which the check will issue an error. (in seconds)0.5


Receiver

Corresponding host template: shinken-receiver

Checks


Check nameDescriptionExample Output
Receiver - AliveChecks that the Receiver can be reached over the network

Receiver - Performance API ConnectionChecks connection time to the Receiver and its performances


Check settings

 

Receiver checks can be configured via datas provided by the template.

The following datas are available for the Receiver:

Data nameDescriptionDefault Value
RECEIVER_PORTPort used to establish the connection with the Receiver7769


Scheduler

Corresponding host template: shinken-scheduler

Checks


Check nameDescriptionExample Output
Scheduler - Running WellChecks that the Scheduler daemon can be reached over the network, displays how many elements it is managing

Scheduler - PerformanceDisplays CPU usage as well as poller and reactionners statistics.


Check settings

Scheduler checks can be configured via datas provided by the template. SSH parameters are fully described in Rétention Mongodb

The following datas are available for the Scheduler:

Data nameDescriptionDefault Value
SCHEDULER_PORTPort used to establish the connection with the Scheduler7768
PASSIVE_POLLER_LATENCYConnection latency above which the check will issue an error. (in seconds)0.5
MONGO_CONNECTION_METHODConnection method to the MongoDB server ("direct" or "ssh")ssh
MONGO_SSH_USERUser with whom to connect to the distant servershinken
MONGO_SSH_KEYFILESSH private key file to use to connect to the distant server~/.ssh/id_rsa


Synchronizer

Corresponding host template: shinken-synchronizer

Checks


Check nameDescriptionExample Output
Synchronizer - AliveChecks that the Scheduler daemon can be reached over the network

Synchronizer - Performance API ConnectionChecks connection time to the Synchronizer and its performances


Check settings

Synchronizer checks can be configured via datas provided by the template. SSH parameters are fully described in Rétention Mongodb

The following datas are available for the Synchronizer:

Data nameDescriptionDefault Value
SYNCHRONIZER_PORTPort used to establish the connection with the Synchronizer

7765

MONGO_CONNECTION_METHODConnection method to the MongoDB server ("direct" or "ssh")ssh
MONGO_SSH_USERUser with whom to connect to the distant servershinken
MONGO_SSH_KEYFILESSH private key file to use to connect to the distant server~/.ssh/id_rsa