Module: check_mk
Branch: master
Commit: a677423faf897e15f79179e800d684c8138af098
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a677423faf897e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jan 17 13:59:51 2013 +0100
Added linux related infos to fileinfo manpage
---
checkman/fileinfo | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/checkman/fileinfo b/checkman/fileinfo
index 2b8ed98..506362d 100644
--- a/checkman/fileinfo
+++ b/checkman/fileinfo
@@ -1,5 +1,5 @@
title: Check age and size of files
-agents: windows
+agents: windows, linux
author: Mathias Kettner <mk(a)mathias-kettner.de>
license: GPL
distribution: check_mk
@@ -15,14 +15,20 @@ description:
as the agent needs to know the information about
which files need to be sent.
- Currently only the Windows agent supports this type
- of check. Configuration is done in {check_mk.ini} in
- the section {[fileinfo]}. Put one or more entries
- of the format {path = C:\Some Dir\*.log} into this
+ Currently the linux and windows agents supports this type
+ of check.
+
+ For windows, the configuration is done in {check_mk.ini} in
+ the section {[fileinfo]}. Put one or more entries of the
+ format {path = C:\Some Dir\*.log} into this
section. The agent will send all files that match
the pattern. Wildcards are only allowed in the
filename part, not in the directory path.
+ For linux, the configuration is done via {fileinfo.cfg} located
+ in the {$MK_CONFDIR} (usually {/etc/check_mk/fileinfo.cfg}).
+ To add files to the check, simply add one path pattern per line.
+
item:
The complete path name of the file as sent by
the agent (this is case sensitive even when monitoring