[hobbit] New enable/disable tool ready for testing
Henrik Stoerner
henrik at hswn.dk
Sat Apr 16 20:26:04 CEST 2005
OK, it seemed like most of you liked this new feature, but all of you
still wanted a way of disabling stuff on many hosts at once. So I've
been busy adding - essentially creating a Hobbit-version of the full
maint.pl script.
The result is an updated maintenance-feature patch, available as
always from http://www.hswn.dk/beta/maintenance-feature-v2.patch
This is against the 4.0.2 release, like the first version of the
patch.
The patch implements the same feature as the first version - you can
disable tests for a single host from the "info" page - but it adds an
extra script "hobbit-enadis.cgi" that takes over from the maint.pl
script. hobbit-enadis.cgi displays an administration page very much
like the maint.pl one; I've unashamedly stolen Tom's JavaScript code
and used it in my implementation. (I hope he doesn't mind - I'll ask
for his permission). However, to better cope with the enormous
host-list I've added the ability to filter hosts using three regular
expressions - against the hostname, the pagename of the host, and the
IP address. That makes it slightly more usable to me...
And:
On Thu, Apr 14, 2005 at 10:35:44AM -0400, Tom Georgoulias wrote:
>
> 2. I found it confusing to have both the "disable now" and "schedule
> disable" buttons right next to each other, and the cause field over the
> schedule disable.
This has been fixed. I think the current display is very intuitive.
> I want to log a cause for every disable/enable, scheduled or
> immediate.
This is now forced via some Javascript validation, which also makes
sure you don't hit the "Apply" button without selecting hosts, tests,
entering a valid duration etc.
Regards,
Henrik
More information about the Xymon
mailing list