Page 2 of 3

Re: Network Status Page not displaying anything

Posted: Thu Mar 28, 2013 12:37 pm
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

Re: Network Status Page not displaying anything

Posted: Thu Mar 28, 2013 2:21 pm
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?

Re: Network Status Page not displaying anything

Posted: Thu Mar 28, 2013 4:02 pm
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.

Re: Network Status Page not displaying anything

Posted: Thu Mar 28, 2013 4:24 pm
by lmiltchev
When you are back, send us the info requested by abrist and we will go from there. Thanks!

Re: Network Status Page not displaying anything

Posted: Wed Jul 17, 2013 1:10 pm
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/)"

Re: Network Status Page not displaying anything

Posted: Wed Jul 17, 2013 4:48 pm
by abrist
Do you have an external url declared under the option of the same name located at: Admin --> Manage System Config?

Re: Network Status Page not displaying anything

Posted: Thu Jul 18, 2013 3:19 pm
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.

Re: Network Status Page not displaying anything

Posted: Thu Jul 18, 2013 3:21 pm
by manymiles
I've now properly populated Program URL and External URL and I still cannot get the page to display.

Re: Network Status Page not displaying anything

Posted: Thu Jul 18, 2013 4:52 pm
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?

Re: Network Status Page not displaying anything

Posted: Mon Jul 22, 2013 8:50 am
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.