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 module: mem_module
loaded module: net_module
loaded module: proc_module
loaded module: sys_module
udp_recv_channel mcast_join=239.2.11.82 mcast_if=NULL port=8649 bind=
239.2.11.82
tcp_accept_channel bind=NULL port=8649
udp_send_channel mcast_join=239.2.11.82 mcast_if=NULL host=NULL port=8649
Unable to collect metric 'CacheHits' on this platform. Exiting.
Sid
On Tue, Aug 12, 2008 at 2:40 PM, Bernard Li <[EMAIL PROTECTED]> wrote:
> 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
> > [EMAIL PROTECTED] python_modules]# ls
> > example.py example.pyo memcached.pyc multidisk.py multidisk.pyo
> > tcpconn.pyc
> > example.pyc memcached.py memcached.pyo multidisk.pyc tcpconn.py
> > tcpconn.pyo
>
> Looks fine to me. Have you tried running gmond in debug mode:
>
> gmond -d10
>
> Also, have you tested to see if the user 'nobody' can run your script
> fine? gmond typically runs as nobody so your script will be executed
> as that user as well.
>
> Cheers,
>
> Bernard
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general