Projet

Général

Profil

Révision 6c13e1d9

ID6c13e1d9cf0855d287f600e47c079c62ed3fa235
Parent ac1af8bd
Enfant c3305389

Ajouté par Kael Shipman il y a environ 7 ans

Added extinfo to list affected logs and improved documentation

Voir les différences:

plugins/logs/loggrepx_
11 11
=head1 DESCRIPTION
12 12

  
13 13
This plugin is somewhat of a bash port of the original loggrep plugin,
14
except that it adds a breakdown of matches per file, rather than aggregating
15
matches across all files.
14
except that it displays a breakdown of matches per file, rather than
15
aggregating matches across all files. It is intended to answer the
16
question, "Which of my logs are reporting concerning events right now?"
16 17

  
17 18
=head1 CONFIGURATION
18 19

  
......
40 41
 env.[field]_critical - Critical level for specific logfile
41 42

  
42 43
NOTE: for any variable with [field] in it, [field] is derived from the
43
full logfile path by simply replacing all non-alphanumerics with
44
underscores. For example, the "warning" field for the logfile
45
\`/var/log/nginx/errors.log\` would be \`var_log_nginx_errors_log_warning\`
44
full logfile path by simply removing the preceding slash and replacing
45
all non-alphanumerics with underscores. For example, the "warning" field
46
for the logfile \`/var/log/nginx/errors.log\` would be
47
\`var_log_nginx_errors_log_warning\`.
46 48

  
47 49
One good way to get these names is to run \`munin-run [plugin-name]\`
48
after you've configured the required variables and then just copy/pasting
50
after you've configured the required variables and then just copy/paste
49 51
the names from the output.
50 52

  
51 53
=head1 AUTHOR

Formats disponibles : Unified diff