Xymon Mailing List Archive search

DOWNTIME and info column

8 messages in this thread

list Dominique Frise · Tue, 06 May 2008 08:52:55 +0200 ·
Hi,

This was already reported long time ago 
(http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html) and maybe I missed a 
patch/solution to this.

The info column does not display the "Planned downtime" correctly:

bb-hosts
DOWNTIME=ldap:*:0650:0700:Regeneration

info column
Planned downtime:	ldap:*:0650:0700:Regeneration

The info column should display
Planned downtime:	ldap:All days:0650:0700:Regeneration


Dominique
UNIL - University of Lausanne
list Josh Luthman · Tue, 6 May 2008 09:52:36 -0400 ·
Dominique,

I just ventured into DOWNTIME last week and found that by dropping the
comment column the problem went away!

Try changing it to

DOWNTIME=ldap:*:0650:0700

Josh

On Tue, May 6, 2008 at 2:52 AM, Dominique Frise <user-78ab6673b600@xymon.invalid>
quoted from Dominique Frise
wrote:
Hi,

This was already reported long time ago (
http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html) and maybe I
missed a patch/solution to this.

The info column does not display the "Planned downtime" correctly:

bb-hosts
DOWNTIME=ldap:*:0650:0700:Regeneration

info column
Planned downtime:       ldap:*:0650:0700:Regeneration

The info column should display
Planned downtime:       ldap:All days:0650:0700:Regeneration


Dominique
UNIL - University of Lausanne

-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Dominique Frise · Tue, 06 May 2008 17:03:23 +0200 ·
Hi Josh,

Thanks, but no, this doesn't help.
If I swap column and day (DOWNTIME=*:ldap:0650:0700) then it is displayed correctly -with or without comment-, but hobbitd complains about:

"Bad timespec (missing colon or wrong weekdays): ldap:0650:0700"


Dominique
quoted from Josh Luthman

Josh Luthman wrote:
Dominique,

I just ventured into DOWNTIME last week and found that by dropping the comment column the problem went away!

Try changing it to

DOWNTIME=ldap:*:0650:0700

Josh

On Tue, May 6, 2008 at 2:52 AM, Dominique Frise <user-78ab6673b600@xymon.invalid> wrote:

    Hi,

    This was already reported long time ago
    (http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html) and maybe
    I missed a patch/solution to this.

    The info column does not display the "Planned downtime" correctly:

    bb-hosts
    DOWNTIME=ldap:*:0650:0700:Regeneration

    info column
    Planned downtime:       ldap:*:0650:0700:Regeneration

    The info column should display
    Planned downtime:       ldap:All days:0650:0700:Regeneration


    Dominique
    UNIL - University of Lausanne


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Josh Luthman · Tue, 6 May 2008 11:40:11 -0400 ·
Dominique,

hobbitd is saying your configuration is missing the day declaration, can you
confirm the asterisk is in there?

Josh

On Tue, May 6, 2008 at 11:03 AM, Dominique Frise <user-78ab6673b600@xymon.invalid>
quoted from Dominique Frise
wrote:
Hi Josh,

Thanks, but no, this doesn't help.
If I swap column and day (DOWNTIME=*:ldap:0650:0700) then it is displayed
correctly -with or without comment-, but hobbitd complains about:

"Bad timespec (missing colon or wrong weekdays): ldap:0650:0700"


Dominique

Josh Luthman wrote:
Dominique,

I just ventured into DOWNTIME last week and found that by dropping the
comment column the problem went away!

Try changing it to

DOWNTIME=ldap:*:0650:0700

Josh

On Tue, May 6, 2008 at 2:52 AM, Dominique Frise <user-78ab6673b600@xymon.invalid>
wrote:

   Hi,

   This was already reported long time ago
   (http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html) and maybe
   I missed a patch/solution to this.

   The info column does not display the "Planned downtime" correctly:

   bb-hosts
   DOWNTIME=ldap:*:0650:0700:Regeneration

   info column
   Planned downtime:       ldap:*:0650:0700:Regeneration

   The info column should display
   Planned downtime:       ldap:All days:0650:0700:Regeneration


   Dominique
   UNIL - University of Lausanne


