Xymon Mailing List Archive search

Program crashed - MY FAULT

list Michael Lowery
Thu, 17 Feb 2005 11:46:52 -0600
Message-Id: <user-8efa9ad92626@xymon.invalid>

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:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, February 17, 2005 11:37 AM
To: user-ae9b8668bcde@xymon.invalid
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