Page 1 of 1

NagiosXI v1.7 Unclickable host/service's links

Posted: Fri Nov 25, 2011 2:36 am
by pzusa
Hi,

I've recently noticed a very odd behavior of NXI GUI (looks like a bug to me). Each time I open host or services list, two links at the very bottom of the browser's window (this part of the window that is visible without scrolling down) have no ability to be clicked (mouse cursor doesn't change to hand, and mouse click doesn't work).
When I resize the browser's window the situation repeats but for the other links (that after the resize appear at the bottom of the visible list).
Scrolling the list down works OK, and other links below those two work fine either. Every time the problem concerns only two links.

Could You please check it out ? It's quite annoying when You cannot access some service's information visible on the screen and need to resize browser's window to access it :cry:

Kind regards

Michalux

Re: NagiosXI v1.7 Unclickable host/service's links

Posted: Sun Nov 27, 2011 11:44 am
by arnab.roy
Hi ,

This bug has been fixed in XI 1.8 ...............

Cheers
Arnab

Re: NagiosXI v1.7 Unclickable host/service's links

Posted: Mon Nov 28, 2011 2:12 am
by pzusa
That's a good news :D
Actually I'm not able to make an upgrade now (since just have upgraded to 1.7 and have no service window available).
Would it be possible for You to send me the patch for this ?

Kind regards

Michalux

Re: NagiosXI v1.7 Unclickable host/service's links

Posted: Mon Nov 28, 2011 11:54 am
by lmiltchev
I am not sure what do you mean by "no service window available"...

You can download the latest xi to your /tmp directory:

http://assets.nagios.com/downloads/nagi ... 1.8.tar.gz

untar it

Code: Select all

# cd /tmp
# tar zxvf xi-2011r1.8.tar.gz
and run upgrade

Code: Select all

# cd nagiosxi
# ./upgrade

Re: NagiosXI v1.7 Unclickable host/service's links

Posted: Wed Nov 30, 2011 1:50 am
by pzusa
By the service window I meant no possibility to turn off NXI to upgrade it. I've just upgraded to 1.7 so cannot afford another downtime for NXI in the near future.
That's why I'm asking for the patch that I could apply during normal NXI operation.

Michalux

Re: NagiosXI v1.7 Unclickable host/service's links

Posted: Wed Nov 30, 2011 4:02 pm
by mguthrie
This is a little bit ugly for a "patch" but it's the simplest way to make the changes for your situation. Doing an upgrade is the safest way to do this, but the below changes should work as well.

Edit around lines 307-309 in /usr/local/nagiosxi/html/includes/pageparts.inc.php to look like the following

Code: Select all

	<!--	<div id="footer">  //there should only be one div with id of footer on any given page, moved to footer.inc.php  --> 
		<?php do_page_footer($child);?>
	<!-- 	</div>  -->
And then replace /usr/local/nagiosxi/html/includes/footer.inc.php with the attached file. (Make a backup of this file first).

Re: NagiosXI v1.7 Unclickable host/service's links

Posted: Fri Dec 02, 2011 3:18 am
by pzusa
Thank's - that worked :)

Michalux

Re: NagiosXI v1.7 Unclickable host/service's links

Posted: Fri Dec 02, 2011 10:23 am
by mguthrie
Good deal!