Add : (Denis GERMAIN) check_shinken plugin and interface in the arbiter to get data.
[shinken.git] / bin / init.d / shinken-reactionner
blobadbb3b44bb28bb820372ad1c531509482005341a
1 #! /bin/sh
3 ### BEGIN INIT INFO
4 # Provides: shinken-reactionner
5 # Required-Start: $all
6 # Required-Stop: $all
7 # Default-Start: 2 3 4 5
8 # Default-Stop: 0 1 6
9 # Short-Description: Shinken reactionner daemon
10 # Description: Shinken is a monitoring tool and the Reactionner
11 # is one of its daemon. This one gets the configuration from the arbiter
12 # His purpose is to get the actually do the actions like sending an email
13 # ordered by the schedulers specified in the configuration
14 ### END INIT INFO
16 ### BEGIN INIT INFO Redhat
17 # Shinken Starts Shinken Reactionner
19 # chkconfig: 345 99 01
20 # description: Start Shinken reactionner daemon
21 ### END INIT INFO
23 # Author: Gabes Jean <naparuba@gmail.com>
24 # Olivier LI-KIANG-CHEONG <lkco@gezen.fr>
27 NAME="shinken-reactionner"
29 curdir=$(dirname "$0")
31 export SHINKEN_MODULE_FILE="$NAME" ## for 'shinken' init script to see that it's called by us
33 "$curdir/shinken" -m reactionner $@
35 exit $?