Hi, I have the following section in my conf file, where it should log all file error to a file, then email me once every 60 seconds if more are ariving. I also want it to SMS me every 600 seconds for the SMS to work i need to give it a few arguments, how can i do that using rsyslog?
So far my config looks like this: if $programname == 'FILLER' then /var/log/application/filler.log $ModLoad ommail $ActionMailSMTPServer localhost $ActionMailFrom [email protected] $ActionMailTo [email protected] $template fillerSubject,"FILE ERROR %HOSTNAME% %timestamp%" $template mailBody,"%msg%" $ActionMailSubject fillerSubject $ActionExecOnlyOnceEveryInterval 10 if $programname == 'FILLER' then :ommail:;mailBody if $programname == 'FILLER' /usr/bin/alert & ~ For the SMS to work /usr/bin/alert needs the following arguments STATUS Message Phone_Number Ideally Message will be %msg%, phone number will be fixed and STATUS would be the priority level. Any help will be gratefully received. Thanks Mark _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

