mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
Fix qa09.mgmt https check and add a restart for nagios
This commit is contained in:
@@ -127,3 +127,6 @@
|
||||
|
||||
- name: reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
||||
- name: restart nagios
|
||||
service: name=nagios state=restarted
|
||||
|
||||
@@ -379,6 +379,13 @@ define service {
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa09.mgmt.fedoraproject.org
|
||||
service_description qa09.mgmt.fedoraproject.org-https
|
||||
check_command check_https!qa09.mgmt.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name sign-vault03.mgmt.fedoraproject.org
|
||||
service_description sign-vault03.mgmt.fedoraproject.org-https
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
tags:
|
||||
- nagios-config
|
||||
- nagios_server
|
||||
notify: restart nagios
|
||||
|
||||
- name: Copy checkcommands.cfg
|
||||
template: src={{nagios_srcdir}}/checkcommands.cfg dest=/etc/nagios/checkcommands.cfg owner=nagios group=nagios
|
||||
|
||||
Reference in New Issue
Block a user