Now use shinken2.4

Change-Id: Ifaf6ea8cccf93b917ea9b798b41ee1a1d208051d
This commit is contained in:
aviau 2015-04-16 15:53:03 -04:00
parent 1a4fc25a13
commit 465d1fa9d5
8 changed files with 9 additions and 12 deletions

View File

@ -9,14 +9,11 @@ RUN apt-get install -y vim supervisor python-dev libffi-dev libssl-dev
### Shinken
RUN apt-get install -y python-pip
RUN sh -c 'gpg --recv-keys --keyserver pgp.mit.edu 2320E8F8 && gpg --export --armor 2320E8F8 | apt-key add -' && \
echo 'deb http://deb.kaji-project.org/ubuntu14.04/ amakuni main' >> /etc/apt/sources.list.d/kaji.list && \
apt-get update
RUN apt-get install -y shinken-common
RUN useradd shinken && pip install https://github.com/naparuba/shinken/archive/5fc7ab61644152ae752b55cee28cc5c9a346591b.zip
RUN apt-get install -y python-pycurl
RUN shinken --init
## modules
RUN mkdir /var/lib/shinken/share /var/lib/shinken/doc /var/lib/shinken/inventory
RUN shinken install webui
RUN shinken install auth-cfg-password
RUN pip install influxdb && shinken install mod-influxdb

View File

@ -35,7 +35,7 @@ define arbiter {
# - FileTag = Tag an host if it's on a flat file
# - CSVTag = Tag an host from the content of a CSV file
modules named-pipe,mongodb,ws-arbiter
modules mongodb,ws-arbiter
#modules named-pipe, mongodb, nsca, VMWare_auto_linking, ws-arbiter, Collectd, mport-landscape, SnmpBooster, AWS
# Enable https or not

View File

@ -43,6 +43,6 @@ log_level=WARNING
max_queue_size=100000
modules_dir=/usr/share/pyshared/shinken/modules/
modules_dir=/var/lib/shinken/modules
user=shinken
group=shinken

View File

@ -36,6 +36,6 @@ local_log=%(logdir)s/pollerd.log
log_level=WARNING
modules_dir=/usr/share/pyshared/shinken/modules/
modules_dir=/var/lib/shinken/modules
user=shinken
group=shinken

View File

@ -31,6 +31,6 @@ local_log=%(logdir)s/reactionnerd.log
# accepted log level values= DEBUG,INFO,WARNING,ERROR,CRITICAL
log_level=WARNING
modules_dir=/usr/share/pyshared/shinken/modules/
modules_dir=/var/lib/shinken/modules
user=shinken
group=shinken

View File

@ -31,6 +31,6 @@ local_log=%(logdir)s/receiverd.log
# accepted log level values= DEBUG,INFO,WARNING,ERROR,CRITICAL
log_level=WARNING
modules_dir=/usr/share/pyshared/shinken/modules/
modules_dir=/var/lib/shinken/modules
user=shinken
group=shinken

View File

@ -36,6 +36,6 @@ local_log=%(logdir)s/schedulerd.log
# accepted log level values= DEBUG,INFO,WARNING,ERROR,CRITICAL
log_level=WARNING
modules_dir=/usr/share/pyshared/shinken/modules/
modules_dir=/var/lib/shinken/modules
user=shinken
group=shinken

View File

@ -116,7 +116,7 @@ shinken_user=shinken
shinken_group=shinken
# The path to the modules directory
modules_dir=/usr/share/pyshared/shinken/modules/
modules_dir=/var/lib/shinken/modules
# Set to 0 if you want to make this daemon (arbiter) NOT run
daemon_enabled=1