--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Dominique Frise · Tue, 06 May 2008 17:50:15 +0200 ·
One more time ;-)

DOWNTIME=ldap:*:0650:0700
With this config. downtime is working as expected but the info column displays "ldap:*:0650:0700"

DOWNTIME=*:ldap:0650:0700
downtime is NOT working and hobbitd tells "Bad timespec (missing colon or wrong weekdays): ldap:0650:0700". Info column displays "ldap:All days:0650:0700"


Dominique
quoted from Josh Luthman


Josh Luthman wrote:
Dominique,

hobbitd is saying your configuration is missing the day declaration, can you confirm the asterisk is in there?

Josh

On Tue, May 6, 2008 at 11:03 AM, Dominique Frise <user-78ab6673b600@xymon.invalid> wrote:

    Hi Josh,

    Thanks, but no, this doesn't help.
    If I swap column and day (DOWNTIME=*:ldap:0650:0700) then it is
    displayed correctly -with or without comment-, but hobbitd complains
    about:

    "Bad timespec (missing colon or wrong weekdays): ldap:0650:0700"


    Dominique

    Josh Luthman wrote:

        Dominique,

        I just ventured into DOWNTIME last week and found that by
        dropping the comment column the problem went away!

        Try changing it to

        DOWNTIME=ldap:*:0650:0700

        Josh

        On Tue, May 6, 2008 at 2:52 AM, Dominique Frise
        <user-78ab6673b600@xymon.invalid> wrote:

           Hi,

           This was already reported long time ago
           (http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html) and
        maybe
           I missed a patch/solution to this.

           The info column does not display the "Planned downtime"
        correctly:

           bb-hosts
           DOWNTIME=ldap:*:0650:0700:Regeneration

           info column
           Planned downtime:       ldap:*:0650:0700:Regeneration

           The info column should display
           Planned downtime:       ldap:All days:0650:0700:Regeneration


           Dominique
           UNIL - University of Lausanne


        --         Josh Luthman
        Office: XXX-XXX-XXXX
        Direct: XXX-XXX-XXXX
        XXXX Wayne St
        Suite XXXX
        Troy, OH XXXXX

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


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Josh Luthman · Tue, 6 May 2008 12:06:31 -0400 ·
DOWNTIME=0:0000:2359,W:1930:0730,6:0830:2359

I am not certain but I don't believe the test needs to be (or can be)
specified.  Can you try this statement for me?

0.0.0.0 host.tld # DOWNTIME=*:0650:0700

as the man bb-hosts states:

DOWNTIME=day:starttime:endtime:cause

Though I don't believe the cause can be entered as it causes problems for
me, at least with multiple comma separated DOWNTIME statements.

Josh

On Tue, May 6, 2008 at 11:50 AM, Dominique Frise <user-78ab6673b600@xymon.invalid>
quoted from Dominique Frise
wrote:
One more time ;-)

DOWNTIME=ldap:*:0650:0700
With this config. downtime is working as expected but the info column
displays "ldap:*:0650:0700"

DOWNTIME=*:ldap:0650:0700
downtime is NOT working and hobbitd tells "Bad timespec (missing colon or
wrong weekdays): ldap:0650:0700". Info column displays "ldap:All
days:0650:0700"


Dominique


Josh Luthman wrote:
Dominique,

hobbitd is saying your configuration is missing the day declaration, can
you confirm the asterisk is in there?

Josh

