Hi,
We have hosts split across multiple pages and for service or OS grouping, same hosts can appear on several pages. Our admins are complaining that if they are viewing a page were there are hosts with the "noconn" tag, these do not appear in the Enable/disable hosts selection. It seems that the "Acknowledege Alert" CGI with the --no-pin flag has the same kind of behaviour. Is there a -hidden- configuration solution for this?
Dominique UNIL - University of Lausanne
On Wed, Jul 19, 2006 at 08:34:40AM +0200, Dominique Frise wrote:
We have hosts split across multiple pages and for service or OS grouping, same hosts can appear on several pages. Our admins are complaining that if they are viewing a page were there are hosts with the "noconn" tag, these do not appear in the Enable/disable hosts selection. It seems that the "Acknowledege Alert" CGI with the --no-pin flag has the same kind of behaviour.
Are there any statuses present for these hosts, besides the "info" and "trends" columns ?
Hosts that do not have any statuses will not show up on the various host management pages.
Regards, Henrik
Henrik Stoerner wrote:
On Wed, Jul 19, 2006 at 08:34:40AM +0200, Dominique Frise wrote:
We have hosts split across multiple pages and for service or OS grouping, same hosts can appear on several pages. Our admins are complaining that if they are viewing a page were there are hosts with the "noconn" tag, these do not appear in the Enable/disable hosts selection. It seems that the "Acknowledege Alert" CGI with the --no-pin flag has the same kind of behaviour.
Are there any statuses present for these hosts, besides the "info" and "trends" columns ?
Hosts that do not have any statuses will not show up on the various host management pages.
Extract of bb-hosts:
... page unilServMail Mail title Unil Services group-only conn|imaps|pop3s|smtp|webmail Unil Mail ... 1.2.2.5 zeb1 # prefer COMMENT:"Mail Server" TRENDS:*,vmstat:vmstat1,disk:disk1 smtp pop3s imaps ssh ... page otherTest Other title Dev., Management & Test Services group-only conn|ssh|wit Academic Other ... 1.2.2.5 zeb1 # noconn ...
host zeb1 (showing connn and ssh statuses) on the otherTest page cannot be enabled/disabled.
Thanks,
Dominique UNIL - University of Lausanne
On Wed, Jul 19, 2006 at 09:01:57AM +0200, Dominique Frise wrote:
Henrik Stoerner wrote:
On Wed, Jul 19, 2006 at 08:34:40AM +0200, Dominique Frise wrote:
We have hosts split across multiple pages and for service or OS grouping, same hosts can appear on several pages. Our admins are complaining that if they are viewing a page were there are hosts with the "noconn" tag, these do not appear in the Enable/disable hosts selection. It seems that the "Acknowledege Alert" CGI with the --no-pin flag has the same kind of behaviour.
Extract of bb-hosts:
... page unilServMail Mail title Unil Services group-only conn|imaps|pop3s|smtp|webmail Unil Mail ... 1.2.2.5 zeb1 # prefer COMMENT:"Mail Server" TRENDS:*,vmstat:vmstat1,disk:disk1 smtp pop3s imaps ssh ... page otherTest Other title Dev., Management & Test Services group-only conn|ssh|wit Academic Other ... 1.2.2.5 zeb1 # noconn ...
host zeb1 (showing connn and ssh statuses) on the otherTest page cannot be enabled/disabled.
OK, now I understand.
Again, this is a problem with how the alternate pagesets are implemented. When Hobbit generates the enable/disable page, or the acknowledge page, it will use the page-path it was called from as a filter for which hosts to display. But hosts are only really associated with their primary page, not the secondary ones.
So if you are looking at the "Other" page and hit the "Enable" menu, the enable/disable utility will look for hosts that have a pagepath of "otherTest" - and zeb1 is associated with the "unilServMail" page, hence it isn't found.
I completely agree that this is not the behaviour you would expect. Unfortunately, changing it is not trivial. So for now I've documented it as a BUG in the man-pages, then I'll look at fixing this for the next version.
Note that you can always disable/enable things from the "info" page for a host.
Regards, Henrik
Hi all,
changing the position of the menu, appear the word Content-Type: text/htmlIt's normal?Marco
On Thu, Jul 20, 2006 at 11:07:57AM +0200, Marco Avvisano wrote:
changing the position of the menu, appear the word Content-Type: text/htmlIt's normal?Marco
I dont understand what you mean. Could you show us the header file you edited to change the menu position ?
Regards, Henrik
I have change in menu_tpl.js block_left from 8 to 100
Marco
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Thursday, July 20, 2006 12:14 PM Subject: Re: [hobbit] html in metric reports page
On Thu, Jul 20, 2006 at 11:07:57AM +0200, Marco Avvisano wrote:
changing the position of the menu, appear the word Content-Type: text/htmlIt's normal?Marco
I dont understand what you mean. Could you show us the header file you edited to change the menu position ?
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Henrik Stoerner wrote:
On Wed, Jul 19, 2006 at 09:01:57AM +0200, Dominique Frise wrote:
Henrik Stoerner wrote:
On Wed, Jul 19, 2006 at 08:34:40AM +0200, Dominique Frise wrote:
We have hosts split across multiple pages and for service or OS grouping, same hosts can appear on several pages. Our admins are complaining that if they are viewing a page were there are hosts with the "noconn" tag, these do not appear in the Enable/disable hosts selection. It seems that the "Acknowledege Alert" CGI with the --no-pin flag has the same kind of behaviour.
Extract of bb-hosts:
... page unilServMail Mail title Unil Services group-only conn|imaps|pop3s|smtp|webmail Unil Mail ... 1.2.2.5 zeb1 # prefer COMMENT:"Mail Server" TRENDS:*,vmstat:vmstat1,disk:disk1 smtp pop3s imaps ssh ... page otherTest Other title Dev., Management & Test Services group-only conn|ssh|wit Academic Other ... 1.2.2.5 zeb1 # noconn ...
host zeb1 (showing connn and ssh statuses) on the otherTest page cannot be enabled/disabled.
OK, now I understand.
Again, this is a problem with how the alternate pagesets are implemented. When Hobbit generates the enable/disable page, or the acknowledge page, it will use the page-path it was called from as a filter for which hosts to display. But hosts are only really associated with their primary page, not the secondary ones.
So if you are looking at the "Other" page and hit the "Enable" menu, the enable/disable utility will look for hosts that have a pagepath of "otherTest" - and zeb1 is associated with the "unilServMail" page, hence it isn't found.
I completely agree that this is not the behaviour you would expect. Unfortunately, changing it is not trivial. So for now I've documented it as a BUG in the man-pages, then I'll look at fixing this for the next version.
Note that you can always disable/enable things from the "info" page for a host.
This was critised by admins too: they don't see why enable/disable can be called from the "info" column ;-)
A temporary solution for us would be to call Enable/disable or Acknowledge Alert per default WITHOUT any filter. Were should we ack this?
Thanks.
Dominique UNIL - University of Lausanne
On Thu, Jul 20, 2006 at 11:25:25AM +0200, Dominique Frise wrote:
A temporary solution for us would be to call Enable/disable or Acknowledge Alert per default WITHOUT any filter. Were should we ack this?
Grab this patch: http://www.hswn.dk/hobbitsw/betapatches/nohostfilters.patch
And add "--no-cookies" to the CGI_ACK_OPTS and CGI_ENADIS_OPTS settings in your hobbitcgi.cfg.
Regards, Henrik
Henrik Stoerner wrote:
On Thu, Jul 20, 2006 at 11:25:25AM +0200, Dominique Frise wrote:
A temporary solution for us would be to call Enable/disable or Acknowledge Alert per default WITHOUT any filter. Were should we ack this?
Grab this patch: http://www.hswn.dk/hobbitsw/betapatches/nohostfilters.patch
And add "--no-cookies" to the CGI_ACK_OPTS and CGI_ENADIS_OPTS settings in your hobbitcgi.cfg.
Our server is patched now and yes, this works as expected :-)
Thanks a lot for your work.
Dominique UNIL - University of Lausanne
participants (3)
-
Dominique.Frise@unil.ch
-
henrik@hswn.dk
-
marco.avvisano@regione.toscana.it