[rsyslog-notify] Forum Thread: Re: Create threshol in rules - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Fri Apr 18 06:14:43 CEST 2014
User: dlang
Forumlink: http://kb.monitorware.com/viewtopic.php?p=24559#p24559
Message:
----------
v8.2 is now the stable version, so you should not have to worry about
compiling it
to do a threshold, what you can do is something along the lines of:
set $\count = 0;
if (some test) then {
set $\count = $\count +1;
#there's probably a better way to do the inciment)
if $\count > 4 then /var/log/shorterlog
}
More information about the rsyslog-notify
mailing list