Just repeat the complete action as often as you need. The "complete" action is 
the action statement itself as well as all param settings in front of it.

rainer

> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Paul Fontenot
> Sent: Friday, December 21, 2012 6:01 PM
> To: Rsyslog List
> Subject: [rsyslog] ommail configuration
> 
> Using rsyslog-5.8.10-2.el6.x86_64
> 
> I currently have this working well for a single event, my question is
> can
> it be used for multiple events? Meaning, if I set it up to send email
> for
> messages that contain "session opened for root" with a subject of "Root
> session opened" can i also set it up for "session closed for root" with
> a
> subject of "Root session closed"?
> 
> I have found numerous oinks that point to persons attempting something
> like
> this but no definitive answer on how to do it or if it even works. Any
> information would be greatly appreciated.
> _______________________________________________
> 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.
_______________________________________________
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