Re: [Ganglia-general] Writing metrics

2010-12-08 Thread Antonio Óscar Balmaseda
Hello, 2010/12/7 David Birdsong david.birds...@gmail.com The examples have the open somewhere else which neither correct or incorrect. It just requires that you understand the loss of privileges that the gmond process undergoes as it daemonizes itself. Any resource, ie. access_log file,

Re: [Ganglia-general] Ganglia Installation Issues

2010-12-08 Thread Antonio Óscar Balmaseda
doc [1] and ganglia and nagios IBM setup [2]. If you still have any question, feel free of asking. Best regards, Antonio Óscar Balmaseda [1] http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_gmond_python_modules [2] https://www.ibm.com/developerworks/linux/library/l-ganglia-nagios-1

Re: [Ganglia-general] Writing metrics

2010-12-07 Thread Antonio Óscar Balmaseda
Hello, again, Alex, thanks for your response. I rechecked all the permissions and everything was fine. 2010/12/6 David Birdsong david.birds...@gmail.com If you put that open inside of metric_init, start gmond as root, then the filehandle will be created before gmond drops it's privileges to

Re: [Ganglia-general] Ganglia Installation Issues

2010-12-07 Thread Antonio Óscar Balmaseda
removed this from gmond.conf Thanks, Mike --- On *Mon, 12/6/10, Antonio Óscar Balmaseda antonio.o.balmas...@gmail.com* wrote: From: Antonio Óscar Balmaseda antonio.o.balmas...@gmail.com Subject: Re: [Ganglia-general] Ganglia Installation Issues To: Mike nano_kol...@yahoo.com Cc: Ganglia

Re: [Ganglia-general] Ganglia Installation Issues

2010-12-06 Thread Antonio Óscar Balmaseda
2010/12/6 Mike nano_kol...@yahoo.com Hi Antonio, Thanks much for your response. I now ran /usr/sbin/update-rc.d -f gmond defaults and /usr/sbin/update-rc.d -f gmetad defaults, which initially gave me error: update-rc.d: /etc/init.d/gmond: file does not exist. The init script was in

[Ganglia-general] Writing metrics

2010-12-06 Thread Antonio Óscar Balmaseda
Hi, everyone, I have a strange problem. I'm writing a new metric for ganglia, in python, in order to measure some data of the apache log. I'm pretty sure that the code is correct but the thing is that it's absolutely impossible open any file. When I try do it, the system returns: Traceback

Re: [Ganglia-general] Ganglia Installation Issues

2010-12-05 Thread Antonio Óscar Balmaseda
Hey, Mike, 2010/12/5 Mike nano_kol...@yahoo.com Hi all, I am trying to get Ganglia run on Ubuntu instance. I built the version 3.1.7 from source. I compiled the source and libs were installed in /etc/ganglia/lib64/ganglia/ I used the command: ./configure --prefix=/etc/ganglia