[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hobbit] Setting client "class" for log file monitoring
- To: hobbit (at) hswn.dk
- Subject: [hobbit] Setting client "class" for log file monitoring
- From: "Gary B." <gmbfly98 (at) gmail.com>
- Date: Wed, 23 Aug 2006 11:49:57 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WQvnKPkDngG0oEPtCxQWUvSeyk2/mTt+YplCoZXfZXkDBO5t2r909B7ke7tqI20N15YaZgY/snvOGvQRO4e4GWM8XW2SlaBIiuoCVEP7LWcxZ+aSuBkepWeNeXLfCLrifqghxTY4up258ciJlFY77wypHOe57cxWo3A4L1svZ6c=
The client by default uses the "uname -s" output, which will be
"linux". If you launch the client with
~hobbit/client/runclient.sh --os=rhel3
then it will use the [rhel3] setting. The list --os names is restricted
though, so for a more generic solution you can define your own "classes"
and run the client with a "--class=MYCLASS" option; then it will use
the [MYCLASS] section.
Is there a way to make the "--class=MYCLASS" option permanent when
starting a client? That is, do you have to specify --class everytime
you use "runclient.sh", such as stopping, starting, restarting, etc?