manpage of afick_learn |
afick_learn - a tool to learn from log and adapt Afick's configuration
afick_learn
the main idea is to have a customized
configuration to avoid any dummy warning : the default
configuration is to be adapted, but do it may be painful if the
afick output is big. So, this tool will learn from detected
changes and modify configuration to suppress some fields. It
works only from from 'changed' lines in afick logs : the "new"
and "deleted" lines are ignored.
Attributes changes are removed from afick config : if you have a rule such "foo md5+p+u+g" and afick log show an md5 change, afick_learn will change the rule into "foo p+u+g"
if the log show show the change of all asked attributes, the file is excluded
afick_learn.pl [options]
the output format
options are used to control afick_learn
Output help information and exit.
Output full help information and exit.
Output version information and exit.
add debugging messages
full name to the afick's log file to learn from
read and apply changes in config file named "configfile".
ask user to confirm before any change in configuration file
dry-run mode : show what would be changed but do not apply changes
save configuration file before any changes. The saved file as the same name with a date suffix .yyyymmdd_hhmmss
afick_learn.pl -l /var/log/afick/afick.log -c
/etc/afick.conf
this program only use perl and its standard modules.
afick.conf(5) for the configuration file syntax
afick-tk(1) for the graphical interface
afick(1) for the command-line interface
afickonfig(1) for a tool to change afick's configuration file
afick_archive(1) for a tool to manage archive's reports
afick_learn(1) for a learning tool
the input format is analysed and we display some warnings if it does not match what we are waiting for
0 if all is ok
configuration file will be
perl, afick common library
none
input format can be txt or html, not xml output format can be txt, html, or xml
Copyright (c) 2002 Eric Gerbier All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Eric Gerbier
you can report any bug or suggest to eric.gerbier@tutanota.com
manpage of afick_learn |