Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oefenweb/ansible-logcheck
Ansible role to set up logcheck in Debian-like systems
https://github.com/oefenweb/ansible-logcheck
ansible debian logcheck ubuntu
Last synced: about 1 month ago
JSON representation
Ansible role to set up logcheck in Debian-like systems
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-logcheck
- Owner: Oefenweb
- License: mit
- Created: 2014-08-19T10:51:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:04:30.000Z (about 1 year ago)
- Last Synced: 2023-11-02T11:37:09.479Z (about 1 year ago)
- Topics: ansible, debian, logcheck, ubuntu
- Language: Jinja
- Size: 99.6 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## logcheck
[![CI](https://github.com/Oefenweb/ansible-logcheck/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-logcheck/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-logcheck-blue.svg)](https://galaxy.ansible.com/Oefenweb/logcheck)Set up logcheck in Debian-like systems.
#### Requirements
None
#### Variables
* `logcheck_install`: [default: `[syslog-summary]`]: Additional packages to install (e.g. `syslog-summary`)
* `logcheck_reportlevel`: [default: `server`]: Controls the level of filtering
* `logcheck_sendmailto`: [default: `root`]: Controls the address mail goes to
* `logcheck_logfiles`: [default: `[/var/log/{syslog,auth.log,mail.log,kern.log]`]: Log files to check
* `logcheck_custom_ignores`: [default: `[]`]: Additional rules for lines to ignore
* `logcheck_sortuniq`: [default: `false`]: Controls whether `sort -u` is used on log entries
* `logcheck_rulesdir`: [optional]: Controls the base directory for rules file location, this must be an absolute path
* `logcheck_manage_cron_d`: [default: `true`]: Whether or not to manage `/etc/cron.d/logcheck`
* `logcheck_cron`: [default: `@daily`]: cron.d timestamp when to execute logcheck## Dependencies
None
#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.logcheck
```#### License
MIT
#### Author Information
Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-logcheck/issues)!