Now use shinken2.4
Change-Id: Ifaf6ea8cccf93b917ea9b798b41ee1a1d208051d
This commit is contained in:
parent
1a4fc25a13
commit
465d1fa9d5
@ -9,14 +9,11 @@ RUN apt-get install -y vim supervisor python-dev libffi-dev libssl-dev
|
|||||||
|
|
||||||
### Shinken
|
### Shinken
|
||||||
RUN apt-get install -y python-pip
|
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 -' && \
|
RUN useradd shinken && pip install https://github.com/naparuba/shinken/archive/5fc7ab61644152ae752b55cee28cc5c9a346591b.zip
|
||||||
echo 'deb http://deb.kaji-project.org/ubuntu14.04/ amakuni main' >> /etc/apt/sources.list.d/kaji.list && \
|
RUN apt-get install -y python-pycurl
|
||||||
apt-get update
|
|
||||||
RUN apt-get install -y shinken-common
|
|
||||||
RUN shinken --init
|
RUN shinken --init
|
||||||
|
|
||||||
## modules
|
## modules
|
||||||
RUN mkdir /var/lib/shinken/share /var/lib/shinken/doc /var/lib/shinken/inventory
|
|
||||||
RUN shinken install webui
|
RUN shinken install webui
|
||||||
RUN shinken install auth-cfg-password
|
RUN shinken install auth-cfg-password
|
||||||
RUN pip install influxdb && shinken install mod-influxdb
|
RUN pip install influxdb && shinken install mod-influxdb
|
||||||
|
@ -35,7 +35,7 @@ define arbiter {
|
|||||||
# - FileTag = Tag an host if it's on a flat file
|
# - FileTag = Tag an host if it's on a flat file
|
||||||
# - CSVTag = Tag an host from the content of a CSV 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
|
#modules named-pipe, mongodb, nsca, VMWare_auto_linking, ws-arbiter, Collectd, mport-landscape, SnmpBooster, AWS
|
||||||
|
|
||||||
# Enable https or not
|
# Enable https or not
|
||||||
|
@ -43,6 +43,6 @@ log_level=WARNING
|
|||||||
max_queue_size=100000
|
max_queue_size=100000
|
||||||
|
|
||||||
|
|
||||||
modules_dir=/usr/share/pyshared/shinken/modules/
|
modules_dir=/var/lib/shinken/modules
|
||||||
user=shinken
|
user=shinken
|
||||||
group=shinken
|
group=shinken
|
||||||
|
@ -36,6 +36,6 @@ local_log=%(logdir)s/pollerd.log
|
|||||||
log_level=WARNING
|
log_level=WARNING
|
||||||
|
|
||||||
|
|
||||||
modules_dir=/usr/share/pyshared/shinken/modules/
|
modules_dir=/var/lib/shinken/modules
|
||||||
user=shinken
|
user=shinken
|
||||||
group=shinken
|
group=shinken
|
||||||
|
@ -31,6 +31,6 @@ local_log=%(logdir)s/reactionnerd.log
|
|||||||
# accepted log level values= DEBUG,INFO,WARNING,ERROR,CRITICAL
|
# accepted log level values= DEBUG,INFO,WARNING,ERROR,CRITICAL
|
||||||
log_level=WARNING
|
log_level=WARNING
|
||||||
|
|
||||||
modules_dir=/usr/share/pyshared/shinken/modules/
|
modules_dir=/var/lib/shinken/modules
|
||||||
user=shinken
|
user=shinken
|
||||||
group=shinken
|
group=shinken
|
||||||
|
@ -31,6 +31,6 @@ local_log=%(logdir)s/receiverd.log
|
|||||||
# accepted log level values= DEBUG,INFO,WARNING,ERROR,CRITICAL
|
# accepted log level values= DEBUG,INFO,WARNING,ERROR,CRITICAL
|
||||||
log_level=WARNING
|
log_level=WARNING
|
||||||
|
|
||||||
modules_dir=/usr/share/pyshared/shinken/modules/
|
modules_dir=/var/lib/shinken/modules
|
||||||
user=shinken
|
user=shinken
|
||||||
group=shinken
|
group=shinken
|
||||||
|
@ -36,6 +36,6 @@ local_log=%(logdir)s/schedulerd.log
|
|||||||
# accepted log level values= DEBUG,INFO,WARNING,ERROR,CRITICAL
|
# accepted log level values= DEBUG,INFO,WARNING,ERROR,CRITICAL
|
||||||
log_level=WARNING
|
log_level=WARNING
|
||||||
|
|
||||||
modules_dir=/usr/share/pyshared/shinken/modules/
|
modules_dir=/var/lib/shinken/modules
|
||||||
user=shinken
|
user=shinken
|
||||||
group=shinken
|
group=shinken
|
||||||
|
@ -116,7 +116,7 @@ shinken_user=shinken
|
|||||||
shinken_group=shinken
|
shinken_group=shinken
|
||||||
|
|
||||||
# The path to the modules directory
|
# 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
|
# Set to 0 if you want to make this daemon (arbiter) NOT run
|
||||||
daemon_enabled=1
|
daemon_enabled=1
|
||||||
|
Loading…
Reference in New Issue
Block a user