# /etc/default/shinken ## These vars will overRide the hardcoded ones in init script ETC=/etc/shinken VAR=/var/lib/shinken BIN=/usr/bin # location of the nagios configuration file SHINKENCFG="$ETC/nagios.cfg" # We got 2 configs because tools like Centreon don't generate all #configuration (only the shinken.cfg part) SHINKENSPECIFICCFG="$ETC/shinken-specific.cfg" # The command to launch ARBITERDAEMON=$BIN/shinken-arbiter #The ARBITER PID if [ -r $SHINKENCFG ] ; then tmppid=`grep 'lock_file=' $SHINKENCFG | grep -v '#' | tail -n 1 | awk -F '=' '{print $2}'` ARBITERPID=${tmppid-$VAR/arbiterd.pid} else ARBITERPID="$VAR/arbiterd.pid" fi ARBITERDEBUGFILE="$VAR/arbiter-debug.log" ###SCHEDULER PART # location of the scheduler daemon configuration SCHEDULERCFG="$ETC/schedulerd.ini" # The command to launch SCHEDULERDAEMON=$BIN/shinken-scheduler #The SCHEDULER PID SCHEDULERPID="$VAR/schedulerd.pid" SCHEDULERDEBUGFILE="$VAR/scheduler-debug.log" ###POLLER PART # location of the poller daemon configuration POLLERCFG="$ETC/pollerd.ini" # The command to launch POLLERDAEMON=$BIN/shinken-poller #The poller pid POLLERPID="$VAR/pollerd.pid" POLLERDEBUGFILE="$VAR/poller-debug.log" ###REACTIONNER PART # location of the reactionner daemon configuration REACTIONNERCFG="$ETC/reactionnerd.ini" # The command to launch REACTIONNERDAEMON=$BIN/shinken-reactionner #The reactionner pid REACTIONNERPID="$VAR/reactionnerd.pid" REACTIONNERDEBUGFILE="$VAR/reactionner-debug.log" ###BROKER PART # location of the broker daemon configuration BROKERCFG="$ETC/brokerd.ini" # The command to launch BROKERDAEMON=$BIN/shinken-broker #The broker pid BROKERPID="$VAR/brokerd.pid" BROKERDEBUGFILE="$VAR/broker-debug.log" ###RECEIVER PART # location of the broker daemon configuration RECEIVERCFG="$ETC/receiverd.ini" # The command to launch RECEIVERDAEMON=$BIN/shinken-receiver #The broker pid RECEIVERPID="$VAR/receiverd.pid" RECEIVERDEBUGFILE="$VAR/receiver-debug.log" # nicelevel to run nagios daemon with NICENESS=5