diff options
author | Matthew Jones <mat@matburt.net> | 2014-07-29 17:44:36 +0200 |
---|---|---|
committer | Matthew Jones <mat@matburt.net> | 2014-07-29 17:44:54 +0200 |
commit | 69a3f688328f7b72be5f50056d8bf80097e0e4db (patch) | |
tree | 70f7bbc05f7855a28c9d2257502429b262575c86 /setup.py | |
parent | Websocket Help (diff) | |
download | awx-69a3f688328f7b72be5f50056d8bf80097e0e4db.tar.xz awx-69a3f688328f7b72be5f50056d8bf80097e0e4db.zip |
Add some munin tower monitoring tasks
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -16,6 +16,9 @@ build_timestamp = os.getenv("BUILD",datetime.datetime.now().strftime('-%Y%m%d%H% etcpath = "/etc/awx" homedir = "/var/lib/awx" sharedir = "/usr/share/awx" +munin_plugin_path = "/etc/munin/plugins/" +munin_plugin_conf_path = "/etc/munin/plugin-conf.d" + if os.path.exists("/etc/debian_version"): webconfig = "/etc/apache2/conf.d" shutil.copy("config/awx-munin-ubuntu.conf", "config/awx-munin.conf") @@ -198,7 +201,10 @@ setup( "config/awx-httpd-443.conf", "config/awx-munin.conf", ]), - ("%s" % sharedir, ["tools/scripts/request_tower_configuration.sh"]), + ("%s" % sharedir, ["tools/scripts/request_tower_configuration.sh", + "tools/scripts/tower_jobs"]), + ("%s" % munin_plugin_path, ["tools/scripts/tower_jobs"]), + ("%s" % munin_plugin_conf_path, ["config/awx_munin_tower_jobs"]), ] ), options = { |