VMware Cloud Community
admin
Immortal
Immortal

Best practice for Log File Monitoring

Hi,

I have the (fairly standard) task to implement log file
monitoring on some machines for a customer on some Unix boxes.

The parameters are as follows:

- Several log files per machine
- Multiple different regular expressions per log file
- For each regular expression match, an alarm should be created

I can't seem to find a straightforward way to implement this in
Hyperic HQ. I am using EE 4.1.2 at the moment.

Since the problem is rather trivial, probably I am just
overlooking something. Can someone with more HQ experience
please provide a pointer?

Thanks and regards,

Peter.
--
-------------------------------------------------------------------------
Peter Eckel System- und Netzwerkmanagement
Postfach 1463
D-61284 Bad Homburg v.d.H.

Tel.: +49
6172 969495
Mobil: +49
172 6812107
Fax: +49
6172 969845
EMail: Peter.Eckel@Eckel-EDV.de
-------------------------------------------------------------------------


0 Kudos
1 Reply
admin
Immortal
Immortal

The pattern is evaluated as a Java Regular Expression:

http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html

And you can separate your logs with commas in the log track config.

Then set up multiple alerts.

http://support.hyperic.com/display/DOC/Log+Tracking
0 Kudos