This is almost good enough. It however doesn't filter on the pagename. We have many services on different pages. We have them listed out by O/S and Service, so things appear on multiple pages. Ideally, if we want to take down an entire O/S (for patching), or a service, we can go to that page and disable all the services on that page. However with the bug in place we cannot. Going ahead with the suggestion below requires us to filter on each host listed (which can be long).
What we're doing until the bug is fixed is placing the primary definition on a page that we would most likely disable the test for, like rebooting a service for patches.
Thanks.
---Eric
From: Johann Eggers [mailto:Johann.Eggers at teleatlas.com] Sent: Thursday, October 26, 2006 08:52 To: hobbit at hswn.dk Subject: RE: [hobbit] Enable/Disable question
Hi,
I think this was handled in the past (see http://www.hswn.dk/hobbiton/2006/07/msg00236.html )
Install the actual All-in-one-patch and add the --no-cookies switch in hobbitcgi.cfg
hobbit-enadis.cgi options
CGI_ENADIS_OPTS="--no-cookies --env=/opt/hobbit/server/etc/hobbitserver.cfg"
For me it works fine.
Johann
From: Eric Meddaugh [mailto:etmsys at rit.edu] Sent: Donnerstag, 26. Oktober 2006 14:15 To: hobbit at hswn.dk Subject: [hobbit] Enable/Disable question
I notice in the man page for hobbit-enadis.cgi there is this at the end:
BUGS
When using alternate pagesets, hosts will only show up on the Enable/Disable page if this is accessed from the primary page in which they are defined. So if you have hosts on multiple pages, they will only be visible for disabling from their main page which is not what you would expect.
I'm just curious if anyone knows when that might be fixed.
Thanks.
---Eric