From 0997c5d44a8121f25fbb3fc788d9460f9e970f43 Mon Sep 17 00:00:00 2001 From: Jimmy Chevanne Date: Fri, 12 Jan 2024 15:14:00 +0100 Subject: [PATCH] creation goss s-mon --- goss/s-mon.yaml | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/goss/s-mon.yaml b/goss/s-mon.yaml index 2d6aa8a..58ab110 100644 --- a/goss/s-mon.yaml +++ b/goss/s-mon.yaml @@ -1,28 +1,34 @@ -file: - /etc/nagios4/htdigest.users: - exists: true - mode: "0640" - owner: nagios - group: www-data - filetype: file - contains: [nagiosadmin] package: apache2: installed: true - nagios-snmp-plugins: + zabbix-server-mysql: installed: true - nagios4: + zabbix-frontend-php: installed: true - snmp: + zabbix-apache-conf: installed: true - python3-passlib: + zabbix-sql-scripts: + installed: true + zabbix-agent: + installed: true + mariadb-server: + installed: true + python3-pymysql: installed: true port: tcp:80: listening: true ip: - 0.0.0.0 - udp:514: + tcp:3306: + listening: true + ip: + - 127.0.0.1 + tcp:10050: + listening: true + ip: + - 0.0.0.0 + tcp:10051: listening: true ip: - 0.0.0.0 @@ -30,7 +36,10 @@ service: apache2: enabled: true running: true - nagios4: + zabbix-server: + enabled: true + running: true + zabbix-agent: enabled: true running: true command: @@ -43,7 +52,9 @@ command: process: apache2: running: true - nagios4: + zabbix_server: + running: true + mariadb: running: true interface: enp0s3: @@ -55,7 +66,7 @@ interface: addrs: - 172.16.0.8/24 http: - http://localhost/nagios4: + http://localhost/zabbix: status: 401 allow-insecure: false no-follow-redirects: false