[checkmk-commits] Check_MK Git: check_mk: updated check_mk.example.ini with logfiles section

git version control git at mathias-kettner.de
Mon Nov 5 16:06:52 CET 2012


Module: check_mk
Branch: master
Commit: fd23888d4759adb655edc8ddfe4b444c5d76573f
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fd23888d4759adb655edc8ddfe4b444c5d76573f

Author: Andreas Boesl <ab at mathias-kettner.de>
Date:   Mon Nov  5 16:06:45 2012 +0100

updated check_mk.example.ini with logfiles section

---

 agents/windows/check_mk.example.ini |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/agents/windows/check_mk.example.ini b/agents/windows/check_mk.example.ini
index 04c1059..dab8f1b 100644
--- a/agents/windows/check_mk.example.ini
+++ b/agents/windows/check_mk.example.ini
@@ -21,6 +21,22 @@
     # are needed by checks shipped with check_mk.
     # counters = 10332:msx_queues
 
+
+[logfiles]
+    # Define textfiles to be monitored, separated by |
+    textfile = C:\tmp logfiles\message_*.log | D:\log\sample.txt
+    # Set patterns for defined textfiles
+    ok = Successfully logged in*
+    crit = Error in*
+    warning = Unable to contact*
+    ignore = Backup * saved
+
+    # Define additional textfiles with different patterns
+    textfile = C:\tmp\memo.udf
+    # Set patterns for defined textfile
+    warning = *overdue*
+    ok = *mail sent* 
+
 [logwatch]
     # Testing: output *all* messages from the eventlogs
     # sendall = yes



More information about the checkmk-commits mailing list