Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. ########################################################
  2. # This was written and is maintained by:
  3. # Kirk Bauer <kirk@kaybee.org>
  4. #
  5. # Please send all comments, suggestions, bug reports,
  6. # etc, to kirk@kaybee.org.
  7. #
  8. ########################################################
  9.  
  10. # NOTE:
  11. # All these options are the defaults if you run logwatch with no
  12. # command-line arguments. You can override all of these on the
  13. # command-line.
  14.  
  15. # You can put comments anywhere you want to. They are effective for the
  16. # rest of the line.
  17.  
  18. # this is in the format of <name> = <value>. Whitespace at the beginning
  19. # and end of the lines is removed. Whitespace before and after the = sign
  20. # is removed. Everything is case *insensitive*.
  21.  
  22. # Yes = True = On = 1
  23. # No = False = Off = 0
  24.  
  25. # Default Log Directory
  26. # All log-files are assumed to be given relative to this directory.
  27. LogDir = /var/log
  28.  
  29. # You can override the default temp directory (/tmp) here
  30. TmpDir = /var/cache/logwatch
  31.  
  32. #Output/Format Options
  33. #By default Logwatch will print to stdout in text with no encoding.
  34. #To make email Default set Output = mail to save to file set Output = file
  35. Output = stdout
  36. #To make Html the default formatting Format = html
  37. Format = text
  38. #To make Base64 [aka uuencode] Encode = base64
  39. Encode = none
  40.  
  41. # Default person to mail reports to. Can be a local account or a
  42. # complete email address. Variable Output should be set to mail, or
  43. # --output mail should be passed on command line to enable mail feature.
  44. MailTo = root
  45. # WHen using option --multiemail, it is possible to specify a different
  46. # email recipient per host processed. For example, to send the report
  47. # for hostname host1 to user@example.com, use:
  48. #Mailto_host1 = user@example.com
  49. # Multiple recipients can be specified by separating them with a space.
  50.  
  51. # Default person to mail reports from. Can be a local account or a
  52. # complete email address.
  53. MailFrom = Logwatch
  54.  
  55. # if set, the results will be saved in <filename> instead of mailed
  56. # or displayed. Be sure to set Output = file also.
  57. #Filename = /tmp/logwatch
  58.  
  59. # Use archives? If set to 'Yes', the archives of logfiles
  60. # (i.e. /var/log/messages.1 or /var/log/messages.1.gz) will
  61. # be searched in addition to the /var/log/messages file.
  62. # This usually will not do much if your range is set to just
  63. # 'Yesterday' or 'Today'... it is probably best used with Range = All
  64. # By default this is now set to Yes. To turn off Archives uncomment this.
  65. #Archives = No
  66.  
  67. # The default time range for the report...
  68. # The current choices are All, Today, Yesterday
  69. Range = Today
  70.  
  71. # The default detail level for the report.
  72. # This can either be Low, Med, High or a number.
  73. # Low = 0
  74. # Med = 5
  75. # High = 10
  76. Detail = 10
  77.  
  78.  
  79. # The 'Service' option expects either the name of a filter
  80. # (in /usr/share/logwatch/scripts/services/*) or 'All'.
  81. # The default service(s) to report on. This should be left as All for
  82. # most people.
  83. Service = All
  84. # You can also disable certain services (when specifying all)
  85. Service = "-zz-network" # Prevents execution of zz-network service, which
  86. # prints useful network configuration info.
  87. Service = "-zz-sys" # Prevents execution of zz-sys service, which
  88. # prints useful system configuration info.
  89. Service = "-eximstats" # Prevents execution of eximstats service, which
  90. # is a wrapper for the eximstats program.
  91. # If you only cared about FTP messages, you could use these 2 lines
  92. # instead of the above:
  93. #Service = ftpd-messages # Processes ftpd messages in /var/log/messages
  94. #Service = ftpd-xferlog # Processes ftpd messages in /var/log/xferlog
  95. # Maybe you only wanted reports on PAM messages, then you would use:
  96. #Service = pam_pwdb # PAM_pwdb messages - usually quite a bit
  97. #Service = pam # General PAM messages... usually not many
  98.  
  99. # You can also choose to use the 'LogFile' option. This will cause
  100. # logwatch to only analyze that one logfile.. for example:
  101. #LogFile = messages
  102. # will process /var/log/messages. This will run all the filters that
  103. # process that logfile. This option is probably not too useful to
  104. # most people. Setting 'Service' to 'All' above analyzes all LogFiles
  105. # anyways...
  106.  
  107. #
  108. # By default we assume that all Unix systems have sendmail or a sendmail-like MTA.
  109. # The mailer code prints a header with To: From: and Subject:.
  110. # At this point you can change the mailer to anything that can handle this output
  111. # stream.
  112. # TODO test variables in the mailer string to see if the To/From/Subject can be set
  113. # From here with out breaking anything. This would allow mail/mailx/nail etc..... -mgt
  114. mailer = "/usr/sbin/sendmail -t"
  115.  
  116. #
  117. # With this option set to a comma separted list of hostnames, only log entries
  118. # for these particular hosts will be processed. This can allow a log host to
  119. # process only its own logs, or Logwatch can be run once per a set of hosts
  120. # included in the logfiles.
  121. # Example: HostLimit = hosta,hostb,myhost
  122. #
  123. # The default is to report on all log entries, regardless of its source host.
  124. # Note that some logfiles do not include host information and will not be
  125. # influenced by this setting.
  126. #
  127. #HostLimit = myhost
  128.  
  129. # vi: shiftwidth=3 tabstop=3 et
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement