Skip to content

tech-angels/puppet-logcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

manage your logcheck ignore rules with puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published