Looks good :)
Can you send it to cvs? ... here is my +1 ;)
Btw. regarding the regex library - i think that the system library
(standard libc) is sufficient (it is conforming to POSIX). I'm not sure
whether there is some advantage when we will bundle the optional regex
library with monit?
Martin
Christian Hopp wrote:
Hi!
So that's my third and hopefully final version of my log matching
support for file checks. In addition to the older versions it addresses:
- a "real life" example in the docs
- bug fixes
Furthermore I did some stress testing for it. I took the logcheck regex
database (server) shipped with Debian Linux (>800 lines of regexs) and
loaded it with the "IF MATCH path" and "IGNORE MATCH path" statement.
Afterwards I gave monit pieces of 40-400 lines of my syslog output to
chew. Where 40 lines are hardly noticable (<1s), 400 lines give already
some stress (~6s) (Pentium-M 1.7GHz). But it worked. (:
Remaining issues:
- tuning of the event output... multi line output and logfiles do not go
along nicely!
- external regex lib
Christian
------------------------------------------------------------------------
_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monit-dev
_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monit-dev