Could not use regular expressions in client-local.cfg [name] tag
list Rama
Is it possible to use regular expression in client-local.cfg to specify hostname(s), as I could do so in hobbit-clients.cfg? I tried the same regular expression as in hobbit-client.cfg and it doesn't work. Tried on few servers without regular expression on hostnames and it worked.
Please help as I have to configure clientt-local.cfg for hundreds of servers :(
Thanks
Ram
Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.
list Rama
Looks like the answer is 'not possible' . Looked at the mail archives and found -----
Date: Fri, 12 May 2006 11:58:44 +0000 Subject: Re: [hobbit] client-local.cfg? feature request? Reference : 20060512060555.GA29769 @ hswn. dk
It is not clear what support there is for regular expressions, perhaps it is already there for ignore, and trigger, but not log, file or the hostname?
Exactly
▸
----
RAMA <user-723e1c37966c@xymon.invalid> wrote:
Is it possible to use regular expression in client-local.cfg to specify hostname(s), as I could do so in hobbit-clients.cfg? I tried the same regular expression as in hobbit-client.cfg and it doesn't work. Tried on few servers without regular expression on hostnames and it worked.
Please help as I have to configure clientt-local.cfg for hundreds of servers :(
Thanks
Ram
Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
list Jerry Yu
do they share something common, like OS version? You can group them under OS...
▸
On 1/19/07, RAMA <user-723e1c37966c@xymon.invalid> wrote:Looks like the answer is 'not possible' . Looked at the mail archives and found *Date*: Fri, 12 May 2006 11:58:44 +0000 *Subject*: Re: [hobbit] client-local.cfg? feature request? Reference : 20060512060555.GA29769 @ hswn. dk It is not clear what support there is for regular expressions, perhaps it is already there for ignore, and trigger, but not log, file or the hostname? Exactly ---- *RAMA <user-723e1c37966c@xymon.invalid>* wrote: Is it possible to use regular expression in client-local.cfg to specify hostname(s), as I could do so in hobbit-clients.cfg? I tried the same regular expression as in hobbit-client.cfg and it doesn't work. Tried on few servers without regular expression on hostnames and it worked. Please help as I have to configure clientt-local.cfg for hundreds of servers :( Thanks Ram
Don't be flakey. Get Yahoo! Mail for Mobile<http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail>and always stay connected<http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail>to friends. The fish are biting. Get more visitors<http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50>on your site using Yahoo! Search Marketing.
list Rama
not possible as other boxes also share the same os version. Solved this issue for now, by writing a simple shell script which creates the create-local.cfg file Thanks Ram
▸
Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:
do they share something common, like OS version? You can group them under OS...
On 1/19/07, RAMA <user-723e1c37966c@xymon.invalid > wrote: Looks like the answer is 'not possible' . Looked at the mail archives and found -----
Date: Fri, 12 May 2006 11:58:44 +0000 Subject: Re: [hobbit] client-local.cfg? feature request? Reference : 20060512060555.GA29769 @ hswn. dk It is not clear what support there is for regular expressions, perhaps it is already there for ignore, and trigger, but not log, file or the hostname?
Exactly
----
RAMA <user-723e1c37966c@xymon.invalid> wrote:
Is it possible to use regular expression in client-local.cfg to specify hostname(s), as I could do so in hobbit-clients.cfg? I tried the same regular expression as in hobbit-client.cfg and it doesn't work. Tried on few servers without regular expression on hostnames and it worked.
Please help as I have to configure clientt-local.cfg for hundreds of servers :(
Thanks
Ram
Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
Access over 1 million songs - Yahoo! Music Unlimited.
list Steve Aiello
You can also use the CLASS tag/parameter to define your particular group of devices. From the bb-hosts man page: CLASS:Classname Force the host to belong to a specific class. Class-names are used when configuring log-file monitoring (they can be used as references in client-local.cfg <http://cihcrpswas03.corporate.ge.com/bb/help/manpages/man5/client-local .cfg.5.html> (5) and hobbit-clients.cfg <http://cihcrpswas03.corporate.ge.com/bb/help/manpages/man5/hobbit-clien ts.cfg.5.html> (5) to group logfile checks). Normally, class-names are controlled on the client by starting the Hobbit client with the "--class=Classname" option. If you specify it in the bb-hosts file on the Hobbit server, it overrides any classname that the client reports. -----Original Message----- From: RAMA [mailto:user-723e1c37966c@xymon.invalid] Sent: Monday, January 22, 2007 2:23 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Could not use regular expressions in client-local.cfg [name] tag
▸
not possible as other boxes also share the same os version. Solved this
issue for now, by writing a simple shell script which creates the
create-local.cfg file
Thanks
Ram
Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:
do they share something common, like OS version? You can group them
under OS...
On 1/19/07, RAMA <user-723e1c37966c@xymon.invalid <mailto:user-723e1c37966c@xymon.invalid> > wrote:
Looks like the answer is 'not possible' . Looked at the mail archives
and found
Date: Fri, 12 May 2006 11:58:44 +0000
Subject: Re: [hobbit] client-local.cfg? feature request?
Reference : 20060512060555.GA29769 @ hswn. dk
It is not clear what support there is for regular expressions, perhaps
it is already there for ignore, and trigger, but not log, file or the
hostname?
Exactly
----
RAMA <user-723e1c37966c@xymon.invalid> wrote:
Is it possible to use regular expression in client-local.cfg to specify
hostname(s), as I could do so in hobbit-clients.cfg?
I tried the same regular expression as in hobbit-client.cfg and it
doesn't work.
Tried on few servers without regular expression on hostnames and it
worked.
Please help as I have to configure clientt-local.cfg for hundreds of
servers :(
Thanks
Ram
Don't be flakey. Get Yahoo! Mail for Mobile<http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail>; and always stay connected <http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail>; to friends. The fish are biting. Get more visitors <http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/ sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50
▸
on your site using Yahoo! Search Marketing.
Access over 1 million songs - Yahoo!
<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yah oo.com/unlimited/> Music Unlimited.
list Rama
Great! .. I will try Thanks
▸
"Aiello, Steve (GE, Corporate, consultant)" <user-49fae449733a@xymon.invalid> wrote:
You can also use the CLASS tag/parameter to define your particular group of devices. From the bb-hosts man page:
CLASS:Classname Force the host to belong to a specific class. Class-names are used when configuring log-file monitoring (they can be used as references in client-local.cfg(5) and hobbit-clients.cfg(5) to group logfile checks). Normally, class-names are controlled on the client by starting the Hobbit client with the "--class=Classname" option. If you specify it in the bb-hosts file on the Hobbit server, it overrides any classname that the client reports.
▸
-----Original Message-----
From: RAMA [mailto:user-723e1c37966c@xymon.invalid] Sent: Monday, January 22, 2007 2:23 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Could not use regular expressions in client-local.cfg [name] tag
not possible as other boxes also share the same os version. Solved this issue for now, by writing a simple shell script which creates the create-local.cfg file Thanks
Ram
Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:
do they share something common, like OS version? You can group them under OS...
On 1/19/07, RAMA <user-723e1c37966c@xymon.invalid > wrote: Looks like the answer is 'not possible' . Looked at the mail archives and found -----
Date: Fri, 12 May 2006 11:58:44 +0000 Subject: Re: [hobbit] client-local.cfg? feature request? Reference : 20060512060555.GA29769 @ hswn. dk It is not clear what support there is for regular expressions, perhaps it is already there for ignore, and trigger, but not log, file or the hostname?
Exactly
----
RAMA <user-723e1c37966c@xymon.invalid> wrote:
Is it possible to use regular expression in client-local.cfg to specify hostname(s), as I could do so in hobbit-clients.cfg? I tried the same regular expression as in hobbit-client.cfg and it doesn't work. Tried on few servers without regular expression on hostnames and it worked.
Please help as I have to configure clientt-local.cfg for hundreds of servers :(
Thanks
Ram
Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
Access over 1 million songs - Yahoo! Music Unlimited.
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.