On Tue, May 6, 2008 at 11:03 AM, Dominique Frise
<user-78ab6673b600@xymon.invalid> wrote:

   Hi Josh,

   Thanks, but no, this doesn't help.
   If I swap column and day (DOWNTIME=*:ldap:0650:0700) then it is
   displayed correctly -with or without comment-, but hobbitd complains
   about:

   "Bad timespec (missing colon or wrong weekdays): ldap:0650:0700"


   Dominique

   Josh Luthman wrote:

       Dominique,

       I just ventured into DOWNTIME last week and found that by
       dropping the comment column the problem went away!

       Try changing it to

       DOWNTIME=ldap:*:0650:0700

       Josh

       On Tue, May 6, 2008 at 2:52 AM, Dominique Frise
       <user-78ab6673b600@xymon.invalid> wrote:

          Hi,

          This was already reported long time ago
          (http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html) and
       maybe
          I missed a patch/solution to this.

          The info column does not display the "Planned downtime"
       correctly:

          bb-hosts
          DOWNTIME=ldap:*:0650:0700:Regeneration

          info column
          Planned downtime:       ldap:*:0650:0700:Regeneration

          The info column should display
          Planned downtime:       ldap:All days:0650:0700:Regeneration


          Dominique
          UNIL - University of Lausanne

          
       --        Josh Luthman
       Office: XXX-XXX-XXXX
       Direct: XXX-XXX-XXXX
       XXXX Wayne St
       Suite XXXX
       Troy, OH XXXXX

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


--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Dominique Frise · Wed, 07 May 2008 07:21:41 +0200 ·
Specifying the column/service should be supported.
Extract of bb-hosts(5) -Hobbit 4.2.0 + all-in-one patch):

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


Dominique
quoted from Josh Luthman


Josh Luthman wrote:
DOWNTIME=0:0000:2359,W:1930:0730,6:0830:2359

I am not certain but I don't believe the test needs to be (or can be) specified.  Can you try this statement for me?

0.0.0.0 <http://0.0.0.0>; host.tld # DOWNTIME=*:0650:0700
quoted from Josh Luthman

as the man bb-hosts states:

DOWNTIME=day:starttime:endtime:cause

Though I don't believe the cause can be entered as it causes problems for me, at least with multiple comma separated DOWNTIME statements.

Josh

On Tue, May 6, 2008 at 11:50 AM, Dominique Frise <user-78ab6673b600@xymon.invalid> wrote:

    One more time ;-)

    DOWNTIME=ldap:*:0650:0700
    With this config. downtime is working as expected but the info
    column displays "ldap:*:0650:0700"

    DOWNTIME=*:ldap:0650:0700
    downtime is NOT working and hobbitd tells "Bad timespec (missing
    colon or wrong weekdays): ldap:0650:0700". Info column displays
    "ldap:All days:0650:0700"


    Dominique


    Josh Luthman wrote:

        Dominique,

        hobbitd is saying your configuration is missing the day
        declaration, can you confirm the asterisk is in there?

        Josh

        On Tue, May 6, 2008 at 11:03 AM, Dominique Frise
        <user-78ab6673b600@xymon.invalid> wrote:

           Hi Josh,

           Thanks, but no, this doesn't help.
           If I swap column and day (DOWNTIME=*:ldap:0650:0700) then it is
           displayed correctly -with or without comment-, but hobbitd
        complains
           about:

           "Bad timespec (missing colon or wrong weekdays): ldap:0650:0700"


           Dominique

           Josh Luthman wrote:

               Dominique,

               I just ventured into DOWNTIME last week and found that by
               dropping the comment column the problem went away!

               Try changing it to

               DOWNTIME=ldap:*:0650:0700

               Josh

               On Tue, May 6, 2008 at 2:52 AM, Dominique Frise
               <user-78ab6673b600@xymon.invalid> wrote:

                  Hi,

                  This was already reported long time ago
                         (http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html) and
               maybe
                  I missed a patch/solution to this.

                  The info column does not display the "Planned downtime"
               correctly:

                  bb-hosts
                  DOWNTIME=ldap:*:0650:0700:Regeneration

                  info column
                  Planned downtime:       ldap:*:0650:0700:Regeneration

                  The info column should display
                  Planned downtime:       ldap:All
        days:0650:0700:Regeneration


                  Dominique
                  UNIL - University of Lausanne


               --        Josh Luthman
               Office: XXX-XXX-XXXX
               Direct: XXX-XXX-XXXX
               XXXX Wayne St
               Suite XXXX
               Troy, OH XXXXX

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


        --         Josh Luthman
        Office: XXX-XXX-XXXX
        Direct: XXX-XXX-XXXX
        XXXX Wayne St
        Suite XXXX
        Troy, OH XXXXX

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


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Josh Luthman · Wed, 7 May 2008 08:09:14 -0400 ·
I am using stock 4.2.0 - no patches.  That's probably where we differ =)

