Xymon Mailing List Archive search

hobbit-clients.cfg syntax for LOG

8 messages in this thread

list Bryan A Kennedy · Tue, 24 Oct 2006 13:48:59 -0500 ·
Hi.  I am trying to configure hobbit-clients.cfg to flag (change color to
red) a string in /var/adm/messages.  I can get it to work on a single word,
but I want to flag on a string (multiple words).  How do I edit the
hobbit-clients.cfg file to check for a string instead of a single word?  I
have tried these settings with no luck:
      LOG /var/adm/messages "invalid read"
      LOG /var/adm/messages 'invalid read'
      LOG /var/adm/messages invalid read
      LOG /var/adm/messages %"invalid read"
      LOG /var/adm/messages %'invalid read'
      LOG /var/adm/messages %(invalid read)

Thanks for your help.


Regards,

Bryan Kennedy
list Greg L Hubbard · Tue, 24 Oct 2006 14:01:27 -0500 ·
Did you try LOG /var/adm/messages "%invalid read"?

GLH
quoted from Bryan A Kennedy

-----Original Message-----
From: Bryan A Kennedy [mailto:user-89addf3fbee6@xymon.invalid] 
Sent: Tuesday, October 24, 2006 11:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit-clients.cfg syntax for LOG

Hi.  I am trying to configure hobbit-clients.cfg to flag (change color
to
red) a string in /var/adm/messages.  I can get it to work on a single
word, but I want to flag on a string (multiple words).  How do I edit
the hobbit-clients.cfg file to check for a string instead of a single
word?  I have tried these settings with no luck:
      LOG /var/adm/messages "invalid read"
      LOG /var/adm/messages 'invalid read'
      LOG /var/adm/messages invalid read
      LOG /var/adm/messages %"invalid read"
      LOG /var/adm/messages %'invalid read'
      LOG /var/adm/messages %(invalid read)

Thanks for your help.


Regards,

Bryan Kennedy
list Bryan A Kennedy · Tue, 24 Oct 2006 14:38:12 -0500 ·
No I didn't try it, and it works perfectly!!  Thank you.


Regards,

Bryan


                                                                                                                                                                   "Hubbard, Greg L"                                                          <greg.hubbard at eds                                                          .com>                                                      To                                        <user-ae9b8668bcde@xymon.invalid>                                 10/24/2006 02:01                                           cc              PM                                                                                                                               Subject                                        RE: [hobbit] hobbit-clients.cfg                  Please respond to         syntax for LOG                                    user-ae9b8668bcde@xymon.invalid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
quoted from Greg L Hubbard


Did you try LOG /var/adm/messages "%invalid read"?

GLH

-----Original Message-----
From: Bryan A Kennedy [mailto:user-89addf3fbee6@xymon.invalid]
Sent: Tuesday, October 24, 2006 11:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit-clients.cfg syntax for LOG

Hi.  I am trying to configure hobbit-clients.cfg to flag (change color
to
red) a string in /var/adm/messages.  I can get it to work on a single
word, but I want to flag on a string (multiple words).  How do I edit
the hobbit-clients.cfg file to check for a string instead of a single
word?  I have tried these settings with no luck:
      LOG /var/adm/messages "invalid read"
      LOG /var/adm/messages 'invalid read'
      LOG /var/adm/messages invalid read
      LOG /var/adm/messages %"invalid read"
      LOG /var/adm/messages %'invalid read'
      LOG /var/adm/messages %(invalid read)

Thanks for your help.


Regards,

Bryan Kennedy
list T.J. Yang · Tue, 24 Oct 2006 17:09:36 -0500 ·
thanks for your pointer

T.J. Yang

Find a local pizza place, music store, museum and more�then map the best 
route!  http://local.live.com?FORM=MGA001
list Gildas le Nadan · Wed, 25 Oct 2006 11:33:48 +0100 ·
title the title that will replace Pages Hosted Locally

T.J. Yang wrote:
thanks for your pointer

T.J. Yang
list Lars Ebeling · Wed, 25 Oct 2006 12:48:27 +0200 ·
Have look in hobbitserver.cfg :

MKBBLOCAL
The string "Pages hosted locally" that appears above all of the pages linked
from the main Hobbit webpage. 
Lars
-----Ursprungligt meddelande-----
Från: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid] Skickat: den 25 oktober 2006 00:10
Till: user-ae9b8668bcde@xymon.invalid
Ämne: [hobbit] How to rename "Pages Hosted Locally" on mainpage ?


thanks for your pointer

T.J. Yang

Find a local pizza place, music store, museum and more
then 
map the best route!  http://local.live.com?FORM=MGA001

list T.J. Yang · Wed, 25 Oct 2006 07:17:37 -0500 ·
quoted from Lars Ebeling
From: "Lars Ebeling" <user-1fecd3eafd52@xymon.invalid>
Reply-To: user-ae9b8668bcde@xymon.invalid
To: <user-ae9b8668bcde@xymon.invalid>
Subject: SV: [hobbit] How to rename "Pages Hosted Locally" on mainpage ?
Date: Wed, 25 Oct 2006 12:48:27 +0200

Have look in hobbitserver.cfg :

MKBBLOCAL
The string "Pages hosted locally" that appears above all of the pages 
linked
from the main Hobbit webpage.

Lars
Thanks for the pointer. It is now showing the string I need on my hobbit 
main page.


tj
-----Ursprungligt meddelande-----
Fr�n: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid]
Skickat: den 25 oktober 2006 00:10
Till: user-ae9b8668bcde@xymon.invalid
�mne: [hobbit] How to rename "Pages Hosted Locally" on mainpage ?
quoted from Lars Ebeling


thanks for your pointer

T.J. Yang

Find a local pizza place, music store, museum and more�then
map the best
route!  http://local.live.com?FORM=MGA001

Stay in touch with old friends and meet new ones with Windows Live Spaces 
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
list T.J. Yang · Wed, 25 Oct 2006 07:27:00 -0500 ·
I am trying to create a hobbit.xml for Firefox 2.0 add-on search engine from 
googl.xml

C:\Program Files\Mozilla Firefox\searchplugins\hobbit.xml
SearchPlugin xmlns="http://hobbit.test.com/hobbit-cgi/bb-findhost.sh">;
<ShortName>Hobbit</ShortName>
<Description>Hobbit Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,
<!--
raw image data snipped.
-->
</Image>
<Url type="application/x-suggestions+json" method="GET" 
template="http://suggestqueries.google.com/complete/search?output=firefox&amp;client=firefox&amp;qu={searchTerms}"/>;
<Url type="text/html" method="GET" 
template="http://hobbit.test.com/hobbit-cgi/bb-findhost.sh">;
  <Param name="q" value="{searchTerms}"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
  <!-- Dynamic parameters -->
  <Param name="rls" 
value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" 
falseValue="firefox"/>
</Url>
<SearchForm>http://www.google.com/firefox</SearchForm>;
</SearchPlugin>

So for no luck yet. Looks like need more research work. FireFox 2.0 use 
different method compare to 1.x series(See R1).

Please follow up this thread if you have one already created.

T.J. Yang
R1: 
http://labnol.blogspot.com/2006/09/learn-to-create-firefox-search-plugin.html

Try Search Survival Kits: Fix up your home and better handle your cash with 
Live Search! 
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline