[rsyslog-notify] Forum Thread: execOnlyEveryNthTimeout - (Mode 'post')
noreply at adiscon.com
noreply at adiscon.com
Mon Sep 5 23:38:49 CEST 2016
User: drasko
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26926#p26926
Message:
----------
Hi,
I am using rsyslog version 8.13 with the following configuration.
[code:1y7o1huk]
# -- Loading modules
$ModLoad imuxsock
$ModLoad imklog
$ModLoad omprog
...
if $msg contains "xxxxx " then {
action(type="omprog"
binary="tmp/test_mld.sh"
template="RSYSLOG_TraditionalFileFormat"
action.execOnlyEveryNthTime="2"
action.execOnlyEveryNthTimeout="30" )
} [/code:1y7o1huk]
I have expected, when every 31(35, 40,50....) second one message is sent
the script will not be executed.
The test has shown that the script is executed after each second message.
Is that a configuration (my) error or is it a rsyslog bug.
Thank you in advance for your help.
More information about the rsyslog-notify
mailing list