On Wed, May 7, 2008 at 1:21 AM, Dominique Frise <user-78ab6673b600@xymon.invalid>
quoted from Dominique Frise
wrote:
Specifying the column/service should be supported.
Extract of bb-hosts(5) -Hobbit 4.2.0 + all-in-one patch):


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


Dominique


Josh Luthman wrote:
DOWNTIME=0:0000:2359,W:1930:0730,6:0830:2359

I am not certain but I don't believe the test needs to be (or can be)
specified.  Can you try this statement for me?

0.0.0.0 <http://0.0.0.0>; host.tld # DOWNTIME=*:0650:0700


as the man bb-hosts states:

DOWNTIME=day:starttime:endtime:cause

Though I don't believe the cause can be entered as it causes problems
for me, at least with multiple comma separated DOWNTIME statements.

Josh

On Tue, May 6, 2008 at 11:50 AM, Dominique Frise
<user-78ab6673b600@xymon.invalid> wrote:

   One more time ;-)

   DOWNTIME=ldap:*:0650:0700
   With this config. downtime is working as expected but the info
   column displays "ldap:*:0650:0700"

   DOWNTIME=*:ldap:0650:0700
   downtime is NOT working and hobbitd tells "Bad timespec (missing
   colon or wrong weekdays): ldap:0650:0700". Info column displays
   "ldap:All days:0650:0700"


   Dominique


   Josh Luthman wrote:

       Dominique,

       hobbitd is saying your configuration is missing the day
       declaration, can you confirm the asterisk is in there?

       Josh

       On Tue, May 6, 2008 at 11:03 AM, Dominique Frise
       <user-78ab6673b600@xymon.invalid> wrote:

          Hi Josh,

          Thanks, but no, this doesn't help.
          If I swap column and day (DOWNTIME=*:ldap:0650:0700) then it
is
          displayed correctly -with or without comment-, but hobbitd
       complains
          about:

          "Bad timespec (missing colon or wrong weekdays):
ldap:0650:0700"


          Dominique

          Josh Luthman wrote:

              Dominique,

              I just ventured into DOWNTIME last week and found that by
              dropping the comment column the problem went away!

              Try changing it to

              DOWNTIME=ldap:*:0650:0700

              Josh

              On Tue, May 6, 2008 at 2:52 AM, Dominique Frise
              <user-78ab6673b600@xymon.invalid> wrote:

                 Hi,

                 This was already reported long time ago
                       (
http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html) and
              maybe
                 I missed a patch/solution to this.

                 The info column does not display the "Planned downtime"
              correctly:

                 bb-hosts
                 DOWNTIME=ldap:*:0650:0700:Regeneration

                 info column
                 Planned downtime:       ldap:*:0650:0700:Regeneration

                 The info column should display
                 Planned downtime:       ldap:All
       days:0650:0700:Regeneration


                 Dominique
                 UNIL - University of Lausanne

                 
              --        Josh Luthman
              Office: XXX-XXX-XXXX
              Direct: XXX-XXX-XXXX
              XXXX Wayne St
              Suite XXXX
              Troy, OH XXXXX

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


       --        Josh Luthman
       Office: XXX-XXX-XXXX
       Direct: XXX-XXX-XXXX
       XXXX Wayne St
       Suite XXXX
       Troy, OH XXXXX

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


--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

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