Fix qa09.mgmt https check and add a restart for nagios

This commit is contained in:
Kevin Fenzi 2014-09-26 18:23:17 +00:00
parent e1563a34bb
commit 29bfbdffda
3 changed files with 11 additions and 0 deletions

View file

@ -127,3 +127,6 @@
- name: reload systemd
command: systemctl daemon-reload
- name: restart nagios
service: name=nagios state=restarted

View file

@ -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

View file

@ -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