Can someone tell me if I am missing something in this configuration for
ommail?

# "Bad Data" Alert
###############################################################################
$ActionMailTo [email protected]
$ActionMailFrom [email protected]
$ActionMailSMTPServer localhost
$ActionMailSubject mailSubjectBadData

$ActionExecOnlyOnceEveryInterval 0
if $msg contains 'Bad Data' then :ommail:;mailBody

If i change the $ActionExecOnlyOnceEveryInterval to anything other than '0'
my logfiles will update at the interval specified. Meaning, if I specify
'300' then my logs update every 5 minutes.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to