After fixing a tabbing bug in your cacheHits() function, everything loaded
fine and the callback function was called as it should be. The callback
didn't actually work on my system, but that is a different problem. Make
sure that you don't have any python syntax errors in your module.
On 8/13/2008 at 10:42 AM, in message
[EMAIL PROTECTED], Sid Stuart
[EMAIL PROTECTED] wrote:
After fixing a tabbing bug in your cacheHits() function, everything loaded
fine and the callback function was called as it should be. The callback
didn't actually work on my system, but that is a
Hi Sid:
On Wed, Aug 13, 2008 at 9:42 AM, Sid Stuart [EMAIL PROTECTED] wrote:
Thanks for going to all the effort. I think the tabbing bug was inserted by
cut and paste as the cacheHits() function works on my system.
I am beginning to believe the problem is with running any Python Metric
Hi,
I have written a small Python metric module that contains one metric,
CacheHits. When the module is included in the configuration, gmond spits out
the following error message,
Unable to collect metric 'CacheHits' on this platform. Exiting.
As far as I can tell, gmond is parsing the
HI Sid:
On Tue, Aug 12, 2008 at 2:03 PM, Sid Stuart [EMAIL PROTECTED] wrote:
I have written a small Python metric module that contains one metric,
CacheHits. When the module is included in the configuration, gmond spits out
the following error message,
Unable to collect metric 'CacheHits'
Hi Benard,
[EMAIL PROTECTED] conf.d]# pwd
/etc/ganglia/conf.d
[EMAIL PROTECTED] conf.d]# ls
diskusage.pyconf.off *memcached.pyconf* tcpconn.pyconf
[EMAIL PROTECTED] python_modules]# pwd
/usr/lib64/ganglia/python_modules
[EMAIL PROTECTED] python_modules]# ls
example.py example.pyo
Hi Sid:
On Tue, Aug 12, 2008 at 2:31 PM, Sid Stuart [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] conf.d]# pwd
/etc/ganglia/conf.d
[EMAIL PROTECTED] conf.d]# ls
diskusage.pyconf.off memcached.pyconf tcpconn.pyconf
[EMAIL PROTECTED] python_modules]# pwd
/usr/lib64/ganglia/python_modules
Thanks for the suggestions Bernard. I ran the script as nobody and it runs
fine. I have been running gmond in debug mode, that is where I got my
original error message,
gmond -d 10
loaded module: core_metrics
loaded module: cpu_module
loaded module: disk_module
loaded module: load_module
loaded
Hi Sid:
On Tue, Aug 12, 2008 at 2:48 PM, Sid Stuart [EMAIL PROTECTED] wrote:
Thanks for the suggestions Bernard. I ran the script as nobody and it runs
fine. I have been running gmond in debug mode, that is where I got my
original error message,
gmond -d 10
loaded module: core_metrics
On 8/12/2008 at 3:03 PM, in message
[EMAIL PROTECTED], Sid Stuart
[EMAIL PROTECTED] wrote:
Hi,
I have written a small Python metric module that contains one metric,
CacheHits. When the module is included in the configuration, gmond spits out
the following error message,
Unable to collect
On 8/12/2008 at 3:03 PM, in message
[EMAIL PROTECTED], Sid Stuart
[EMAIL PROTECTED] wrote:
Hi,
I have written a small Python metric module that contains one metric,
CacheHits. When the module is included in the configuration, gmond spits out
the following error message,
Unable to collect
11 matches
Mail list logo