2 #$ETC$ is where we put all configuration files
3 #$VAR$ is where we put all variables files (pid, and all)
4 #$SCRIPTS_BIN$ is chere the launch scripts will be send
8 # location of the nagios configuration file
9 SHINKENCFG="$ETC$/nagios.cfg"
11 # We got 2 config because tools like Centreon do nto generate all
12 #configuration (onnly the shinken.cfg part)
13 SHINKENSPECIFICCFG="$ETC$/shinken-specific.cfg"
15 # The command to launch
16 ARBITERDAEMON=$SCRIPTS_BIN$/shinken-arbiter
19 ARBITERPID=$(grep lock_file $SHINKENCFG | cut -d= -f2)
22 # The place of the scheduler daemon configuration
23 SCHEDULERCFG="$ETC$/schedulerd.ini"
25 # The command to launch
26 SCHEDULERDAEMON=$SCRIPTS_BIN$/shinken-scheduler
29 SCHEDULERPID="$VAR$/schedulerd.pid"
33 # The place of the poller daemon configuration
34 POLLERCFG="$ETC$/pollerd.ini"
36 # The command to launch
37 POLLERDAEMON=$SCRIPTS_BIN$/shinken-poller
40 POLLERPID="$VAR$/pollerd.pid"
43 ###PART FOR REACTIONNER
44 # The place of the reactionner daemon configuration
45 REACTIONNERCFG="$ETC$/reactionnerd.ini"
47 # The command to launch
48 REACTIONNERDAEMON=$SCRIPTS_BIN$/shinken-reactionner
51 REACTIONNERPID="$VAR$/reactionnerd.pid"
55 # The place of the broker daemon configuration
56 BROKERCFG="$ETC$/brokerd.ini"
58 # The command to launch
59 BROKERDAEMON=$SCRIPTS_BIN$/shinken-broker
62 BROKERPID="$VAR$/brokerd.pid"
64 # nicelevel to run nagios daemon with