Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidwinter/puppet-papertrail
https://github.com/davidwinter/puppet-papertrail
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidwinter/puppet-papertrail
- Owner: davidwinter
- Created: 2013-03-25T17:54:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-24T09:50:33.000Z (almost 9 years ago)
- Last Synced: 2024-05-01T13:39:27.484Z (7 months ago)
- Language: Puppet
- Size: 198 KB
- Stars: 4
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# puppet-papertrail
Sets up `rsyslog` to send logs to papertrail over TLS. Also sets up `remote_syslog` so that other log files can be monitored too.
**Note:** Be sure to change `log_port` parameter to the port number that Papertrail assign you.
## Install
With librarian-puppet, add the following to your Puppetfile:
mod 'papertrail',
:git => 'git://github.com/davidwinter/puppet-papertrail.git'Then run `librarian-puppet install`.
## Usage
class { 'papertrail':
log_port => '12345',
extra_logs => [
'/var/log/nginx/error.log',
'/var/log/php5-fpm.log',
'/var/log/mysql.err',
],
}You can add as many additional log files to the `extra_logs` parameter array as you want it to monitor.
## Author
David Winter
## Licence
MIT