Apply Settings

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Apply Settings

Post by wiproltdwiv »

Hi,

we had around 15000+ hosts and services under monitoring.

our problem is while adding new devices , apply settings
1. it takes too much time to complete the configuration even for adding single host.
2. most of the time we are getting configuration error like ' import data failed' and there is no configuration snap shot for the same
3. post editing any hosts in admin console.. the apply settings took min 30 min to complete the configuration.
4.during this apply settings , is all the host and services reconnect or re establish (or) only specific host which we added newly get updated. ?

pls suggest for better montoring for all the above 4 points
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Apply Settings

Post by abrist »

wiproltdwiv wrote:1. it takes too much time to complete the configuration even for adding single host.
2. most of the time we are getting configuration error like ' import data failed' and there is no configuration snap shot for the same
How may checks every five minutes are you running?

What are your php.ini limits set to:

Code: Select all

grep "max_execution_time =\|memory_limit =\|max_input_time =" /etc/php.ini
wiproltdwiv wrote:3. post editing any hosts in admin console.. the apply settings took min 30 min to complete the configuration.
What are the specs on the Nagios XI server?
When you apply configuration, run "top" from a terminal and check the "x.x%wa" value at the top - this is the i/o wait value and many times is the culprit.
wiproltdwiv wrote:4.during this apply settings , is all the host and services reconnect or re establish (or) only specific host which we added newly get updated. ?
*ALL* config files are written out when "apply configuration" is run.
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.
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: Apply Settings

Post by wiproltdwiv »

for point 1 & 2

grep "max_execution_time =\|memory_limit =\|max_input_time =" /etc/php.ini
#max_execution_time = 220
max_execution_time = 520
max_input_time = 120
memory_limit = 2048M

we are monitoring around 5000+ routers and links in the tool
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Apply Settings

Post by slansing »

What are the specs on the Nagios XI server?
When you apply configuration, run "top" from a terminal and check the "x.x%wa" value at the top - this is the i/o wait value and many times is the culprit.
How may checks every five minutes are you running?
Please answer the above. The Nagios XI server will check all of the configuration files to verify the integrity of them, and verify them against the last known configuration. This also assists in connecting one object to another if a change such as this occurs. In addition, how many services do you have? 10,000? Going off your original number and subtracting the one above.
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: Apply Settings

Post by wiproltdwiv »

hi,

yes we are using 10,000 checks for every five minutes and more over in future it will increase.

for your info: we purchased unlimited host and service license.

please suggest , Tool is struggling to add hosts and services....

Attached top command output for your reference
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Apply Settings

Post by abrist »

I have a number of questions after looking at the screens and the rest of the thread:
1. The check_oracle_health plugins are using quite a bit of cpu - what type of query are they doing?
2. Apache in the second image is using 99% CPU - do you have a large number of scheduled reports running?
3. How many users are using the web ui frontend at one time?
4. Are you using any high performance tweaks? (rrdcache, memdisk, sql offload)
5. What are the system specs or provisioning for the nagios server?
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.
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: Apply Settings

Post by wiproltdwiv »

below are update on as per given points

1) we have 33 oracle db which are using check_oracle_health plugin and for one db we are monitoring approx. 35 services.

2) No. currently we did not scheduled any report.

3) 3 users accessing console with different locations at a time.

4) Yes, we are using rrdcache as well we have upload sql db on remote server. We have two servers with same configuration as below, one for tool and rest for sql db.

5) We are using RHEL 6.3 (64 bit). CPU and Memory details are attached.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Apply Settings

Post by abrist »

Alright. Specs look good. DO you see the httpd service spike frequently (resembling your screenshot)?
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.
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: Apply Settings

Post by wiproltdwiv »

No
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Apply Settings

Post by sreinhardt »

Going back to your first post, do you still have items that are attempting to be imported? They would show in /usr/local/nagios/etc/import/
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked