Changes between Version 1 and Version 2 of ganglia_gmond_python_modules
- Timestamp:
- 08/29/09 00:33:45 (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ganglia_gmond_python_modules
v1 v2 13 13 14 14 Writing a Python module is very simple. You just need to write it following a template and put the resulting Python module (.py) in /usr/lib(64)/ganglia/python_modules. A corresponding Python Configuration (.pyconf) file needs to reside in /etc/ganglia/conf.d/. 15 16 If your Python module needs to access certain files on the server, keep in mind that the module will be executed as the user which runs `gmond`. In other words, if `gmond` runs as user `nobody` then your module will also run as `nobody`. So make sure that the user which runs `gmond` has the correct permissions to access the files in question. 15 17 16 18 The Ganglia distribution comes with an example Python module in /usr/lib(64)/ganglia/python_modules/example.py. Alternatively, this file is also viewable from our SVN repository: http://ganglia.svn.sourceforge.net/viewvc/ganglia/branches/monitor-core-3.1/gmond/python_modules/example/example.py?view=markup