Installs Logwatch on Debian/Ubuntu and CentOS/Fedora/Redhat based Linux systems.
Also on Ansible Galaxy.
None.
MIT
Installs Logwatch on Debian/Ubuntu and CentOS/Fedora/Redhat based Linux
License: MIT License
Installs Logwatch on Debian/Ubuntu and CentOS/Fedora/Redhat based Linux systems.
Also on Ansible Galaxy.
None.
MIT
In order to report weekly, I think libdate-manip-perl
needs to be installed so that you can pass advanced range syntax to logwatch, e.g. logwatch_range: between -7 days and -1 days
Otherwise logwatch will complain it cannot parse the range option.
Technically, this could be done through logwatch_packages
, but in that case the README could include the example configuration required for a weekly report:
logwatch_cron_time: weekly
logwatch_range: between -7 days and -1 days
logwatch_packages:
- logwatch
- libdate-manip-perl
I'm using version v0.1-alpha
but getting this error:
TASK [hwwilliams.logwatch : Ensure Logwatch Configuration File Is Present] *******************************************************************************************************
fatal: [jump2d]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'logwatch_mail_to' is undefined"}
It looks like this is fixed on master, maybe you want to create a new release/tag?
$ sudo logwatch
Wrong configuration entry for "Service", if "All" selected, only "-" items are allowed
/etc/logwatch/conf/logwatch.conf looks like:
## Ansible managed
MailFrom = Logwatch
MailTo = [email protected]
Detail = 9
Range = between -7 days and -1 days
Output = stdout
Format = text
Service = True}
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.