Timo, would you be able to share your script?

On Friday, October 3, 2014 1:45:58 AM UTC-4, Timo Virkkala wrote:
>
> At my company, we just ended up writing a small perl script to monitor 
> our indexing log files. Everytime we see something containing "error" 
> or "warning" (case insensitive), we grab a bunch of lines from around 
> it and send it via email to me. We run the script every 5 minutes. 
> This has worked fine for us. 
>
> -T- 
>
>
> On 3 October 2014 04:59, Pat Allan <[email protected] 
> <javascript:>> wrote: 
> > Hi Daniel 
> > 
> > This has been attempted before - but both displaying indexer output 
> *and* 
> > capturing the output to grep for ERROR or similar words has proved to be 
> > hard (and maybe impossible) when working across different operating 
> systems. 
> > https://github.com/pat/riddle/pull/89 
> > 
> > You could pipe the rake task to a file, grep that file, I guess? If it’s 
> > automated, then displaying real-time output isn’t important. 
> > 
> > — 
> > Pat 
> > 
> > On 2 Oct 2014, at 3:11 pm, Daniel Vandersluis <[email protected] 
> <javascript:>> 
> > wrote: 
> > 
> > Is there any way to set up ThinkingSphinx to somehow notify us (email, 
> > hipchat, etc.) if indexing fails? If I take a look in the sphinx log I 
> can 
> > see that indexing failed, but I would like to set up some sort of 
> automatic 
> > notification if possible. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Thinking Sphinx" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/thinking-sphinx. 
> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Thinking Sphinx" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/thinking-sphinx. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to