blob: d2750e9ac09787dcb5efdba996751a1319456eaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# See main .sh file for info
# rgerhards, 2010-06-23
$IncludeConfig diag-common.conf
# omtesting provides the ability to cause "SUSPENDED" action state
$ModLoad ../plugins/omtesting/.libs/omtesting
$MainMsgQueueTimeoutShutdown 100000
$template outfmt,"%msg:F,58:2%\n"
:msg, contains, "msgnum:" :omtesting:fail 2 0
$ActionExecOnlyWhenPreviousIsSuspended on
& ./rsyslog.out.log;outfmt
# note that we MUST re-set PrevSusp, else it will remain active
# for all other actions as well (this tells us how bad the current
# config language is...). -- rgerhards, 2010-06-24
$ActionExecOnlyWhenPreviousIsSuspended off
& ./rsyslog2.out.log;outfmt
|