test goss machine s-mon
This commit is contained in:
parent
21ee40ab59
commit
b57b0763e9
146
goss/s-mon.yaml
146
goss/s-mon.yaml
@ -1,92 +1,62 @@
|
|||||||
package:
|
|
||||||
apache2:
|
|
||||||
installed: true
|
|
||||||
zabbix-server-mysql:
|
|
||||||
installed: true
|
|
||||||
zabbix-frontend-php:
|
|
||||||
installed: true
|
|
||||||
zabbix-apache-conf:
|
|
||||||
installed: true
|
|
||||||
zabbix-sql-scripts:
|
|
||||||
installed: true
|
|
||||||
zabbix-agent:
|
|
||||||
installed: true
|
|
||||||
mariadb-server:
|
|
||||||
installed: true
|
|
||||||
python3-pymysql:
|
|
||||||
installed: true
|
|
||||||
systemd-journal-remote:
|
|
||||||
installed: true
|
|
||||||
file:
|
file:
|
||||||
/etc/systemd/system/systemd-journal-remote.service:
|
/etc/systemd/system/systemd-journal-remote.service:
|
||||||
exist: true
|
exists: true
|
||||||
mode: "0777"
|
mode: "0644"
|
||||||
filetype: directory
|
owner: root
|
||||||
/var/log/journal/remote:
|
group: root
|
||||||
exist: true
|
filetype: file
|
||||||
mode: "0777"
|
contents: []
|
||||||
filetype: directory
|
/var/log/journal/remote:
|
||||||
port:
|
exists: true
|
||||||
tcp:80:
|
mode: "0755"
|
||||||
listening: true
|
owner: systemd-journal-remote
|
||||||
ip:
|
group: systemd-journal-remote
|
||||||
- 0.0.0.0
|
filetype: directory
|
||||||
tcp:3306:
|
contents: []
|
||||||
listening: true
|
package:
|
||||||
ip:
|
apache2:
|
||||||
- 127.0.0.1
|
installed: true
|
||||||
tcp:10050:
|
versions:
|
||||||
listening: true
|
- 2.4.57-2
|
||||||
ip:
|
mariadb-server:
|
||||||
- 0.0.0.0
|
installed: true
|
||||||
tcp:10051:
|
versions:
|
||||||
listening: true
|
- 1:10.11.4-1~deb12u1
|
||||||
ip:
|
systemd-journal-remote:
|
||||||
- 0.0.0.0
|
installed: true
|
||||||
tcp:19532:
|
versions:
|
||||||
listening: true
|
- 252.19-1~deb12u1
|
||||||
ip:
|
|
||||||
- '*'
|
|
||||||
service:
|
service:
|
||||||
apache2:
|
apache2:
|
||||||
enabled: true
|
enabled: true
|
||||||
running: true
|
running: true
|
||||||
zabbix-server:
|
mariadb.service:
|
||||||
enabled: true
|
enabled: true
|
||||||
running: true
|
running: true
|
||||||
zabbix-agent:
|
systemd-journal-remote.socket:
|
||||||
enabled: true
|
enabled: true
|
||||||
running: true
|
running: true
|
||||||
systemd-journal-remote.socket:
|
zabbix-agent:
|
||||||
enabled: true
|
enabled: true
|
||||||
running: true
|
running: true
|
||||||
command:
|
zabbix-server:
|
||||||
sysctl net.ipv4.ip_forward:
|
enabled: true
|
||||||
exit-status: 0
|
running: true
|
||||||
stdout:
|
|
||||||
- net.ipv4.ip_forward = 0
|
|
||||||
stderr: []
|
|
||||||
timeout: 10000
|
|
||||||
process:
|
|
||||||
apache2:
|
|
||||||
running: true
|
|
||||||
zabbix_server:
|
|
||||||
running: true
|
|
||||||
mariadb:
|
|
||||||
running: true
|
|
||||||
interface:
|
interface:
|
||||||
enp0s3:
|
enp0s3:
|
||||||
exists: true
|
exists: true
|
||||||
addrs:
|
addrs:
|
||||||
- 192.168.99.8/24
|
- 192.168.99.8/24
|
||||||
enp0s8:
|
mtu: 1500
|
||||||
exists: true
|
enp0s8:
|
||||||
addrs:
|
exists: true
|
||||||
- 172.16.0.8/24
|
addrs:
|
||||||
|
- 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
|
||||||
body: []
|
body: []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user