Page 1 of 2
Long time to show the detail host and service
Posted: Wed Feb 14, 2018 10:21 am
by dimsum
Hi,
I have installed new XI and when I access host or service detail it's long time to show page what's wrong? my XI version 5.4.12 deploy from ovf file. I wait around 3mins the page shows up.
Find my picture. How can I fix it?
Thank you.
Re: Long time to show the detail host and service
Posted: Wed Feb 14, 2018 5:04 pm
by cdienger
How many hosts and services are configured? Is this an install that was working previously and just recently started showing this behavior?
What does memory, cpu, and drive usage look like if you run free -m, top, and df -h at the command line?
Does it help to deactivate hosts and services found in the CCM(Configure > Core Config Manager > Monitoring > Hosts/Services) ? Do you receive any errors if you try to apply configuration ?
Re: Long time to show the detail host and service
Posted: Wed Feb 14, 2018 5:12 pm
by npolovenko
Hello,
@dimsum. Did you literally just deploy the OVM and it's working slow, or did you already change something? Did you assign an external URL for this XI, or set up SSL or something similar? What are the hardware specs of this VM?
Re: Long time to show the detail host and service
Posted: Wed Feb 14, 2018 5:43 pm
by dimsum
It's started to deploy on my XI. I got this issue at the first time that I deployed. No error any page. This's my client site and going into production.
Thank you.
Re: Long time to show the detail host and service
Posted: Thu Feb 15, 2018 1:30 pm
by lmiltchev
@dimsum, run the following commands from the command line on the Nagios XI server, and show the output:
We need to see if you have sufficient resources on this system.
Did you assign an external URL for this XI, or set up SSL?
Please PM me (or any member of the Nagios Support team) your profile. You can obtain it by going to Admin > System Profile > Download Profile
Re: Long time to show the detail host and service
Posted: Thu Feb 15, 2018 9:03 pm
by dimsum
I didn't use SSL.
Please see my resource in the pictures.
So df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
116G 3.5G 107G 4% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda1 477M 95M 357M 22% /boot
tmpfs 4.0G 620K 4.0G 1% /var/nagiosramdisk
I use external URL and config IP public already this issue has been affected internal and public access.
Thank you.
Re: Long time to show the detail host and service
Posted: Fri Feb 16, 2018 12:15 pm
by npolovenko
@dimsum, Could you send in your Nagios XI System Profile so I can review it?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it with your next post. Or you could upload the profile to a cloud storage of your choice and share a link with me in PM. If you do that please post something in this thread to bring it back up in the support queue.
Thanks.
**Profile was received and shared with the other techs.
Re: Long time to show the detail host and service
Posted: Sun Feb 18, 2018 8:24 am
by dimsum
Here's system profile for you.
Thank you.
Re: Long time to show the detail host and service
Posted: Mon Feb 19, 2018 2:49 pm
by npolovenko
@dimsum, Here're a few steps you can take:
1. Increase the
memory limit in /etc/php.ini. I'd recommend doubling what you allready have. Then restart httpd with
2. Based on your previous post it seems like you've already done this, but to be sure: please check that you filled out the external URL field in Nagios GUI
Untitled.png
3. Please add the internal URL and External URL entries to /etc/mrtg/conf.d file, then restart httpd with
And probably nagios:
Re: Long time to show the detail host and service
Posted: Mon Feb 19, 2018 10:49 pm
by dimsum
I double check the internal and external ip it's correct.
I cat the error_log from apache and I got a message below
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/xicore/status-object-detail.inc.php on line 2507, referer: http://this_external_ip/nagiosxi/includes/components/xicore/status.php?show=hosts
Thank you.