# /etc/conf.d/shinken # location of the nagios configuration file SHINKENCFG="/etc/shinken/nagios.cfg" # We got 2 configs because tools like Centreon don't generate all #configuration (only the shinken.cfg part) SHINKENSPECIFICCFG="/etc/shinken/shinken-specific.cfg" # The command to launch ARBITERDAEMON="/usr/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/lib/shinken/arbiterd.pid} else ARBITERPID="/var/lib/shinken/arbiterd.pid" fi ARBITERDEBUGFILE="/var/lib/shinken/arbiter-debug.log" ###SCHEDULER PART # location of the scheduler daemon configuration SCHEDULERCFG="/etc/shinken/schedulerd.ini" # The command to launch SCHEDULERDAEMON="/usr/bin/shinken-scheduler" #The SCHEDULER PID SCHEDULERPID="/var/lib/shinken/schedulerd.pid" SCHEDULERDEBUGFILE="/var/lib/shinken/scheduler-debug.log" ###POLLER PART # location of the poller daemon configuration POLLERCFG="/etc/shinken/pollerd.ini" # The command to launch POLLERDAEMON="/usr/bin/shinken-poller" #The poller pid POLLERPID="/var/lib/shinken/pollerd.pid" POLLERDEBUGFILE="/var/lib/shinken/poller-debug.log" ###REACTIONNER PART # location of the reactionner daemon configuration REACTIONNERCFG="/etc/shinken/reactionnerd.ini" # The command to launch REACTIONNERDAEMON="/usr/bin/shinken-reactionner" #The reactionner pid REACTIONNERPID="/var/lib/shinken/reactionnerd.pid" REACTIONNERDEBUGFILE="/var/lib/shinken/reactionner-debug.log" ###BROKER PART # location of the broker daemon configuration BROKERCFG="/etc/shinken/brokerd.ini" # The command to launch BROKERDAEMON="/usr/bin/shinken-broker" #The broker pid BROKERPID="/var/lib/shinken/brokerd.pid" BROKERDEBUGFILE="/var/lib/shinken/broker-debug.log" ###RECEIVER PART # location of the broker daemon configuration RECEIVERCFG="/etc/shinken/receiverd.ini" # The command to launch RECEIVERDAEMON="/usr/bin/shinken-receiver" #The broker pid RECEIVERPID="/var/lib/shinken/receiverd.pid" RECEIVERDEBUGFILE="/var/lib/shinken/receiver-debug.log" # nicelevel to run nagios daemon with NICENESS=5