Commit 76bc6652 authored by taggart's avatar taggart
Browse files

these proc checks should all use regex types since they have multiple fields

parent 58bbbcc6
......@@ -4,25 +4,25 @@ class sympa::nagios {
check_mk::agent::ps {
'archived.pl':
procname => '/usr/bin/perl /home/sympa/bin/archived.pl';
procname => '~/usr/bin/perl /home/sympa/bin/archived\.pl';
'wwsympa.fcgi':
procname => '/usr/bin/perl /home/sympa/bin/wwsympa.fcgi';
procname => '~/usr/bin/perl /home/sympa/bin/wwsympa\.fcgi';
'bounced.pl':
procname => '/usr/bin/perl /home/sympa/bin/bounced.pl';
procname => '~/usr/bin/perl /home/sympa/bin/bounced\.pl';
'task_manager.pl':
procname => '/usr/bin/perl /home/sympa/bin/task_manager.pl';
procname => '~/usr/bin/perl /home/sympa/bin/task_manager\.pl';
'sympa.pl':
procname => '/usr/bin/perl /home/sympa/bin/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',
procname => '~/usr/bin/perl /home/sympa/bin/bulk\.pl',
levels => '1, 10, 10, 10';
# FIXME: why isn't this being done in the {site_}apache module?
'apache':
procname => '/usr/sbin/apache2 -k start',
procname => '~/usr/sbin/apache2 -k start',
levels => '5, 5, 5, 5';
}
}
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