Commit 3b2ca401 authored by guido's avatar guido
Browse files

removed nagios/check_mk definitions

dependence fails
parent fc0c2298
......@@ -17,8 +17,7 @@ https://git.sarava.org/?p=puppet-mail.git;a=blob_plain;f=manifests/sympa.pp;hb=H
Riseup Networks puppet class (not published)
Dependencies:
* check_mk to setup nagios process checks
* FIXME: probably other stuff
* FIXME: probably stuff
How to use
==========
......
class sympa (
$cgitype = 'fcgid',
$nagios = true,
$munin = true,
$samilter = true,
$upstream = false
......@@ -13,7 +12,6 @@ class sympa (
}
if $munin { include sympa::munin }
if $nagios { include sympa::nagios }
if $samilter { include sympa::samilter }
case $cgitype {
......
# FIXME: this has riseup specific paths currently
class sympa::nagios {
check_mk::agent::ps {
'archived.pl':
procname => '~/usr/bin/perl /home/sympa/bin/archived\.pl';
'wwsympa.fcgi':
procname => '~/usr/bin/perl /home/sympa/bin/wwsympa\.fcgi',
levels => '1, 1, 10, 12';
'bounced.pl':
procname => '~/usr/bin/perl /home/sympa/bin/bounced\.pl',
levels => '1, 1, 2, 2';
'task_manager.pl':
procname => '~/usr/bin/perl /home/sympa/bin/task_manager\.pl';
'sympa.pl':
procname => '~/usr/bin/perl /home/sympa/bin/sympa\.pl',
levels => '2, 2, 2, 2';
# sympa scales bulk processes automatically, but there should be at
# least 1 and almost always 10
'bulk.pl':
procname => '~/usr/bin/perl /home/sympa/bin/bulk\.pl',
levels => '1, 5, 10, 10';
# FIXME: why isn't this being done in the {site_}apache module?
'apache':
procname => '~/usr/sbin/apache2 -k start',
levels => '4, 4, 6, 6';
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment