[hobbit] monitoring httpd 24x7 (almost)

Dugan, Darin D [EIT] dddugan at iastate.edu
Wed Jul 30 02:44:54 CEST 2008


Hmm, well I assumed it had always been there, but perhaps it was added
later. I'm running a 4.3 snapshot from a couple months back. man
bb-hosts has this:

 

 

 
DOWNTIME=[columns:]day:starttime:endtime:cause[,day:starttime:endtime:ca
use]

              This tag can be used to ignore failed checks during
specific times of the day - e.g. if you run services

              that are only monitored e.g. Mon-Fri 8am-5pm, or you
always reboot a server every Monday between 5 and 6

              pm.

 

              The timespecification consists of

 

              day: W means Mon-Fri ("weekdays"), * means all days, 0 ..
6 = Sunday .. Saturday.  Listing multiple days

              is possible, e.g. "60" is valid meaning "Saturday and
Sunday".

 

              starttime: Time to start showing errors, must be in
24-hour clock format as  HHMM  hours/minutes.   E.g.

              for 8 am enter "0800", for 9.30 pm enter "2130"

 

              endtime: Time to stop showing errors.

 

              If  necessary, multiple periods can be specified. E.g. to
monitor a site 24x7, except between noon and 1

              pm, use DOWNTIME=*:0000:1159,*:1300:2359

 

              The interval between starttime and endtime may cross
midnight, e.g. *:2330:0200 would be valid and  have

              the same effect as *:2330:2400,*:0000:0200.

 

              What  happens is that if a test fails during the specified
time, it is reported with status BLUE instead

              of yellow or red. Thus you can still see when the service
was unavailable, but alarms will not be  trig-

              gered  and the downtime is not counted in the availability
calculations generated by the Hobbit reports.

 

              The "columns" setting is optional - it may be a
comma-separated list of status columns in which case the

              DOWNTIME setting only applies to these columns.

 

              The "cause" string (optional) is a text that will be
displayed on the status web page to explain thy the

              system is down.

 

From: Wood, Mike [mailto:Mike.Wood at kci1.com] 
Sent: Tuesday, July 29, 2008 10:54 AM
To: hobbit at hswn.dk
Subject: RE: [hobbit] monitoring httpd 24x7 (almost)

 

My man page only shows
DOWNTIME=day:starttime:endtime:cause[,day:starttime:endtime:cause].

It goes on to say that the syntax is the same as NKTIME.  NKTIME doesn't
seem to support a service either, but NK does.

Was there a patch to Hobbit that modified this behavior and/or man page?

 

________________________________

From: Dugan, Darin D [EIT] [mailto:dddugan at iastate.edu] 
Sent: Tuesday, July 29, 2008 10:42 AM
To: hobbit at hswn.dk
Subject: RE: [hobbit] monitoring httpd 24x7 (almost)

 

Check the man page...DOWNTIME can specify specific columns instead of
the entire host.

Cheers.

 

From: Wood, Mike [mailto:Mike.Wood at kci1.com] 
Sent: Tuesday, July 29, 2008 8:30 AM
To: hobbit at hswn.dk
Subject: [hobbit] monitoring httpd 24x7 (almost)

 

Hi All,

I'd like to monitor "http://[hostname]:10003" 24x7, except for 10
minutes on Sunday morning.

However:

I can't use DOWNTIME in bb-hosts, because that puts the entire host out
of service.

I can't use hobbit-clients.cfg, because it doesn't support any tags that
affect the HTTP column.

As a work-around, I can use PROC in hobbit-clients.cfg, but that affects
the PROCS column instead.

Thoughts?

Or am I failing my documentation reading skills somewhere? J

Mike Wood

UNIX System Administrator

Kinetic Concepts Inc.

5751 NW Parkway

San Antonio, TX, 78249

 

E-mail:  mike.wood at kci1.com

Office:  (210) 255-6382

Mobile:  (210) 825-5134

************************************************************************
*****
"CONFIDENTIALITY NOTICE:  This transmission (including any
accompanying attachments) is confidential, is intended only for the
individual or entity named above, and is likely to contain privileged, 
proprietary and confidential information that is exempt from disclosure 
requests under applicable law.  If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, use 
of or reliance upon any of the information contained in this
transmission
is strictly prohibited.  Any inadvertent or unauthorized disclosure
shall 
not compromise or waive the confidentiality of this transmission or any 
applicable attorney-client privilege. 
 
If you have received this transmission in error, please immediately 
notify us at postmaster at kci1.com."
 
 
Kinetic Concepts, Inc.
 
************************************************************************
******
************************************************************************
*****
"CONFIDENTIALITY NOTICE:  This transmission (including any
accompanying attachments) is confidential, is intended only for the
individual or entity named above, and is likely to contain privileged, 
proprietary and confidential information that is exempt from disclosure 
requests under applicable law.  If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, use 
of or reliance upon any of the information contained in this
transmission
is strictly prohibited.  Any inadvertent or unauthorized disclosure
shall 
not compromise or waive the confidentiality of this transmission or any 
applicable attorney-client privilege. 
 
If you have received this transmission in error, please immediately 
notify us at postmaster at kci1.com."
 
 
Kinetic Concepts, Inc.
 
************************************************************************
******
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080729/a6526757/attachment.html>


More information about the Xymon mailing list