Manipulation des démons Shinken
Usage
(au choix):
| Code Block |
|---|
service shinken-DEMON [ -d ] {start|stop|restart|status|check} |
ou
| Code Block |
|---|
/etc/init.d/shinken-DEMON [ -d ] {start|stop|restart|status|check} |
| Info |
|---|
| -d start requested module(s) in debug mode, only useful with start|restart |
Usage spécifique par démon :
Redémarrage de tous les démons Shinken :
| Code Block |
|---|
service shinken restart |
Redémarrage de tous les démons Shinken en mode debug (les logs seront plus détaillés) :
| Code Block |
|---|
service shinken -d restart |
?????????????????????????????????????????????????????????????????????? ? • MobaXterm 9.0 • ? ? (SSH client, X-server and networking tools) ? ? ? ? ? SSH session to root@172.16.0.5 ? ? • SSH compression : ? ? ? • SSH-browser : ? ? ? • X11-forwarding : ? (disabled or not supported by server) ? ? • DISPLAY : 192.168.1.241:0.0 ? ? ? ? ? For more info, ctrl+click on help or visit our website ? ??????????????????????????????????????????????????????????????????????
Last login: Mon Apr 10 12:28:44 2017 from lab-sup.shinkenlab.local
root@LAB-VM5: ~ 13:48$ service shinken-receiverUsage: shinken-receiver [ -d ]
-DEMON [ -d ] {start|stop|restart|status|check} |
-d start requested module(s) in debug mode, only useful with start|restart
root@LAB-VM5: ~ 13:49$
|
ou
| Code Block |
|---|
/etc/init.d/shinken- |
DEMON [ -d ] {start|stop|restart|status|check} |
| Info |
|---|
-d start requested module(s) in debug mode, only useful with start|restart |
-d start requested module(s) in debug mode, only useful with start|restart
root@LAB-VM5: ~ 13:51$ /etc/init.d/shinken-receiver checkDoing config check [ OK ]
root@LAB-VM5: ~ 13:51$
DEMON peut être : arbiter, synchronizer, receiver, scheduler, reactionner, poller, broker |
Exemples
Exemples:
Redémarrage de tous les démons Shinken :
| Code Block |
|---|
service shinken restart |
ou
| Code Block |
|---|
/etc/init.d/shinken |
-d start requested module(s) in debug mode, only useful with start|restart
root@LAB-VM5: ~ 13:51$
restart |
Redémarrage de tous les démons Shinken en mode debug (les logs seront plus détaillés) :
| Code Block |
|---|
service shinken -d restart |
Redémarrage du broker en mode débug :
| Code Block |
|---|
service shinken-broker -d restart |