[hobbit] RE: Hobbit Emails empty

Kevin Doyle kdoyle at peak5.com
Thu May 15 00:38:40 CEST 2008


On the bbnt1-08d client there is a checkmark available for FQDN.
Checking that and adding the fully qualified name to the bb-hosts file
is what fixed the issue/

 

________________________________

From: Josh Luthman [mailto:josh at imaginenetworksllc.com] 
Sent: Wednesday, May 14, 2008 2:59 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] RE: Hobbit Emails empty

 

As I said above I don't know what the alerts send me as far as a body.
Could you outline what needs done for the content to be included in the
alerts?  You need to have FQDNs and what checked?

Thanks for the above post!

On Wed, May 14, 2008 at 4:49 PM, Kevin Doyle <kdoyle at peak5.com> wrote:

Sure thing... this may be documented but I found it so quickly I hadn't
even gone ot the man pages yet! :-)

 

Here is the relevant section of hobbitserver.cfg

 

Originally BBWEBHOST had http://$BBSERVERWWWNAME
<http://$bbserverwwwname/>  I changed it to https:// and the emails had
the correct link.

 

# Specific to this host

BBOSTYPE="$BBSERVEROS"          # Hosttype (operating system). Not used
by server-side, but clients use this.

MACHINEDOTS="$BBSERVERHOSTNAME" # This systems hostname

MACHINEADDR="$BBSERVERIP"       # This systems IP-address

 

# URL's generated/used by bbgen

BBWEBHOST="https://$BBSERVERWWWNAME"            # Just the host part of
the URL - http://www.foo.com

BBWEBHOSTURL="$BBWEBHOST$BBSERVERWWWURL"        # Prefix for all static
Hobbit pages - http://www.foo.com/bb

BBWEBHTMLLOGS="$BBWEBHOSTURL/html"              # Prefix for the Hobbit
HTML logs (only if BBLOGSTATUS=STATIC)

 

________________________________

From: Josh Luthman [mailto:josh at imaginenetworksllc.com] 
Sent: Wednesday, May 14, 2008 2:33 PM
To: hobbit at hswn.dk


Subject: Re: [hobbit] RE: Hobbit Emails empty

 

Kevin,

Would you mind posting the configuration change you made here, please?
It makes it nice for those who read over the mailing list logs in the
future.

Josh

On Wed, May 14, 2008 at 4:27 PM, Kevin Doyle <kdoyle at peak5.com> wrote:

Nevermind... got that one too. A change in the hobbitserver.cfg file and
I am all set

 

Thanks everybody!

 

________________________________

From: Kevin Doyle [mailto:kdoyle at peak5.com] 
Sent: Wednesday, May 14, 2008 2:13 PM
To: hobbit at hswn.dk


Subject: RE: [hobbit] RE: Hobbit Emails empty

 

Ok, after some trial and error, I figured this out. Hobbit will only get
the full message from the client if you are using FQDN in bb-hosts and
have the check box on the client checked.

 

Now is there a way to change the http link that is sent out in the
message? My server uses https rather than http.

 

________________________________

From: Kevin Doyle [mailto:kdoyle at peak5.com] 
Sent: Wednesday, May 14, 2008 11:29 AM
To: hobbit at hswn.dk
Subject: RE: [hobbit] RE: Hobbit Emails empty

 

So where would I look to see what message is being logged by the client?
It appears this is not being sent to sendmail?

 

________________________________

From: Lars Ebeling [mailto:lars.ebeling at leopg9.no-ip.org] 
Sent: Wednesday, May 14, 2008 11:12 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] RE: Hobbit Emails empty

 

I am also using bbclient 1.08d without any problems

 

Lars

	----- Original Message ----- 

	From: Josh Luthman <mailto:josh at imaginenetworksllc.com>  

	To: hobbit at hswn.dk 

	Sent: Wednesday, May 14, 2008 6:45 PM

	Subject: Re: [hobbit] RE: Hobbit Emails empty

	 

	Thinking about it I am using the Windows BB client too!  It is
on one server that I normally just cuss and disable the tests for, but
it is reporting =)

	On Wed, May 14, 2008 at 12:41 PM, Hubbard, Greg L
<greg.hubbard at eds.com> wrote:

	I have no problems with the Windows BB client -- I think Henrik
