Rapid Response View Host Detail Extremely Slow

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ahoward12
Posts: 137
Joined: Thu Jan 05, 2017 10:24 am

Rapid Response View Host Detail Extremely Slow

Post by ahoward12 »

Hey Everyone,

I have a very weird issue with Rapid Response taking *minutes* to load. I began using the Respond URL in my text notifications through a VIP/Port Forward on my Firewall so I could not have to get on the VPN everytime I wanted to acknowledge a service or host.

Here is where I am at with it:

Host goes down, I receive a text with one of my Public IP's attached to my VIP
I click the link and it loads up to the page with my host and an Action: "drop down" of View Host Detail, Acknowledge, Scheduled Downtime, or Disable Notifications.
Here is my issue: Everything works flawlessly EXCEPT for the View Host Detail. If I click go on View Host Detail, it takes nearly 3 minutes to load, while every other option is instantaneous.

Troubleshooting: Instead of using the link I will just use the address https://publicIP/nagiosxi/, go through the log-in process and any host detail will load quickly, as it should, with no issues. This is leading me to believe it is a problem with the just the rapid response link.

Nagios XI 5.4.8
CentOS 6.8 VMware 64-bit

I have attached a system profile, a copy of my rr.php, and config.inc.php.

Here is what my Notification Message looks like:

Host: %hostalias%
Server: %host%
State: %hoststate%
Address: %hostaddress%

Respond: %responseurl%

I am relatively quick to respond. Please let know if you need anything else or I have ideas.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Rapid Response View Host Detail Extremely Slow

Post by scottwilkerson »

When you use the link in the rapid response, I am assuming it is using a hostname vs. the publicIP, is it possible that it is the resolution of the hostname that is taking such a long time to complete, or from when going through the VIP it is delivering a different IP/route?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ahoward12
Posts: 137
Joined: Thu Jan 05, 2017 10:24 am

Re: Rapid Response View Host Detail Extremely Slow

Post by ahoward12 »

No, the link is using the Public IP. No problem with the routes, as it will load, just very very slow. Every other page loads as it should, except the "Host Detail".
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Rapid Response View Host Detail Extremely Slow

Post by tgriep »

