[xymon] log parsing on windows
Hi all,
Is it possible to monitor log files (not event viewer) under windows machines? For example *.log files containing particular patterns (error strings…) I'm trying Bbwin client but using central mode I'm only capable to parse event log.
Maybe someone has an external that affords this feature…
thanks in advance!
Massimiliano A.
Hello,
Here a script in VBS to scan ASCII log from BBWin:
To be modified
The default error color Color_KO = "yellow" The name of your XYMON test Column = "mig_log" The path to your log file: MIG_LOG = "E:\Logs\MIGFlow.log" Test on the key word to be trapped (here ERROR): If Mid(Line,25,5) = "ERROR" Then
Cordialement, Regards,Mit freundlichen Grüßen,
Gautier BEGIN
Admin and Tools Team CSC Computer Sciences Luxembourg S.A. 12D Impasse Drosbach L-1882 Luxembourg
Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 | gbegin at csc.com | www.csc.com
CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose • CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10 Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in France: RCS Nanterre B 315 268 664
From: Massimiliano Angei <massimiliano.angei at akhela.com> To: "xymon at xymon.com" <xymon at xymon.com> Date: 01/19/2012 08:04 PM Subject: [Xymon] [xymon] log parsing on windows Sent by: xymon-bounces at xymon.com
Hi all,
Is it possible to monitor log files (not event viewer) under windows machines? For example *.log files containing particular patterns (error strings…) I'm trying Bbwin client but using central mode I'm only capable to parse event log.
Maybe someone has an external that affords this feature…
thanks in advance!
Massimiliano A.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
You are able to do this in central mode:
Below you can find a working example;
Entry ~/server/etc/client-local.cfg [servername] log:C:/temp/test.log:30720
Entry ~/server/etc/hobbit-clients.cfg LOG C:/temp/test.log %red.stuf COLOR=red
Result can be found in the msgs service of that host:
<< System logs at Fri Jan 27 15:34:30 2012
Critical entries in C:/temp/test.log red.stuf
Regards, Jef Jagers
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Massimiliano Angei Sent: donderdag, januari 19, 2012 20:06 To: xymon at xymon.com Subject: [Xymon] [xymon] log parsing on windows
Hi all,
Is it possible to monitor log files (not event viewer) under windows machines? For example *.log files containing particular patterns (error strings...) I'm trying Bbwin client but using central mode I'm only capable to parse event log.
Maybe someone has an external that affords this feature...
thanks in advance!
Massimiliano A.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (3)
-
gbegin@csc.com
-
jef.jagers@thomsonreuters.com
-
massimiliano.angei@akhela.com