Add ansible and fedmsg endpoints for mm
This commit is contained in:
parent
ecbdc9071c
commit
d2052d3f9e
4 changed files with 15 additions and 2 deletions
|
@ -32,7 +32,7 @@
|
|||
- fas_client
|
||||
- sudo
|
||||
- collectd/base
|
||||
- { role: openvpn/client, when: env != "staging" and inventory_hostname.startswith('mm-frontend01') }
|
||||
- { role: openvpn/client, when: env != "staging" and inventory_hostname.startswith('mm-frontend') }
|
||||
- { role: nfs/client, when: inventory_hostname.startswith('mm-backend01'), mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||
|
||||
tasks:
|
||||
|
|
|
@ -61,6 +61,12 @@ config = dict(
|
|||
"tcp://mm-frontend01.%s:30%02i" % (suffix, i)
|
||||
for i in range(2)
|
||||
],
|
||||
{% if env != 'staging' %}
|
||||
"mirrormanager2.mm-frontend02": [
|
||||
"tcp://mm-frontend02.%s:30%02i" % (suffix, i)
|
||||
for i in range(2)
|
||||
],
|
||||
{% endif %}
|
||||
|
||||
# mizdebsk says he thinks we'll need four sockets. Two services
|
||||
# (koschei-resolver and koschei-polling) are only sending messages, one
|
||||
|
|
7
roles/nagios_server/files/nagios/hosts/mm-frontend02.cfg
Normal file
7
roles/nagios_server/files/nagios/hosts/mm-frontend02.cfg
Normal file
|
@ -0,0 +1,7 @@
|
|||
define host {
|
||||
host_name mm-frontend02
|
||||
alias mm-frontend02.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
address mm-frontend02.phx2.fedoraproject.org
|
||||
parents virthost02
|
||||
}
|
|
@ -44,7 +44,7 @@ define service {
|
|||
}
|
||||
|
||||
define service {
|
||||
host_name mm-frontend01,mm-frontend01.stg
|
||||
host_name mm-frontend01,mm-frontend02,mm-frontend01.stg
|
||||
service_description mm-publiclist-internal
|
||||
check_command check_website!localhost!/mirrormanager/api/mirroradmins/?name=dl.fedoraproject.org
|
||||
use internalwebsitetemplate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue