hobbit-clients.cfg syntax for LOG

Bryan A Kennedy b-kennedy1 at raytheon.com
Tue Oct 24 20:48:59 CEST 2006


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




More information about the Xymon mailing list