[hobbit] Alerting & IGNORE

Giovanni - Gestor Redix giovanni at redix.com.br
Fri Jul 20 21:53:09 CEST 2007


Don't use SPACES, change by \s:

LOG /var/adm/messages %(?-i)NOTICE|WARNING|Error IGNORE="%setuid\sexecution\snot\sallowed" COLOR=yellow


Cheers

John Glowacki wrote:
> James Wade wrote:
>   
>> I can't get the ignore working. Is this syntax wrong:
>>
>> HOST=sau102
>>
>>         LOG /var/adm/messages %(?-i)NOTICE|WARNING|Error IGNORE="%setuid
>> execution not allowed" COLOR=yellow
>>
>> Thie above is in the hobbit-clients.cfg file.
>>     
>
> Both of these lines work for me.
>
> HOST=host1
>   LOG     /var/adm/messages %(?-i)WARNING COLOR=yellow "IGNORE=%WARNING:
> /var/adm/utmp exists"
> HOST=host2
>   LOG     /var/adm/messages %(?-i)WARNING "IGNORE=%VOLTAGE:" COLOR=yellow
>
>
> Try moving your quote.
>
> LOG /var/adm/messages %(?-i)NOTICE|WARNING|Error "IGNORE=%setuid
> execution not allowed" COLOR=yellow
>
> John
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070720/0762c44e/attachment.html>


More information about the Xymon mailing list