manage your logcheck ignore rules with puppet
HTML Puppet
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
manifests
templates
README.rst

README.rst

Logcheck Puppet module

This module is provided to you by Camptocamp.

Dependencies

None

Examples

Server node::

node 'logserver.domain.lt' {

# setting up some stuff

$logcheck_fqdn = 1 $logcheck_mailto = "root" $logcheck_reportlvl = "server"

include logcheck

# ignore scope from puppet logs

logcheck::ignore {"scope in puppet": rule => 'puppetmasterd[[0-9]+].+Scope', }

# ignore violations for a specific thing on a specific host

logcheck::ignore {"violations redir <host>": rule => "<host> redir.*getaddrinfo(.+) failed" type => "violations" }

}

Changelog

2009-06-02 : this module uses now a template for logcheck configuration; all variables can be set like we want.
Renamed logheck::base to logcheck using "file" type to create /srv/logcheck directory
2009-04-29 : using common::concatfilepart solves common::line problem. Now we can put rules as we like. They all go into ONE file : auto-puppet, in the directory we want.
For now, logcheck config is set for "server" level. We can imagine setting it on the fly when putting its config file through a template. Maybe later.