mirror of
https://github.com/optim-enterprises-bv/openstack-helm-images.git
synced 2025-12-30 10:20:55 +00:00
Nagios: Add elasticsearch python clients to image
This adds the elasticsearch and elasticsearch-dsl python client packages to the Nagios image, so that they can be used to support plugins and scripts for querying Elasticsearch directly Change-Id: Ic235bf1409ee58aa49d299f07c27dc166b3b8c1f Signed-off-by: Steve Wilkerson <sw5822@att.com>
This commit is contained in:
@@ -7,6 +7,8 @@ ENV NAGIOS_HOME /opt/nagios
|
||||
ENV NAGIOS_PLUGIN_DIR /usr/lib/nagios/plugins
|
||||
ENV APACHE_FRONTEND_PORT 8000
|
||||
ENV APACHE_FRONTEND_SECURE_PORT 8443
|
||||
ENV ES_VERSION=5.5.3
|
||||
ENV ES_DSL_VERSION=5.4.0
|
||||
|
||||
RUN apt-get -o Acquire::ForceIPv4=true -y update \
|
||||
&& apt-get -y install curl apache2 checkinstall unzip libapache2-mod-php snmp snmpd snmp-mibs-downloader jq python-requests \
|
||||
@@ -18,6 +20,8 @@ RUN pip --no-cache-dir install --upgrade pip \
|
||||
&& hash -r \
|
||||
&& pip --no-cache-dir install --upgrade setuptools \
|
||||
&& pip --no-cache-dir install --upgrade kubernetes \
|
||||
&& pip --no-cache-dir install --upgrade elasticsearch==${ES_VERSION} \
|
||||
&& pip --no-cache-dir install --upgrade elasticsearch-dsl==${ES_DSL_VERSION} \
|
||||
&& pip uninstall -y urllib3 \
|
||||
&& pip --no-cache-dir install urllib3==1.23
|
||||
|
||||
|
||||
Reference in New Issue
Block a user