[hobbit] New enable/disable tool ready for testing

Kevin.Hanrahan at novainfo.com Kevin.Hanrahan at novainfo.com
Thu Apr 14 16:07:35 CEST 2005


I like the approach taken but can you disable ALL, ALL with a single action?
Once a month, we have a fiasco called maintenance Sunday where all the
different groups are at work taking down all their respective systems for
patching, routine maint. And whatever needs to be done. I just select All
hosts, All tests and disable for x hours. Will this still be available?

Kevin

-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk] 
Sent: Thursday, April 14, 2005 9:53 AM
To: hobbit at hswn.dk
Subject: [hobbit] New enable/disable tool ready for testing


I've spent the past couple of days working on the enable/disable code, in an
attempt to get rid of the maint.pl Perl script.

I have something now that I believe works well, so if you feel like trying
it out I've generated a patch for you against Hobbit 4.0.2. It is available
at http://www.hswn.dk/beta/maintenance-feature.patch

Installing is the usual:

    cd hobbit-4.0.2
    patch -p0 </tmp/maintenance-feature.patch
    make
    stop Hobbit
    make install (as root)
    start Hobbit

My solution works somewhat differently than the old "maint.pl" script: The
enable/disable functionality is no longer a separate webpage listing all
hosts; instead, this function is moved to each hosts' "info" column page. I
did this because I have about 2000 hosts, so the list of all hosts was
practically unusable in my setup. You can see how it looks on the demo site
http://www.hswn.dk/hobbit/ - just pick one of the "info" buttons.

You can of course disable tests (a single one, some of them, or all of
them); you can re-enable tests that have been disabled; you can schedule a
disable to happen at a later time; and you can cancel scheduled disables if
they are no longer needed.

The scheduled disabling is handled internally in the Hobbit daemon, so you
no longer need "cron" running to handle it. I've never been fond of allowing
my CGI scripts to run at-jobs from a security perspective...


Regards,
Henrik

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk


Note:  The information contained in this email and in any attachments 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.  The recipient should check this email and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.



More information about the Xymon mailing list