From 9655c226b16537695e04fc422dc5620ae6fadcd1 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Jan 2023 08:45:44 +0100 Subject: [PATCH] maj goss s-mon --- goss/s-mon.yaml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/goss/s-mon.yaml b/goss/s-mon.yaml index 10c5be1..d42f96a 100644 --- a/goss/s-mon.yaml +++ b/goss/s-mon.yaml @@ -1,26 +1,27 @@ file: - /etc/icinga/htpasswd.users: + /etc/nagios4/htdigest.users: exists: true - mode: "0644" - size: 26 - owner: root - group: root + mode: "0640" + owner: nagios + group: www-data filetype: file - contains: [] + contains: [nagiosadmin] package: apache2: installed: true nagios-snmp-plugins: installed: true - icinga: + nagios4: installed: true snmp: installed: true + python3-passlib: + installed: true port: - tcp6:80: + tcp:80: listening: true ip: - - '::' + - 0.0.0.0 udp:514: listening: true ip: @@ -29,7 +30,7 @@ service: apache2: enabled: true running: true - icinga: + nagios4: enabled: true running: true command: @@ -42,19 +43,19 @@ command: process: apache2: running: true - icinga: + nagios4: running: true interface: enp0s3: exists: true addrs: - - 192.168.99.8/24 + - 192.168.99.104/24 enp0s8: exists: true addrs: - 172.16.0.8/24 http: - http://localhost/icinga: + http://localhost/nagios4: status: 401 allow-insecure: false no-follow-redirects: false