Commands
Usage
pour tous les démons (en une seule commande) :for all daemons (in one command)
| Code Block |
|---|
service shinken [ -d ] [ --id X] {start|stop|restart|status|check}
|
ouor
| Code Block |
|---|
/etc/init.d/shinken [ -d ] [ --id X] {start|stop|restart|status|check} |
| Info |
|---|
-d démarre le module/démon en mode debug, uniquement avec start|restart starts the daemons in debug mode (only with start/restart) You can use both "service" command or direct command call from "Nous vous laissons le choix d'utiliser la commande "service" ou de lancer les scripts directement depuis /etc/init.d, à votre convenance. (les commandes via "service" appellent les scripts de /" (the service command calls /etc/init.d scripts behind the scenes). |
Usage
spécifique par démon :for a single daemon
| Code Block |
|---|
service shinken-DEMONDAEMON [ -d ] [ --id X] {start|stop|restart|status|check} |
ouor
| Code Block |
|---|
/etc/init.d/shinken-DEMONDAEMON [ -d ] [ --id X] {start|stop|restart|status|check} |
| Info |
|---|
-d démarre le module/démon en mode debug, uniquement avec start|restart starts the daemon in debug mode (only with start/restart) DAEMON can be one of the followingDEMON peut être : arbiter, synchronizer, receiver, scheduler, reactionner, poller, broker |
Exemples
Exemple pour tous les démons (en une seule commande) :
Examples
Example for all daemons
Restart all Shinken daemons Redémarrage de tous les démons Shinken :
| Code Block |
|---|
service shinken restart |
ou or
| Code Block |
|---|
/etc/init.d/shinken restart |
Redémarrage de tous les démons Shinken en mode debug (les logs seront plus détaillésRestart all Shinken daemons in debug mode (more detailed logs):
| Code Block |
|---|
service shinken -d restart |
Exemple spécifique par démon :
Example for a single daemon
Restart Broker in debug modeRedémarrage du broker en mode débug :
| Code Block |
|---|
service shinken-broker -d restart |
Arrêt du poller Stop Poller daemon:
| Code Block |
|---|
/etc/init.d/shinken-poller stop |
Exemple spécifique par démon et avec ID :
Example for a daemon with a specific ID
Restart the Poller with ID Redémarrage du poller avec id 1:
| Code Block |
|---|
service shinken-poller --id 1 restart |
Exemple de statut des démons
Example of daemons status
Ici le retour de la commande :
| Code Block |
|---|
service shinken status |
| Panel |
|---|
