Re: [Ganglia-general] Ganglia Installation Issues

2010-12-06 Thread Mike
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 /etc/rc.d/init.d/. Then I copied it to

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] Writing metrics

2010-12-06 Thread Alex Dean
On Dec 6, 2010, at 3:16 PM, Antonio Óscar Balmaseda wrote: 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

Re: [Ganglia-general] Ganglia Installation Issues

2010-12-06 Thread Mike
Yes, I have the web folder copied to /var/www/ganglia Do we have to keep  in gmond.conf, tcp_accept_channel {    port = 8649  }  Because trying to start gmond with this included in the conf gave me an error Unable to create tcp_accept_channel. So I removed this from gmond.conf Thanks, Mike

Re: [Ganglia-general] Writing metrics

2010-12-06 Thread David Birdsong
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 the user configured. On Mon, Dec 6, 2010 at 4:16 PM, Antonio Óscar Balmaseda antonio.o.balmas...@gmail.com wrote: Hi, everyone, I have a strange problem.