summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMatthew Jones <mat@matburt.net>2014-07-29 17:44:36 +0200
committerMatthew Jones <mat@matburt.net>2014-07-29 17:44:54 +0200
commit69a3f688328f7b72be5f50056d8bf80097e0e4db (patch)
tree70f7bbc05f7855a28c9d2257502429b262575c86 /setup.py
parentWebsocket Help (diff)
downloadawx-69a3f688328f7b72be5f50056d8bf80097e0e4db.tar.xz
awx-69a3f688328f7b72be5f50056d8bf80097e0e4db.zip
Add some munin tower monitoring tasks
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 296428ea3b..900f7d3779 100755
--- a/setup.py
+++ b/setup.py
@@ -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 = {