[Xymon] hobbit-clients.cfg LOG question
David Baldwin
david.baldwin at ausport.gov.au
Wed Jan 18 01:55:50 CET 2012
On 18/01/12 11:18 AM, Neal, Jonathan W wrote:
> If I have this in a log file:
>
> <43% of the total memory in the server is free>
>
> Should this in hobbit-clients.cfg pick it up?
>
> LOG THELOGFILE "% 4[0-9]% of the total memory in the server is free" red
It will not match if you have a space before between "% 4". Should work
with:
LOG THELOGFILE "%4[0-9]% of the total memory in the server is free" red
Above will not match anything greater than 49% which may be a problem
also. You could try:
LOG THELOGFILE "%[4-9][0-9]% of the total memory in the server is free" red
David.
--
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------
More information about the Xymon
mailing list