[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] Program crashed - MY FAULT



If it helps any, I didn't have anything after the "apache" key word, no
parenthesis, nothing...

It looked something like:

xxx.xxx.199.22 gandalf.domain.com # # BBPAGER BBNET BBDISPLAY
http://host1.domain.com http://host2.domain.com http://host3.domain.com
http://host4.domain.com http://host5.domain.com pop3 smtp ssh dns ftp
mrtg mailq trap apache

all on one line, of course.

Michael Lowery
-----Original Message-----
From: Henrik Stoerner [mailto:henrik (at) hswn.dk] 
Sent: Thursday, February 17, 2005 11:37 AM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Program crashed - MY FAULT

Hi Michael,

On Thu, Feb 17, 2005 at 10:24:25AM -0600, Lowery, Michael wrote:
> Henrik,
> At some point just before I patched the file, I had also added the
> "apache" key word to a host in bb-hosts.  After removing it and
> restarting Hobbit, everything returned to normal. 

OK, you had an error in the syntax for the check. It was 
  "cont=apache;http://199.227.199.22/server-status?auto)"
but when you use a "cont" setting - instead of just the "apache"
keyword - you must have some data for the content-matching. And
the parenthesis at the end looks like a typo :-)

So it should have been
  "cont=apache;http://199.227.199.22/server-status?auto;.";

Or just
  "apache=http://199.227.199.22/server-status?auto";
which internally in bbtest-net becomes the same thing.


I'll go back and see why it crashed - it shouldn't...


Henrik

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk