On Mon, Dec 19, 2011 at 9:30 AM, Kaushal Shriyan <[email protected]>wrote:
> > > On Mon, Dec 19, 2011 at 5:18 AM, Kaushal Shriyan <[email protected] > > wrote: > >> >> >> On Mon, Dec 19, 2011 at 4:55 AM, Ryan Kelly <[email protected]> wrote: >> >>> > Thanks for the quick reply, I have around 200 client hosts which pushes >>> > syslog to a Remote Centralized Rsyslog server. Do i need to use >>> > http://rsyslog.com/doc/ommail.html on all 200 client hosts or can it >>> be >>> > setup only on Remote Centralized Rsyslog server. >>> It can be setup just on the centralized server, assuming those messages >>> you are interested in are actually being forwarded to that server. >>> >>> >> Thanks Ryan and any further use cases or several examples regarding >> $template (*Configuration Directives*) as mentioned in >> http://rsyslog.com/doc/ommail.html >> >> Please suggest. >> >> Regards >> >> Kaushal >> > > Hi, > > I am referring to http://rsyslog.com/doc/ommail.html to set email or sms > alerts using email-to-sms feature > Basically i am interested in various conditions or strings which can be > captured or trapped and post it to the user > > For example "if $msg contains 'hard disk fatal failure' then > :ommail:;mailBody" as per that link > > so how would i know what strings i can expect if there is a hardware or > software error in the syslog ? > I mean typical error description for specific problem > > Please guide me > > Regards > > Kaushal > > Hi Again Also as per http://wiki.rsyslog.com/index.php/FailoverSyslogServer, the data is stored in /var/log/localbuffer on client hosts Once the Centralized Primary or Secondary Server is up, will it push the data which was stored locally on client hosts in /var/log/localbuffer to the centralized server automatically ? Regards, Kaushal _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/

