[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] DOWNTIME and info column



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 <Dominique.Frise (at) unil.ch> 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
        <Dominique.Frise (at) unil.ch> 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

           To unsubscribe from the hobbit list, send an e-mail to
           hobbit-unsubscribe (at) hswn.dk
        <mailto:hobbit-unsubscribe (at) hswn.dk>
        <mailto:hobbit-unsubscribe (at) hswn.dk
        <mailto:hobbit-unsubscribe (at) hswn.dk>>






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


    To unsubscribe from the hobbit list, send an e-mail to
    hobbit-unsubscribe (at) hswn.dk <mailto:hobbit-unsubscribe (at) hswn.dk>





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