monitoring httpd 24x7 (almost)
list Mike Wood
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? :-) Mike Wood UNIX System Administrator Kinetic Concepts Inc. XXXX NW Parkway San Antonio, TX, 78249 E-mail: user-ca9fdeef37c9@xymon.invalid Office: (XXX) XXX-XXXX Mobile: (XXX) XXX-XXXX ***************************************************************************** "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 user-c978de0668a4@xymon.invalid." Kinetic Concepts, Inc. ******************************************************************************
list Larry Barber
You can just disable the http test for the period involved. You can even put it into a cron job so it will fire off every week, if you like: $ $BBHOME/server/bin/bb <hobbit-host> 'disable hostname.testname 10' . Thanks, Larry Barber
▸
On Tue, Jul 29, 2008 at 8:30 AM, Wood, Mike <user-ca9fdeef37c9@xymon.invalid> wrote:
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.
XXXX NW Parkway
San Antonio, TX, 78249
E-mail: user-ca9fdeef37c9@xymon.invalid
Office: (XXX) XXX-XXXX
Mobile: (XXX) XXX-XXXX
*****************************************************************************
"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 user-c978de0668a4@xymon.invalid."
Kinetic Concepts, Inc.
******************************************************************************
list Stewart L
If you have a scripted job that runs at that time, add aline to the script to use the bb command-line tool to disable the test. :)
▸
On Tue, Jul 29, 2008 at 11:01 AM, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote:
You can just disable the http test for the period involved. You can even put it into a cron job so it will fire off every week, if you like: $ $BBHOME/server/bin/bb <hobbit-host> 'disable hostname.testname 10' . Thanks, Larry Barber On Tue, Jul 29, 2008 at 8:30 AM, Wood, Mike <user-ca9fdeef37c9@xymon.invalid> wrote: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. XXXX NW Parkway San Antonio, TX, 78249 E-mail: user-ca9fdeef37c9@xymon.invalid Office: (XXX) XXX-XXXX Mobile: (XXX) XXX-XXXX ***************************************************************************** "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 user-c978de0668a4@xymon.invalid." Kinetic Concepts, Inc. ******************************************************************************
--
Stewart
--
You only lose what you cling to.
list Darin D [eit] Dugan
Check the man page...DOWNTIME can specify specific columns instead of the entire host. Cheers.
▸
From: Wood, Mike [mailto:user-ca9fdeef37c9@xymon.invalid] Sent: Tuesday, July 29, 2008 8:30 AM To: user-ae9b8668bcde@xymon.invalid 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. XXXX NW Parkway San Antonio, TX, 78249 E-mail: user-ca9fdeef37c9@xymon.invalid Office: (XXX) XXX-XXXX Mobile: (XXX) XXX-XXXX ************************************************************************ ***** "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 user-c978de0668a4@xymon.invalid." Kinetic Concepts, Inc. ************************************************************************ ******
list Mike Wood
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:user-b33a1547d27a@xymon.invalid] Sent: Tuesday, July 29, 2008 10:42 AM To: user-ae9b8668bcde@xymon.invalid 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:user-ca9fdeef37c9@xymon.invalid] Sent: Tuesday, July 29, 2008 8:30 AM To: user-ae9b8668bcde@xymon.invalid 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? :-) Mike Wood UNIX System Administrator Kinetic Concepts Inc. XXXX NW Parkway San Antonio, TX, 78249 E-mail: user-ca9fdeef37c9@xymon.invalid Office: (XXX) XXX-XXXX Mobile: (XXX) XXX-XXXX ************************************************************************ ***** "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 user-c978de0668a4@xymon.invalid." 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 user-c978de0668a4@xymon.invalid." Kinetic Concepts, Inc. ******************************************************************************
list Mike Wood
Thanks for everyone's help on my httpd question.
▸
Mike Wood UNIX System Administrator Kinetic Concepts Inc. XXXX NW Parkway San Antonio, TX, 78249 E-mail: user-ca9fdeef37c9@xymon.invalid Office: (XXX) XXX-XXXX Mobile: (XXX) XXX-XXXX
▸
From: Stewart L [mailto:user-a046134cfd06@xymon.invalid] Sent: Tuesday, July 29, 2008 10:28 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] monitoring httpd 24x7 (almost) If you have a scripted job that runs at that time, add aline to the script to use the bb command-line tool to disable the test. :) On Tue, Jul 29, 2008 at 11:01 AM, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote: You can just disable the http test for the period involved. You can even put it into a cron job so it will fire off every week, if you like: $ $BBHOME/server/bin/bb <hobbit-host> 'disable hostname.testname 10' . Thanks, Larry Barber On Tue, Jul 29, 2008 at 8:30 AM, Wood, Mike <user-ca9fdeef37c9@xymon.invalid> wrote: 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? :-) Mike Wood UNIX System Administrator Kinetic Concepts Inc. XXXX NW Parkway San Antonio, TX, 78249 E-mail: user-ca9fdeef37c9@xymon.invalid Office: (XXX) XXX-XXXX Mobile: (XXX) XXX-XXXX ************************************************************************ ***** "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 user-c978de0668a4@xymon.invalid." Kinetic Concepts, Inc. ************************************************************************ ****** -- Stewart -- You only lose what you cling to. ***************************************************************************** "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 user-c978de0668a4@xymon.invalid." Kinetic Concepts, Inc. ******************************************************************************
list Darin D [eit] Dugan
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:user-ca9fdeef37c9@xymon.invalid] Sent: Tuesday, July 29, 2008 10:54 AM To: user-ae9b8668bcde@xymon.invalid 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:user-b33a1547d27a@xymon.invalid] Sent: Tuesday, July 29, 2008 10:42 AM To: user-ae9b8668bcde@xymon.invalid 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:user-ca9fdeef37c9@xymon.invalid] Sent: Tuesday, July 29, 2008 8:30 AM To: user-ae9b8668bcde@xymon.invalid 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. XXXX NW Parkway San Antonio, TX, 78249 E-mail: user-ca9fdeef37c9@xymon.invalid Office: (XXX) XXX-XXXX Mobile: (XXX) XXX-XXXX ************************************************************************ ***** "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 user-c978de0668a4@xymon.invalid." 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 user-c978de0668a4@xymon.invalid." Kinetic Concepts, Inc. ************************************************************************ ******