steve- why not just alter you install do that instead of altering /etc/rc.d/init.d/gmond you just created an /etc/gmond.conf with this single line inside it.
mcast_if "blah" it will do the same thing and should even be simpler to implement. -matt Today, Steven A. DuChene wrote forth saying... > As part of the stuff I do to package ganglia-monitor-core > for the oscar tool suite is alter the /etc/init.d/gmond > start-up script to start the gmond daemon on the head node > based on an environment variable that gets passed down from > the oscar installation wizard. This environment variable > specifies the internal cluster network interface on the > head node of the cluster. I then use a script to add a > "-iblah" to the daemon invocation line in the init script > so it starts on the correct interface on the head node. > > One of the things we liked about the ganglia-monitor-core > stuff was that it required no special configuration file. > > I was testing the 2.5.0 beta stuff from cvs to see if it > had an effect on the cpu eating thing I wrote about in an > earlier message. I discovered to my dismay that the > "-iblah" command line option to gmond was gone and not > replaced with anything except by having a new config file > in /etc. > > Considering how much the code has changed between 2.2,3 > (version we are currently using) and the 2.5.0 tree how > much trouble would it be to add the code back in for the > "-iblah" command line option? >
