test goss machine s-mon

This commit is contained in:
root 2024-01-19 14:25:34 +01:00
parent 21ee40ab59
commit b57b0763e9

View File

@ -1,91 +1,61 @@
file:
/etc/systemd/system/systemd-journal-remote.service:
exists: true
mode: "0644"
owner: root
group: root
filetype: file
contents: []
/var/log/journal/remote:
exists: true
mode: "0755"
owner: systemd-journal-remote
group: systemd-journal-remote
filetype: directory
contents: []
package: package:
apache2: apache2:
installed: true installed: true
zabbix-server-mysql: versions:
installed: true - 2.4.57-2
zabbix-frontend-php:
installed: true
zabbix-apache-conf:
installed: true
zabbix-sql-scripts:
installed: true
zabbix-agent:
installed: true
mariadb-server: mariadb-server:
installed: true installed: true
python3-pymysql: versions:
installed: true - 1:10.11.4-1~deb12u1
systemd-journal-remote: systemd-journal-remote:
installed: true installed: true
file: versions:
/etc/systemd/system/systemd-journal-remote.service: - 252.19-1~deb12u1
exist: true
mode: "0777"
filetype: directory
/var/log/journal/remote:
exist: true
mode: "0777"
filetype: directory
port:
tcp:80:
listening: true
ip:
- 0.0.0.0
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
tcp:19532:
listening: true
ip:
- '*'
service: service:
apache2: apache2:
enabled: true enabled: true
running: true running: true
zabbix-server: mariadb.service:
enabled: true
running: true
zabbix-agent:
enabled: true enabled: true
running: true running: true
systemd-journal-remote.socket: systemd-journal-remote.socket:
enabled: true enabled: true
running: true running: true
command: zabbix-agent:
sysctl net.ipv4.ip_forward: enabled: true
exit-status: 0
stdout:
- net.ipv4.ip_forward = 0
stderr: []
timeout: 10000
process:
apache2:
running: true running: true
zabbix_server: zabbix-server:
running: true enabled: true
mariadb:
running: true running: true
interface: interface:
enp0s3: enp0s3:
exists: true exists: true
addrs: addrs:
- 192.168.99.8/24 - 192.168.99.8/24
mtu: 1500
enp0s8: enp0s8:
exists: true exists: true
addrs: addrs:
- 172.16.0.8/24 - 172.16.0.8/24
mtu: 1500
http: http:
http://localhost/zabbix: http://s-mon.gsb.lan/zabbix:
status: 401 status: 200
allow-insecure: false allow-insecure: false
no-follow-redirects: false no-follow-redirects: false
timeout: 5000 timeout: 5000