alpha-quadrant/net-analyzer/shinken/files/shinken.confd

90 lines
2.1 KiB
Plaintext
Raw Normal View History

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