Andrew Hammond andrew.george.hammond at gmail.com
Wed Mar 28 14:01:12 PDT 2007
On 3/16/07, Andrew Hammond <andrew.george.hammond at gmail.com> wrote:
> On 3/9/07, Andrew Hammond <andrew.george.hammond at gmail.com> wrote:
> > On 3/9/07, Vivek Khera <vivek at khera.org> wrote:
> > >
> > > On Mar 9, 2007, at 12:59 PM, Andrew Hammond wrote:
> > >
> > > > I'll give a +1 on using daemontools to run the slons. It's far clea=
ner
> > > > and easier than anything else I've tried. I've also put some more w=
ork
> > > > into polishing the slon-mkservice.sh script, which I would be happy=
 to
> > > > contribute back if there's any interest.
> > >
> > > absolutely!
> >
> > Ok, I'll spit-n-polish then email my version to you.
>
> Attached. Feedback is very welcome. Yes, I realize it creates
> annoyingly verbose directory names for the services.
>
> logrep is a tool intended to allow efficient real-time filtering of
> log files so that you can pull semantically related information from a
> highly verbose log (ie DEBUG2) and put it all in one place. This is
> very handy if you want to implement automated monitoring scripts for
> stuff like nagios. It relies on the tail -F functionality (tested on
> FreeBSD, OSX, Linux).
>
> I've included a multilog filter for use with logrep that plucks out
> everything related to subscribe as an example. I'll eventually get
> around to writing a nagios monitor that does something clever with
> this log output (like say warn when a slon is doing the initial copy
> so you know not to clobber it). I'd love to see other filters that
> pull out other interesting stuff, like specific error conditions, for
> example.

And now with the debugging and other cleanups...


Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logrep-mkservice.sh
Type: application/x-sh
Size: 4014 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-general/attachments/20070328=
/6bb6e302/logrep-mkservice-0001.sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slon-mkservice.sh
Type: application/x-sh
Size: 13273 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-general/attachments/20070328=
/6bb6e302/slon-mkservice-0001.sh


More information about the Slony1-general mailing list