No no file is there. Apply configuration is happening but it is taking long time. i have tryid with changing the multiple values in php.ini but still also it is taking long time. Below are the current value in file
# vi /etc/php.ini
max_execution_time = 1200
max_input_time = 90
memory_limit = 4096M
we have big setup, so we dont have that much time to wait for 40 or 50 min for single apply configuration. please check and suggest.
[root@EMSNagios1 scripts]# ls -l /usr/local/nagios/etc/import/
total 0
[root@EMSNagios1 scripts]#
Apply Settings
Re: Apply Settings
Even for your size of an installation 45 minutes is way too long. What does the disk io and wait look like while applying configuration?
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.
"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.
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: Apply Settings
attached output of Top command while apply configuration.
You do not have the required permissions to view the files attached to this post.
Re: Apply Settings
Load looks ok. You have a little bit of io/wait, but not enough to justify the 45 minute delay.
Your time+ numbers for flush* are really high. Next time you apply configuraiton, pull up top and take a few screens as well as run:
And post those here.
Your time+ numbers for flush* are really high. Next time you apply configuraiton, pull up top and take a few screens as well as run:
Code: Select all
ps -auxFormer 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.
"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.
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: Apply Settings
Please find the attached files.
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Apply Settings
Do you by any chance have an offloaded database? Or any modifications beyond what is default on the Nagios XI Mysql database? Have you noticed sluggishness anywhere else in the interface?
Re: Apply Settings
It looks like you have a full graphical/workstation install on your XI server. This is not recommended, but is probably not the cause of your issues.root 3697 0.0 0.0 451868 14496 ? Sl Jan29 0:09 metacity
root 3699 0.0 0.0 362232 22432 ? S Jan29 7:44 gnome-panel
root 3700 0.1 0.0 1026908 25504 ? S Jan29 252:30 nautilus
Do you use many operations screens or have you configured a view rotation that is server intensive?apache 5893 0.0 0.0 599160 10332 ? S 01:20 0:00 /usr/sbin/httpd
apache 5894 12.3 0.1 728428 57748 ? S 01:20 15:50 /usr/sbin/httpd
apache 5895 13.5 0.1 729160 53936 ? S 01:20 17:18 /usr/sbin/httpd
apache 5896 2.3 0.1 728496 53336 ? S 01:20 3:02 /usr/sbin/httpd
apache 5897 2.4 0.1 728764 61424 ? S 01:20 3:05 /usr/sbin/httpd
apache 5898 12.9 0.1 728484 55548 ? S 01:20 16:39 /usr/sbin/httpd
apache 5899 5.9 0.1 727056 54404 ? S 01:20 7:39 /usr/sbin/httpd
apache 5900 3.1 0.1 729072 54836 ? S 01:20 4:05 /usr/sbin/httpd
apache 5901 11.5 0.1 729152 54012 ? S 01:20 14:45 /usr/sbin/httpd
apache 25526 13.8 0.1 728244 53472 ? S 01:28 16:40 /usr/sbin/httpd
Were these files created during an apply configuration? If so, load may not be your problem. You may have issues with i/o wait.
What type of storage mechanism is configured on this server?
One last set of logs would be useful. Do a running tail on the following files before you apply configuration. Do not stop the tails until apply configuration has completed. Post or PM me the log files from the tails:
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
tail -f /usr/local/nagiosxi/var/perfdataproc.logFormer 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.
"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.