From 61c8f97ede09886a7cc4d4f396a4dee4adf7b759 Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Mon, 30 Dec 2024 11:44:18 -0500 Subject: [PATCH] rm objects --- Dockerfile | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8d6e6d0..c4c8980 100644 --- a/Dockerfile +++ b/Dockerfile @@ -247,7 +247,7 @@ COPY overlay/opt/nagios/libexec/* ${NAGIOS_HOME}/libexec/ #COPY overlay/usr ${NAGIOS_HOME}/usr RUN cd /opt/nagios/etc/objects && \ - rm -f commands.cfg contacts.cfg printer.cfg switch.cfg templates.cfg windows.cfg + rm -f commands.cfg printer.cfg switch.cfg templates.cfg windows.cfg RUN sed -i 's,/bin/mail,/usr/bin/mail,' ${NAGIOS_HOME}/etc/objects/000-commands.cfg && \ sed -i 's,/usr/usr,/usr,' ${NAGIOS_HOME}/etc/objects/000-commands.cfg diff --git a/docker-compose.yml b/docker-compose.yml index 32110d1..dec3c6c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: build: dockerfile: Dockerfile container_name: nagios - image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:241230.0.4 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:241230.0.5 networks: infra_dev_net: ipv4_address: 10.99.23.36