Skip to content

Commit

Permalink
Add modpython config to ganglia-gmond-python
Browse files Browse the repository at this point in the history
  • Loading branch information
vuksanv committed Feb 1, 2012
1 parent dd08982 commit ab02119
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions debian/modpython.conf
Original file line number Diff line number Diff line change
@@ -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')
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit ab02119

Please sign in to comment.