mireiawen.solarwinds_papertrail

Build Status Ansible Galaxy

Solarwinds Papertrail

This project helps you install Solarwinds Papertrail for logging. It should work with most Linux distributions that have Rsyslog installed. The automated tests are run on Debian and Ubuntu.

Requirements

You need Rsyslogd installed and a Papertrail account.

Role Variables

Solarwinds settings

log_server

This is the hostname of the log server you get from Solarwinds Papertrail. It should look like logsX.papertrailapp.com.

log_port

This is the port for the log server from Solarwinds Papertrail.

Common settings

log_config_owner

The owner of the created configuration file. The default is root.

log_config_group

The group for the created configuration file. The default is root.

log_config_mode

The permissions for the created configuration file. The default is u=rw,go=r.

Rsyslogd specific settings

rsyslog_config_dir

The directory where the Papertrail configuration will be saved. The default is /etc/rsyslog.d.

rsyslog_config_file

The file where the Papertrail configuration will be saved. The default is {{ rsyslog_config_dir }}/95-papertrail.conf.

rsyslog_config_main

The main configuration for Rsyslog that it will check to see if Rsyslog is installed. The default is /etc/rsyslog.conf.

rsyslog_service

The name of the Rsyslog service. The default is rsyslog.

Dependencies

There are no dependencies.

Example Playbook

- hosts: "servers"
  roles:
  - "mireiawen.solarwinds-papertrail"
    log_server: "logsX.papertrailapp.com"
    log_port: "12345"

License

MIT license, see LICENSE for more details.

Informazioni sul progetto

Install Solarwinds Papertrail logging

Installa
ansible-galaxy install mireiawen.solarwinds_papertrail
Licenza
mit
Download
297
Proprietario