List daemons of a Shinken server

This tool is used for listing daemons installed locally on the Shinken server. This will not list all of the daemons of the Shinken architecture (potentially distributed between multiple servers) but only the daemons installed locally on the server.

Usage

The following commands list the Shinken daemons on the server:

shinken-daemons-list

Options :

NomDescription
--version
Displays version number
-h, --help
Displays help message


Examples


$ shinken-daemons-list
-- arbiter          - [id:0] arbiter-master         : ENABLED   | configuration in: /etc/shinken/shinken.cfg
-- broker           - [id:0] broker-master          : ENABLED   | configuration in: /etc/shinken/daemons/brokerd.ini
-- poller           - [id:0] poller-master          : ENABLED   | configuration in: /etc/shinken/daemons/pollerd.ini
   poller           - [id:1] Poller-2               : ENABLED   | configuration in: /etc/shinken/daemons/pollerd-1.ini
-- reactionner      - [id:0] reactionner-master     : ENABLED   | configuration in: /etc/shinken/daemons/reactionnerd.ini
-- receiver         - [id:0] receiver-master        : ENABLED   | configuration in: /etc/shinken/daemons/receiverd.ini
-- scheduler        - [id:0] scheduler-master       : ENABLED   | configuration in: /etc/shinken/daemons/schedulerd.ini
-- synchronizer     - [id:0] synchronizer-master    : ENABLED   | configuration in: /etc/shinken/synchronizer.cfg


Enable one or multiple daemons

This tool is used to enable a daemon locally on the server

Usage

The following command enables daemons locally on the server:

shinken-daemons-enable [poller synchronizer scheduler reactionner receiver broker]

Options :

NomDescription
--version
Displays version number
-h, --help
Displays help message
--forceForce daemon activation even if the daemon was already enabled
--id=DAEMON_ID[Optional] Enables only the daemon instance with the specified ID. If this option is not passed, all daemons instances of the specified type are enabled.


Examples


Enable all instances of Reactionners and Pollers daemons on the server:

$ shinken-daemons-enable reactionner poller
 [id:0] reactionner-master  : ENABLED
 [id:1] Poller-2            : ENABLED
 [id:0] poller-master       : ENABLED


Enable Poller with ID 1 on the server:

$ shinken-daemons-enable poller --id=1
 [id:1] Poller-2            : ENABLED


Disable on or multiple daemons

This tool is used to disable a daemon locally on the server

Usage

The following command enables daemons locally on the server:

shinken-daemons-disable [poller synchronizer scheduler reactionner receiver broker]

Options :

NomDescription
--version
Displays version number
-h, --help
Displays help message
--forceForce daemon desactivation even if the daemon was already disabled
--id=DAEMON_ID[Optional] Disablesonly the daemon instance with the specified ID. If this option is not passed, all daemons instances of the specified type are disabled.


Examples


Disableall instances of Reactionners and Pollers daemons on the server:

$ shinken-daemons-disable reactionner poller
 [id:0] reactionner-master  : DISABLED
 [id:1] Poller-2            : DISABLED
 [id:0] poller-master       : DISABLED


Enable Poller with ID 1 on the server:

$ shinken-daemons-disable poller --id=1
 [id:1] Poller-2            : DISABLED