Nagios xi Operations Screen Component 1.2 does not display i

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
TBT
Posts: 621
Joined: Wed May 18, 2011 1:26 pm

Nagios xi Operations Screen Component 1.2 does not display i

Post by TBT »

As outlined in ticket:http://tracker.nagios.com/view.php?id=341

Chrome Version 24.0.1312.52 m
Nagios xi 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios xi Operations Screen Component 1.2 does not displ

Post 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.
TBT
Posts: 621
Joined: Wed May 18, 2011 1:26 pm

Re: Nagios xi Operations Screen Component 1.2 does not displ

Post 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
Nagios xi 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios xi Operations Screen Component 1.2 does not displ

Post 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.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
TBT
Posts: 621
Joined: Wed May 18, 2011 1:26 pm

Re: Nagios xi Operations Screen Component 1.2 does not displ

Post 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
Nagios xi 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios xi Operations Screen Component 1.2 does not displ

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
TBT
Posts: 621
Joined: Wed May 18, 2011 1:26 pm

Re: Nagios xi Operations Screen Component 1.2 does not displ

Post 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.
Nagios xi 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios xi Operations Screen Component 1.2 does not displ

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.