Permalink
Browse files

Add modpython config to ganglia-gmond-python

  • Loading branch information...
1 parent dd08982 commit ab021193879a2b01076af3a5a40cb839e20d401d vuksan committed Feb 1, 2012
Showing with 17 additions and 0 deletions.
  1. +16 −0 debian/modpython.conf
  2. +1 −0 debian/rules
View
@@ -0,0 +1,16 @@
+/*
+ params - path to the directory where mod_python
+ should look for python metric modules
+
+ the "pyconf" files in the include directory below
+ will be scanned for configurations for those modules
+*/
+modules {
+ module {
+ name = "python_module"
+ path = "/usr/lib/ganglia/modpython.so"
+ params = "/usr/lib/ganglia/python_modules"
+ }
+}
+
+include ('/etc/ganglia/conf.d/*.pyconf')
View
@@ -86,6 +86,7 @@ install: build
# Install the python modules
mkdir -p debian/ganglia-monitor-python/etc/ganglia/conf.d/
mkdir -p debian/ganglia-monitor-python/usr/lib/ganglia/python_modules/
+ cp debian/modpython.conf debian/ganglia-monitor-python/etc/ganglia/conf.d/
cp gmond/python_modules/*/*.pyconf* \
debian/ganglia-monitor-python/etc/ganglia/conf.d/
cp gmond/python_modules/*/*.py \

0 comments on commit ab02119

Please sign in to comment.