Page 1 of 1

Nagios XI Operations Screen Component 1.2 does not display i

Posted: Wed Jan 16, 2013 3:52 pm
by TBT
As outlined in ticket:http://tracker.nagios.com/view.php?id=341

Chrome Version 24.0.1312.52 m

Re: Nagios XI Operations Screen Component 1.2 does not displ

Posted: Wed Jan 16, 2013 4:21 pm
by slansing
This has been tested with the latest version of Google Chrome and Ops Screen 1.2, we were unable to reproduce your bug, have you verified that your logs are not showing anything odd?:

Code: Select all

tail -f /var/log/httpd/error_log
Attempt to access after you have the running tail up.

We will continue to take a look at this and keep you apprised.

Re: Nagios XI Operations Screen Component 1.2 does not displ

Posted: Wed Jan 16, 2013 4:27 pm
by TBT
One error present. I'd expect this image would be included in the package, but it's not included the zip. Therefore not an isolated issue, it's the release.

Code: Select all

 File does not exist: /usr/local/nagiosxi/html/includes/components/opscreen/throbber.gif

Re: Nagios XI Operations Screen Component 1.2 does not displ

Posted: Thu Jan 17, 2013 10:22 am
by scottwilkerson
Here is a new component with the reference to that file fixed. However it shouldn't prevent it from loading in any browser.

Re: Nagios XI Operations Screen Component 1.2 does not displ

Posted: Thu Jan 17, 2013 10:49 am
by TBT
Please verify you are using Google Chrome (http://www.google.com/chrome), not Chromium (Open source fork) .

That 1.3 update introduced the following errors:

Code: Select all

[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Notice:  Undefined index: fieldmap in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php
[Thu Jan 17 10:29:37 2013] [error] [client IP] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 368, referer: https://127.0.0.1:28191/nagiosxi/includes/components/opscreen/opscreen.php

Re: Nagios XI Operations Screen Component 1.2 does not displ

Posted: Thu Jan 17, 2013 5:49 pm
by scottwilkerson
I don't get any error like you do, but I did notice that you are running on https and the component was calling the jquery library from

Code: Select all

http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
\
Attached is another modded version calling from

Code: Select all

https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js

Re: Nagios XI Operations Screen Component 1.2 does not displ

Posted: Fri Jan 18, 2013 9:55 am
by TBT
Damn, should have known better. Yes, Chrome will not load insecure pages in iframe. I've confirmed switching that Google URL to https was the fix.

However, those errors are still present in the log.

Re: Nagios XI Operations Screen Component 1.2 does not displ

Posted: Fri Jan 18, 2013 4:08 pm
by abrist
Good to hear one of your problems are resolved. The devs down here are working on a potential bug or 2 in opscreen, stay tuned.