[hobbit] hobbit-clients.cfg syntax for LOG

Hubbard, Greg L greg.hubbard at eds.com
Tue Oct 24 21:01:27 CEST 2006


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

GLH

-----Original Message-----
From: Bryan A Kennedy [mailto:b-kennedy1 at raytheon.com] 
Sent: Tuesday, October 24, 2006 11:49 AM
To: hobbit at hswn.dk
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


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list