Compare commits

...

2 Commits

Author SHA1 Message Date
0997c5d44a creation goss s-mon 2024-01-12 15:14:00 +01:00
gsb
bf877b63a6 Actualiser roles/glpi/handlers/main.yml 2024-01-12 15:07:06 +01:00
2 changed files with 33 additions and 19 deletions

View File

@ -1,28 +1,34 @@
file:
/etc/nagios4/htdigest.users:
exists: true
mode: "0640"
owner: nagios
group: www-data
filetype: file
contains: [nagiosadmin]
package: package:
apache2: apache2:
installed: true installed: true
nagios-snmp-plugins: zabbix-server-mysql:
installed: true installed: true
nagios4: zabbix-frontend-php:
installed: true installed: true
snmp: zabbix-apache-conf:
installed: true installed: true
python3-passlib: zabbix-sql-scripts:
installed: true
zabbix-agent:
installed: true
mariadb-server:
installed: true
python3-pymysql:
installed: true installed: true
port: port:
tcp:80: tcp:80:
listening: true listening: true
ip: ip:
- 0.0.0.0 - 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 listening: true
ip: ip:
- 0.0.0.0 - 0.0.0.0
@ -30,7 +36,10 @@ service:
apache2: apache2:
enabled: true enabled: true
running: true running: true
nagios4: zabbix-server:
enabled: true
running: true
zabbix-agent:
enabled: true enabled: true
running: true running: true
command: command:
@ -43,7 +52,9 @@ command:
process: process:
apache2: apache2:
running: true running: true
nagios4: zabbix_server:
running: true
mariadb:
running: true running: true
interface: interface:
enp0s3: enp0s3:
@ -55,7 +66,7 @@ interface:
addrs: addrs:
- 172.16.0.8/24 - 172.16.0.8/24
http: http:
http://localhost/nagios4: http://localhost/zabbix:
status: 401 status: 401
allow-insecure: false allow-insecure: false
no-follow-redirects: false no-follow-redirects: false

View File

@ -1,9 +1,12 @@
--- ---
- name: restart php-fpm - name: restart php-fpm
service: name=php8.2-fpm state=restarted service: name=php8.2-fpm
state=: restarted
- name: restart nginx - name: restart nginx
service: name=nginx state=restarted service: name=nginx
state: restarted
- name: restart mariadb-server - name: restart mariadb-server
service: name=mariadb-server state=restarted service: name=mariadb-server
state: restarted