[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]
Pearce Andy Andy.Pearce@austrocontrol.at
Fri, 16 Oct 2009 08:03:36 GMT
Hi Andras, As I understand it the conserver is started with a configuration file conserver.cf that defines a set of consoles for various machines, output from these machines is then logged. The conserver.cf that is read when conserver starts can also specified a script that is to be run when the console command is used to connect to the machine via the initcmd option. What I would like to do is to be able to specify, in some way,the script that is executed when I make the console command, i.e. something like console ... "determine-free-disk-space.sh" [above syntax obviously rubbish, but that's the idea ] I was wondering if the initcmd could be changed via the per-user-config file that can be specified, but didn't appear so. Andy > -----Original Message----- > From: users-bounces@conserver.com > [mailto:users-bounces@conserver.com] On Behalf Of > Andras.Horvath@cern.ch > Sent: Friday, October 16, 2009 9:43 AM > To: users@conserver.com > Subject: Re: Varying the initcmd for a console > > > On Fri, Oct 16, 2009 at 09:19:11AM +0200, Pearce Andy wrote: > > Is it possible to override the initcmd specified for a > console in the > > conserver.cf file, so that varying scripts can be run as > required when > > the console is opened without having to force a re-read of > the whole > > conserver.cf config file ? > > What do you mean? Varying in time? > > I run a little script from my conserver.cf to open IPMI > consoles; it reads usernames/passwords from a file and > launches ipmitool. > > Andras > _______________________________________________ > users mailing list > users@conserver.com https://www.conserver.com/mailman/listinfo/users >