Yaroslav Klyukin <[EMAIL PROTECTED]> writes:

> I have altered /etc/init.d/gmond script to run the mentioned above
> command to add route when gmond is started and to remove it when it
> stops.

That's prehaps not the ideal solution. The route might already be
present when you start gmond, in which case

a) you get an ugly error messages when the script tries to add the
   route again,

b) the route will be removed if gmond is stopped, which is probably
   not what you wanted, since the route probably was there for a
   reason in the first place.

Instead I'd like to see a configuration option to gmond with the
semantics "Hey, gmond, use *this* network interface".

-- 
Leif Nixon                                    Systems expert
------------------------------------------------------------
National Supercomputer Centre           Linkoping University
------------------------------------------------------------

Reply via email to