did an excellent job with "backwards" compatibility.

	 

	GLH

		 

		
________________________________


		From: Galen Johnson [mailto:Galen.Johnson at sas.com] 
		Sent: Wednesday, May 14, 2008 11:34 AM 

		
		To: hobbit at hswn.dk
		Subject: RE: [hobbit] RE: Hobbit Emails empty

		 

		I don't think hobbit plays well with the BB windows
client (I don't recal where I saw this).  Have you tried putting BBWin
on one of the servers to see if that gives you any output?

		 

		=G=

		 

		From: Kevin Doyle [mailto:kdoyle at peak5.com] 
		Sent: Wednesday, May 14, 2008 11:00 AM
		To: hobbit at hswn.dk
		Subject: RE: [hobbit] RE: Hobbit Emails empty

		 

		Some further information. My clients (mostly Windows2003
servers are running the Big Brother client, version 1-08d

		 

		
________________________________


		From: Josh Luthman [mailto:josh at imaginenetworksllc.com] 
		Sent: Wednesday, May 14, 2008 8:47 AM
		To: hobbit at hswn.dk
		Subject: Re: [hobbit] RE: Hobbit Emails empty

		 

		Kevin,
		
		Try this:

		HOST=*
		     MAIL kdoyle (at) peak5.com <http://peak5.com/>
COLOR=RED REPEAT=20 RECOVERED

		Josh

		On Wed, May 14, 2008 at 10:35 AM, Kevin Doyle
<kdoyle at peak5.com> wrote:

		Yes here is the relevant line in my hobbit-alerts.cfg
		 
		#
		# The hobbit-alerts.cfg file controls who receives
alerts
		# when a status in the BB system goes into a critical
		# state (usually: red, yellow or purple).
		#
		# This file is made up from RULES and RECIPIENTS.
		#
		# A RULE is a filter made from the PAGE where a host
		# is located in BB; the HOST name, the SERVICE name,
		# the COLOR of the status, the TIME of day, and the
		# DURATION of the event.
		#
		# A RECIPIENT can be a MAIL address, or a SCRIPT.
		#
		# Recipients can also have rules associated with them,
		# that modify the rules for a single recipient, e.g.
		# you can define a rule for alerting, then add an
		# extra criteria e.g. so a single recipient does not get
		# alerted until after 20 minutes.
		#
		# A sample rule:
		 
		HOST=* Color=red
		     MAIL kdoyle (at) peak5.com FORMAT=TEXT COLOR=RED
REPEAT=20 RECOVERED
		 
		#      MAIL cio at foo.com DURATION>60 COLOR=red
		#      SCRIPT /usr/local/bin/sendsms 1234567890
FORMAT=SMS
		 
		 
		 
		 
		Can you share your ~/server/etc/hobbit-alerts.cfg
please?

		 

		 

		
________________________________


		From: Kevin Doyle 
		Sent: Tuesday, May 13, 2008 1:12 PM
		To: 'hobbit at hswn.dk'
		Subject: Hobbit Emails empty

		 

		I have a test Hobbit server running on CentOS 5.0 I am
running Hobbit 4.1.2p2 and everything appears to be fuinctioning correct
except alerting. When I trigger an alert, I get an email with only a
subject and no body. I expected to get some information about the alert
and the link to the monitored device. I am sure I am missing something
fairly simple but I am new to Linux and Hobbit. 

		 

		Any Ideas?

		 

		Kevin P. Doyle

		Sr. Systems Administrator

		Peak5

		 

		 

		 

		
		
		
		-- 
		Josh Luthman
		Office: 937-552-2340
		Direct: 937-552-2343
		1100 Wayne St
		Suite 1337
		Troy, OH 45373
		
		Those who don't understand UNIX are condemned to
reinvent it, poorly.
		--- Henry Spencer 

	
	
	
	-- 
	Josh Luthman
	Office: 937-552-2340
	Direct: 937-552-2343
	1100 Wayne St
	Suite 1337
	Troy, OH 45373
	
	Those who don't understand UNIX are condemned to reinvent it,
poorly.
	--- Henry Spencer 




-- 
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer 




-- 
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080514/3784a71b/attachment.html>


More information about the Xymon mailing list