diff options
author | Ralph Bean <rbean@redhat.com> | 2014-04-24 18:14:32 +0000 |
---|---|---|
committer | Ralph Bean <rbean@redhat.com> | 2014-04-24 18:14:39 +0000 |
commit | 9216d087ea9b6568aa4da28c4f7dac3ce619f894 (patch) | |
tree | 0be2f4facc3b27c11dae6227e1e43e1833e63ace | |
parent | f7fe96ff1e73d4700c15bd4ef6115930d3fd6533 (diff) | |
download | ansible-9216d087ea9b6568aa4da28c4f7dac3ce619f894.tar.gz ansible-9216d087ea9b6568aa4da28c4f7dac3ce619f894.tar.xz ansible-9216d087ea9b6568aa4da28c4f7dac3ce619f894.zip |
Add configuration for hub health monitoring.
-rw-r--r-- | roles/fedmsg/base/templates/base.py.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/fedmsg/base/templates/base.py.j2 b/roles/fedmsg/base/templates/base.py.j2 index f90dfb3d1..b55b48c96 100644 --- a/roles/fedmsg/base/templates/base.py.j2 +++ b/roles/fedmsg/base/templates/base.py.j2 @@ -1,3 +1,4 @@ +import os config = dict( # Set this to dev if you're hacking on fedmsg or an app locally. @@ -45,3 +46,5 @@ config = dict( zmq_tcp_keepalive_idle=60, zmq_tcp_keepalive_intvl=5, ) +# This option adds an IPC socket by which we can monitor hub health. +config['moksha.monitoring.socket'] = 'ipc:///var/run/fedmsg/monitoring-%i.socket' % os.getpid() |