Commands

Usage for all daemons (in one command)


service shinken [ -d ]  [ --id X] {start|stop|restart|status|check}

or

/etc/init.d/shinken [ -d ]  [ --id X] {start|stop|restart|status|check}


-d  starts the daemons in debug mode (only with start/restart)
--id X : specify the daemon's instance number

You can use both "service" command or direct command call from "/etc/init.d/" (the service command calls /etc/init.d scripts behind the scenes).


Usage for a single daemon


service shinken-DAEMON [ -d ]  [ --id X] {start|stop|restart|status|check}

or

/etc/init.d/shinken-DAEMON [ -d ]  [ --id X] {start|stop|restart|status|check}


-d  starts the daemon in debug mode (only with start/restart)
--id X : specify the daemon's instance number

DAEMON can be one of the following: arbiter, synchronizer, receiver, scheduler, reactionner, poller, broker


Examples

Example for all daemons

Restart all Shinken daemons :

service shinken restart

or 

/etc/init.d/shinken restart


Restart all Shinken daemons in debug mode (more detailed logs):

service shinken -d restart


Example for a single daemon

Restart Broker in debug mode:

service shinken-broker -d restart

Stop Poller daemon:

/etc/init.d/shinken-poller stop


Example for a daemon with a specific ID

Restart the Poller with ID 1:

service shinken-poller --id 1 restart


Example of daemons status


service shinken status