It works now, thanks guys. Looks like the key for duplicating the backend, both 
gmond and gmetad, is different port #s that in no way may conflict, and the -c 
option for different configuration files. 

-----Original Message-----
From: Alex Dean [mailto:[email protected]] 
Sent: Tuesday, August 03, 2010 12:10 PM
To: Ganglia
Subject: Re: [Ganglia-general] Multiple gmonds or gmetads on same host


On Aug 3, 2010, at 1:33 PM, Stevens, Weston J wrote:

> I've been able to duplicate gmond by changing the port for the 
> tcp_accept_channel, however I have been unable to duplicate gmetad 
> (how is this done in gmetad.conf exactly?).

Each gmetad needs unique ports as well as a separate directory to write rrds 
to.  you can start it with the same -c and -f arguments that gmond supports.  
'gmetad -h' will give you more information.

There should be an example gmetad.conf in the source code which shows what all 
the different configurable options are.  I think you'll need to change 
xml_port, interactive_port, and rrd_rootdir.  If an unprivileged user is 
starting the daemon, you'll probably also need to 'setuid off'.

>
> I also lack permission to create new scripts in /etc/init.d so I have 
> them running them from elsewhere, I fear I will need to copy and edit 
> /etc/init.d/functions in order to do this?

functions assumes you'll write to directories likd /var/run, and you won't be 
able to do that as a non-root user.  I'm sure you can make it work, but you'll 
have to hack it a bit.

alex

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development 
Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP 
Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to