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