Network Status Page not displaying anything

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: Network Status Page not displaying anything

Post by manymiles »

If I access the server via http://publicip/nagiosxi/ from outside the VPN, I can log in, but the map still does not work.

I appreciate your continuing help and assistance.

Miles
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Network Status Page not displaying anything

Post by abrist »

In your failure scenario, the XI machine is trying to reply to an internal address 192.168.1.12:

Code: Select all

192.168.1.2 - - [28/Mar/2013:08:55:55 -0400] "GET /nagiosxi/includes/components/xicore/status.php?show=map&layout=6 HTTP/1.1" 200 9046 "http://nagios.pdomain.local/nagiosxi/index.php?" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"
What do you have in the logs when you try to access the public ip from a non-vpn connection?
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.
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: Network Status Page not displaying anything

Post by manymiles »

I'm headed for out for a vacation now, so, I'll take a look when I get back in about 10 days.

Thanks.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Network Status Page not displaying anything

Post by lmiltchev »

When you are back, send us the info requested by abrist and we will go from there. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: Network Status Page not displaying anything

Post by manymiles »

I've finally gotten a chance to revisit this.

I am now on version 2012R1.8.

I tested access http://54.225.111.222/nagiosxi/ from outside the VPN as requested. I am NOT able to see the map in this scenario either.

(54.225.111.222 is not the real address)

I'm not sure why or how, but, the contents of /var/log/httpd/access_log are not in chronological order?

Regardless, here is the output from access_log as written in the file and not necessarily in time order:

Code: Select all

127.0.0.1 - - [17/Jul/2013:13:59:03 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 807 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
69.113.18.201 - - [17/Jul/2013:13:58:50 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_nagioscore_cgi_html%22%2C%22args%22%3A%7B%22url%22%3A%22statusmap.php%3Fnoheader%26show%3Dmap%26layout%3D6%22%7D%7D&nsp=51cda37d9734a5a5a464354dd363f790 HTTP/1.1" 200 - "http://54.225.111.222/nagiosxi/includes/components/xicore/status.php?show=map&layout=6" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
127.0.0.1 - - [17/Jul/2013:13:58:50 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 - "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
127.0.0.1 - - [17/Jul/2013:13:59:18 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 1654 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
69.113.18.201 - - [17/Jul/2013:13:59:17 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22%22%7D&nsp=51cda37d9734a5a5a464354dd363f790 HTTP/1.1" 200 441 "http://54.225.111.222/nagiosxi/index.php?" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
127.0.0.1 - - [17/Jul/2013:13:59:18 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 1654 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
69.113.18.201 - - [17/Jul/2013:13:59:17 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22args%22%3A%22%22%7D&nsp=51cda37d9734a5a5a464354dd363f790 HTTP/1.1" 200 1031 "http://54.225.111.222/nagiosxi/index.php?" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
69.113.18.201 - - [17/Jul/2013:13:59:02 -0400] "GET /nagiosxi/includes/components/xicore/status.php?show=map&layout=6 HTTP/1.1" 200 8203 "http://54.225.111.222/nagiosxi/index.php?" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
127.0.0.1 - - [17/Jul/2013:13:59:03 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 - "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Network Status Page not displaying anything

Post by abrist »

Do you have an external url declared under the option of the same name located at: Admin --> Manage System Config?
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.
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: Network Status Page not displaying anything

Post by manymiles »

An External URL, no.

In Program URL, I have what SHOULD be the External URL.

I'll try populating the External URL and changing the Program URL.
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: Network Status Page not displaying anything

Post by manymiles »

I've now properly populated Program URL and External URL and I still cannot get the page to display.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Network Status Page not displaying anything

Post by abrist »

Program URL should be the internal address, where external url should be the one accessible to the outside. Is this how you currently have it configured?
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.
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: Network Status Page not displaying anything

Post by manymiles »

Program URL should be the internal address, where external url should be the one accessible to the outside. Is this how you currently have it configured?
Yes, that is how it is now configured and it still does not display a Network Status Map page.
Locked