Xymon Mailing List Archive search

DOWNTIME for disk

6 messages in this thread

list Asif Iqbal · Sun, 15 Apr 2007 10:42:15 -0400 ·
Is it possible to define DOWNTIME just for a service like `disk' instead of
the all services of a host

For example:

   1.2.3.4      oracle.domain.com # DOWNTIME=6:1800:2030

does not mention any service name.

Is its still same w/ hobbit 4.2?

Would be nice if I could add the service name like this

   1.2.3.4      oracle.domain.com # DOWNTIME=disk:6:1800:2030

This host's disk space goes way above threshold for about 2 hrs on Saturdays
as a normal behavior

I could use the TIME parameter on hobbit-alerts.cfg to define the time
outside that timeframe
to be alerted only, but that won't stop it being `red' on the web.

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Rich Smrcina · Sun, 15 Apr 2007 09:49:46 -0500 ·
How about the TIME parameter for that host in hobbit-clients.cfg (before the 'regular' one for that host)?
quoted from Asif Iqbal

Asif Iqbal wrote:
Is it possible to define DOWNTIME just for a service like `disk' instead of the all services of a host

For example:

   1.2.3.4 <http://1.2.3.4>;      oracle.domain.com <http://oracle.domain.com>; # DOWNTIME=6:1800:2030
quoted from Asif Iqbal

does not mention any service name.

Is its still same w/ hobbit 4.2?

Would be nice if I could add the service name like this

   1.2.3.4 <http://1.2.3.4>;      oracle.domain.com <http://oracle.domain.com>; # DOWNTIME=disk:6:1800:2030
quoted from Asif Iqbal

This host's disk space goes way above threshold for about 2 hrs on Saturdays
as a normal behavior

I could use the TIME parameter on hobbit-alerts.cfg to define the time outside that timeframe
to be alerted only, but that won't stop it being `red' on the web.

-- 
Asif Iqbal

PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu <http://pgp.mit.edu>;

-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
list David Stuffle · Sun, 15 Apr 2007 11:52:41 -0400 ·
 
Is it possible to define DOWNTIME just for a service like `disk' instead of the all services of a host
From the man pages.  I think you have to specify a cause if you specify a column.

DOWNTIME=[columns:]day:starttime:endtime:cause[,day:starttime:endtime:cause] 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. 
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 triggered 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. 
The syntax for DOWNTIME is the same as the one used by the NKTIME parameter. 
 David
DISCLAIMER:
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.
Any review, retransmission, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or entities other
than the intended recipient is prohibited. If you received this in error,
please contact the sender and destroy any copies of this document and
any attachments.
list Asif Iqbal · Sun, 15 Apr 2007 12:00:22 -0400 ·
David,

Wow! that feature is already available? I run man bb-hosts and I did not see
the `column' argument for DOWTIME parameter. Are you running a new beta
release or something?
quoted from David Stuffle

On 4/15/07, Stuffle, David (Corporate) <user-b750360cbb5f@xymon.invalid> wrote:
Is it possible to define DOWNTIME just for a service like `disk' instead
of the all services of a host
From the man pages.  I think you have to specify a cause if you specify a
column.


DOWNTIME=[columns:]day:starttime:endtime:cause[,day:starttime:endtime:cause]
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.

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 triggered 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.

The syntax for DOWNTIME is the same as the one used by the NKTIME
parameter.


David
DISCLAIMER:
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.
Any review, retransmission, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or entities other
than the intended recipient is prohibited. If you received this in error,
please contact the sender and destroy any copies of this document and
any attachments.

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list David Stuffle · Sun, 15 Apr 2007 12:02:30 -0400 ·
Wow! that feature is already available? I run man bb-hosts and I did not see the `column' argument for DOWTIME parameter. Are you running a new beta release or something?
I beleive it was available of from the all-in-one patch.  After installing the patch, it updated the OS man pages but not in the Hobbit location, so I had to copy the man page from the OS man page directory to the Hobbit man page location (~hobbit/www/help/man).  Then run man2html on the man page to make it html form.
quoted from Asif Iqbal
 
David
DISCLAIMER:
The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged material.
Any review, retransmission, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or entities other
than the intended recipient is prohibited. If you received this in error,
please contact the sender and destroy any copies of this document and
any attachments.
list Henrik Størner · Sun, 15 Apr 2007 18:08:03 +0200 ·
quoted from Asif Iqbal
On Sun, Apr 15, 2007 at 12:00:22PM -0400, Asif Iqbal wrote:
Wow! that feature is already available? I run man bb-hosts and I did not see
the `column' argument for DOWTIME parameter.
It was accidentally left out of the man-page. There's even a patch for
it at http://www.hswn.dk/hobbitsw/patches/


Regards,
Henrik