Can you run the following tail command on the Nagios server
tail -f /var/log/httpd/*_log

Then recreate the issue using the Rapid Response URL and post the output of the tail command.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ahoward12
Posts: 137
Joined: Thu Jan 05, 2017 10:24 am

Re: Rapid Response View Host Detail Extremely Slow

Post by ahoward12 »

The 70.198.206.109 IP address is my cellphone trying to access the webpage per the previous posts. The webpage did load after about 90 seconds...

Code: Select all

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:35:12 -0400] "GET /nagiosxi/rr.php?uid=5-301-4a5218e4a0b82a123615106cf78e66d2 HTTP/1.1" 200 18893

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:12 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/rr.php?uid=5-301-4a5218e4a0b82a123615106cf78e66d2 HTTP/1.1" 18893

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:35:13 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getusermeta&opts=view_rotation_enabled&nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908 HTTP/1.1" 200 1

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:13 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/ajaxhelper.php?cmd=getusermeta&opts=view_rotation_enabled&nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908 HTTP/1.1" 1

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:35:18 -0400] "GET /nagiosxi/rr.php?nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908&cmd=submit&host=Cafarosrv34&service=&action=visit&comment=Problem+is+acknowledged&duration=60&btnSubmit=Go HTTP/1.1" 302 285

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:18 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/rr.php?nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908&cmd=submit&host=Cafarosrv34&service=&action=visit&comment=Problem+is+acknowledged&duration=60&btnSubmit=Go HTTP/1.1" 285

==> /var/log/httpd/ssl_error_log <==
[Tue Aug 08 10:35:19 2017] [error] [client 70.198.206.109] PHP Notice:  Undefined variable: url_target in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 1016, referer: https://12.46.180.180/nagiosxi/rr.php?uid=5-301-4a5218e4a0b82a123615106cf78e66d2

==> /var/log/httpd/ssl_access_log <==
10.10.99.35 - - [08/Aug/2017:10:35:19 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 2782

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:19 -0400] 10.10.99.35 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "POST /nagiosxi/backend/ HTTP/1.1" 2782

==> /var/log/httpd/ssl_access_log <==
10.10.99.35 - - [08/Aug/2017:10:35:19 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 327

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:19 -0400] 10.10.99.35 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "POST /nagiosxi/backend/ HTTP/1.1" 327

==> /var/log/httpd/ssl_error_log <==
[Tue Aug 08 10:35:21 2017] [error] [client 70.198.206.109] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/xicore/status-object-detail.inc.php on line 2507, referer: https://12.46.180.180/nagiosxi/rr.php?uid=5-301-4a5218e4a0b82a123615106cf78e66d2

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:34:17 -0400] "GET /nagiosxi/includes/components/xicore/status.php?show=hostdetail&host=Cafarosrv34 HTTP/1.1" 200 111228

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:34:17 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/includes/components/xicore/status.php?show=hostdetail&host=Cafarosrv34 HTTP/1.1" 111228

==> /var/log/httpd/ssl_access_log <==
10.10.99.35 - - [08/Aug/2017:10:35:22 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 807

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:22 -0400] 10.10.99.35 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "POST /nagiosxi/backend/ HTTP/1.1" 807

==> /var/log/httpd/ssl_access_log <==
10.10.99.35 - - [08/Aug/2017:10:35:33 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 1589

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:33 -0400] 10.10.99.35 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "POST /nagiosxi/backend/ HTTP/1.1" 1589

==> /var/log/httpd/ssl_access_log <==
10.10.99.239 - - [08/Aug/2017:10:35:33 -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=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 200 1041

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:33 -0400] 10.10.99.239 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "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=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 1041

==> /var/log/httpd/ssl_access_log <==
10.10.99.35 - - [08/Aug/2017:10:35:43 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 807

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:43 -0400] 10.10.99.35 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "POST /nagiosxi/backend/ HTTP/1.1" 807

==> /var/log/httpd/ssl_access_log <==
10.10.99.35 - - [08/Aug/2017:10:36:02 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 807

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:02 -0400] 10.10.99.35 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "POST /nagiosxi/backend/ HTTP/1.1" 807

==> /var/log/httpd/ssl_access_log <==
10.10.99.35 - - [08/Aug/2017:10:36:03 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 1589

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:03 -0400] 10.10.99.35 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "POST /nagiosxi/backend/ HTTP/1.1" 1589

==> /var/log/httpd/ssl_access_log <==
10.10.99.239 - - [08/Aug/2017:10:36:03 -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=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 200 1041

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:03 -0400] 10.10.99.239 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "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=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 1041

==> /var/log/httpd/ssl_access_log <==
10.10.99.239 - - [08/Aug/2017:10:36:03 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22Sharepoint%22%2C%22hostgroup_alias%22%3A%22Sharepoint%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%2224cafb09205f0625783e59dd0e7ae9fdf115269339a23ef436283167a81dc994%22%2C%22iframe_width%22%3A%22311%22%2C%22iframe_height%22%3A%22184%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 200 3724

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:03 -0400] 10.10.99.239 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22Sharepoint%22%2C%22hostgroup_alias%22%3A%22Sharepoint%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%2224cafb09205f0625783e59dd0e7ae9fdf115269339a23ef436283167a81dc994%22%2C%22iframe_width%22%3A%22311%22%2C%22iframe_height%22%3A%22184%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 3724

==> /var/log/httpd/ssl_access_log <==
10.10.99.239 - - [08/Aug/2017:10:36:03 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22OnBase%22%2C%22hostgroup_alias%22%3A%22OnBase%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%2224cafb09205f0625783e59dd0e7ae9fdf115269339a23ef436283167a81dc994%22%2C%22iframe_width%22%3A%22341%22%2C%22iframe_height%22%3A%22368%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 200 9290

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:03 -0400] 10.10.99.239 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22OnBase%22%2C%22hostgroup_alias%22%3A%22OnBase%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%2224cafb09205f0625783e59dd0e7ae9fdf115269339a23ef436283167a81dc994%22%2C%22iframe_width%22%3A%22341%22%2C%22iframe_height%22%3A%22368%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 9290

==> /var/log/httpd/ssl_access_log <==
10.10.99.239 - - [08/Aug/2017:10:36:03 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22Firewalls%22%2C%22hostgroup_alias%22%3A%22Firewalls%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%2224cafb09205f0625783e59dd0e7ae9fdf115269339a23ef436283167a81dc994%22%2C%22iframe_width%22%3A%22339%22%2C%22iframe_height%22%3A%22456%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 200 9735

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:03 -0400] 10.10.99.239 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22Firewalls%22%2C%22hostgroup_alias%22%3A%22Firewalls%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%2224cafb09205f0625783e59dd0e7ae9fdf115269339a23ef436283167a81dc994%22%2C%22iframe_width%22%3A%22339%22%2C%22iframe_height%22%3A%22456%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 9735

==> /var/log/httpd/ssl_access_log <==
10.10.99.239 - - [08/Aug/2017:10:36:03 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22JDE+Prod%22%2C%22hostgroup_alias%22%3A%22JDE+Prod%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%22cca4897a09390d52755dfe817ec51541c5bb85559bad80082d0e7d35b28a0fc9%22%2C%22iframe_width%22%3A%22342%22%2C%22iframe_height%22%3A%22311%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 200 7401

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:03 -0400] 10.10.99.239 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22JDE+Prod%22%2C%22hostgroup_alias%22%3A%22JDE+Prod%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%22cca4897a09390d52755dfe817ec51541c5bb85559bad80082d0e7d35b28a0fc9%22%2C%22iframe_width%22%3A%22342%22%2C%22iframe_height%22%3A%22311%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 7401

==> /var/log/httpd/ssl_access_log <==
10.10.99.239 - - [08/Aug/2017:10:36:03 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22Servers%22%2C%22hostgroup_alias%22%3A%22Servers%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%2224cafb09205f0625783e59dd0e7ae9fdf115269339a23ef436283167a81dc994%22%2C%22iframe_width%22%3A%22315%22%2C%22iframe_height%22%3A%22637%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 200 18944

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:03 -0400] 10.10.99.239 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22Servers%22%2C%22hostgroup_alias%22%3A%22Servers%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%2224cafb09205f0625783e59dd0e7ae9fdf115269339a23ef436283167a81dc994%22%2C%22iframe_width%22%3A%22315%22%2C%22iframe_height%22%3A%22637%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 18944

==> /var/log/httpd/ssl_access_log <==
10.10.99.239 - - [08/Aug/2017:10:36:03 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22DR_Milcreek%22%2C%22hostgroup_alias%22%3A%22DR_Milcreek%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%22ed0c31aae766a977ce7a30dc9c3be20771b84cce70ca57ea3789346c0dbfe33e%22%2C%22iframe_width%22%3A%22337%22%2C%22iframe_height%22%3A%22446%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 200 5887

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:03 -0400] 10.10.99.239 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22DR_Milcreek%22%2C%22hostgroup_alias%22%3A%22DR_Milcreek%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%22ed0c31aae766a977ce7a30dc9c3be20771b84cce70ca57ea3789346c0dbfe33e%22%2C%22iframe_width%22%3A%22337%22%2C%22iframe_height%22%3A%22446%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 5887

==> /var/log/httpd/ssl_access_log <==
10.10.99.239 - - [08/Aug/2017:10:36:04 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22Misc.+Servers%22%2C%22hostgroup_alias%22%3A%22Misc.+Servers%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%227c73d461e99ca0d86f271ad7be463dd9dd85e8e8f102a5ad668209e50d13f4d5%22%2C%22iframe_width%22%3A%22328%22%2C%22iframe_height%22%3A%22399%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 200 10497

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:04 -0400] 10.10.99.239 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hostgroup_status_overview_html%22%2C%22args%22%3A%7B%22hostgroup%22%3A%22Misc.+Servers%22%2C%22hostgroup_alias%22%3A%22Misc.+Servers%22%2C%22style%22%3A%22overview%22%2C%22nsp%22%3A%227c73d461e99ca0d86f271ad7be463dd9dd85e8e8f102a5ad668209e50d13f4d5%22%2C%22iframe_width%22%3A%22328%22%2C%22iframe_height%22%3A%22399%22%7D%7D&nsp=fef08b725be3a0334fec9afcbcab700008e2ebb7a8f6f34341535d14b6477a41 HTTP/1.1" 10497

==> /var/log/httpd/ssl_error_log <==
[Tue Aug 08 10:36:22 2017] [error] [client 70.198.206.109] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/xicore/status-object-detail.inc.php on line 2507, referer: https://12.46.180.180/nagiosxi/rr.php?uid=5-301-4a5218e4a0b82a123615106cf78e66d2

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:35:18 -0400] "GET /nagiosxi/includes/components/xicore/status.php?show=hostdetail&host=Cafarosrv34 HTTP/1.1" 200 111228

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:35:18 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/includes/components/xicore/status.php?show=hostdetail&host=Cafarosrv34 HTTP/1.1" 111228

==> /var/log/httpd/ssl_access_log <==
10.10.99.35 - - [08/Aug/2017:10:36:22 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 807

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:22 -0400] 10.10.99.35 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "POST /nagiosxi/backend/ HTTP/1.1" 807

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:23 -0400] "GET /nagiosxi/images/editsettings.png HTTP/1.1" 304 -

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:23 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/images/editsettings.png HTTP/1.1" -

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:23 -0400] "GET /nagiosxi//includes/components/capacityplanning/includes/capacityplanning.js?2.2.0 HTTP/1.1" 304 -

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:23 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi//includes/components/capacityplanning/includes/capacityplanning.js?2.2.0 HTTP/1.1" -

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:23 -0400] "GET /nagiosxi/images/cross.png HTTP/1.1" 304 -

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:23 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/images/cross.png HTTP/1.1" -

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:23 -0400] "GET /nagiosxi//includes/components/capacityplanning/includes/capacityreport.js.php?2.2.0 HTTP/1.1" 200 19263

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:23 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi//includes/components/capacityplanning/includes/capacityreport.js.php?2.2.0 HTTP/1.1" 19263

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:23 -0400] "GET /nagiosxi/images/addCheck.png HTTP/1.1" 304 -

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:23 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/images/addCheck.png HTTP/1.1" -

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:23 -0400] "GET /nagiosxi//includes/components/capacityplanning/includes/capacityplanning.css?2.2.0 HTTP/1.1" 304 -

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:23 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi//includes/components/capacityplanning/includes/capacityplanning.css?2.2.0 HTTP/1.1" -

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:23 -0400] "GET /nagiosxi//includes/components/capacityplanning/images/cog.png HTTP/1.1" 304 -

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:23 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi//includes/components/capacityplanning/images/cog.png HTTP/1.1" -

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:24 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getusermeta&opts=view_rotation_enabled&nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908 HTTP/1.1" 200 1

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:24 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/ajaxhelper.php?cmd=getusermeta&opts=view_rotation_enabled&nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908 HTTP/1.1" 1

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:24 -0400] "GET /nagiosxi/includes/js/jquery/css/smoothness/images/ui-bg_highlight-hard_0_ffffff_1x100.png HTTP/1.1" 304 -

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:24 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/includes/js/jquery/css/smoothness/images/ui-bg_highlight-hard_0_ffffff_1x100.png HTTP/1.1" -

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:24 -0400] "GET /nagiosxi/includes/js/jquery/css/smoothness/images/ui-bg_inset-soft_0_ffffff_1x100.png HTTP/1.1" 304 -

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:24 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/includes/js/jquery/css/smoothness/images/ui-bg_inset-soft_0_ffffff_1x100.png HTTP/1.1" -

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:24 -0400] "GET /nagiosxi/images/datetimepicker.png HTTP/1.1" 200 18118

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:24 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/images/datetimepicker.png HTTP/1.1" 18118

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:31 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_host_status_state_summary_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22Cafarosrv34%22%2C%22host_id%22%3A%22301%22%2C%22display%22%3A%22simple%22%7D%7D&nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908 HTTP/1.1" 200 364

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:31 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_host_status_state_summary_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22Cafarosrv34%22%2C%22host_id%22%3A%22301%22%2C%22display%22%3A%22simple%22%7D%7D&nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908 HTTP/1.1" 364

==> /var/log/httpd/ssl_access_log <==
70.198.206.109 - - [08/Aug/2017:10:36:32 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_host_status_detailed_info_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22Cafarosrv34%22%2C%22host_id%22%3A%22301%22%2C%22display%22%3A%22simple%22%7D%7D&nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908 HTTP/1.1" 200 658

==> /var/log/httpd/ssl_request_log <==
[08/Aug/2017:10:36:32 -0400] 70.198.206.109 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_host_status_detailed_info_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22Cafarosrv34%22%2C%22host_id%22%3A%22301%22%2C%22display%22%3A%22simple%22%7D%7D&nsp=575fe33f0bf4861e0981f23de7ed42700f201b33ae6f294b461c7cf67daab908 HTTP/1.1" 658
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Rapid Response View Host Detail Extremely Slow

Post by tgriep »

Does the issue happen when you view the details for a service notification?
If could be that the Cell phone is not caching the images and everytime you access it, it has download them. That could be a possible reason for the slowdown.
If you access that link with a laptop on a fast connection, is it still slow?
What about connecting your Cell to a WIFI network, does the speed get faster?
Be sure to check out our Knowledgebase for helpful articles and solutions!
ahoward12
Posts: 137
Joined: Thu Jan 05, 2017 10:24 am

Re: Rapid Response View Host Detail Extremely Slow

Post by ahoward12 »

I apologize for the late response to this, I had thought I already responded to this.

Yes, if I go to the view service detail tab it loads extremely slow as well. It is slow on my PC on a 70 x 70 connection. No my phone connected to wireless makes no difference either
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Rapid Response View Host Detail Extremely Slow

Post by tacolover101 »

could you post a screenshot of your systems settings page that shows your Nagios URL's, and also a copy of your /etc/hosts? the main reason i've seen this happen in the past is AJAX calls not resolving properly.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Rapid Response View Host Detail Extremely Slow

Post by tgriep »

Thanks @tacolover101 for the help.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ahoward12
Posts: 137
Joined: Thu Jan 05, 2017 10:24 am

Re: Rapid Response View Host Detail Extremely Slow

Post by ahoward12 »

The screenshot is attached. For the sake of being in a forum, I did change the External URL to a DNS entry.

Below is my Hosts file:

Code: Select all

10.10.99.35 nagios.cafaroco.com localhost
10.10.100.81 smtp.cafaroco.com
You do not have the required permissions to view the files attached to this post.
Locked