Fix qa09.mgmt https check and add a restart for nagios
This commit is contained in:
parent
e1563a34bb
commit
29bfbdffda
3 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue