Unable to configure large number of passive services from

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sujitt
Posts: 132
Joined: Thu Apr 25, 2013 1:50 pm

Unable to configure large number of passive services from

Post by sujitt »

Unable to complete configuring unconfigured objects I am trying to configure around 8000 objects at once. I have the PHP time outs set to

max_execution_time = 12000


max_input_time = 12000
memory_limit = 2048M

Please let me know what Should I be changing and how to get it configured.

Thanks
sujitt
Posts: 132
Joined: Thu Apr 25, 2013 1:50 pm

Re: Unable to configure large number of passive services fro

Post by sujitt »

I see a lot of this in the /var/log/httpd/error_log


[Mon Mar 31 11:02:50 2014] [error] [client 10.100.60.69] PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/local/nagiosxi/html/admin/missingobjects.php on line 279, referer: http://gaatlp81u/nagiosxi/admin/
sujitt
Posts: 132
Joined: Thu Apr 25, 2013 1:50 pm

Re: Unable to configure large number of passive services fro

Post by sujitt »

My Top command gives me a cpu contention of 100 % CPU

Code: Select all

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  733 apache    20   0  571m 162m 6064 R 98.8  2.1 147:46.65 httpd
18146 apache    20   0  443m  34m 6016 S 17.2  0.4   5:57.16 httpd
  736 apache    20   0  492m  83m 6076 S  5.0  1.1   7:39.63 httpd
 3922 apache    20   0  442m  32m 5924 S  5.0  0.4   7:51.04 httpd
 2175 apache    20   0  442m  33m 6056 S  4.6  0.4 144:31.85 httpd
 9182 apache    20   0  445m  36m 6036 S  4.6  0.5   6:47.10 httpd
19649 apache    20   0  445m  36m 5988 S  4.6  0.5   5:40.67 httpd
  732 apache    20   0  453m  39m 8508 S  4.3  0.5   7:50.27 httpd
  743 postgres  20   0  210m 7092 4488 S  0.7  0.1   0:15.15 postmaster
  767 postgres  20   0  210m 7504 4876 S  0.3  0.1   0:17.42 postmaster
 1359 mysql     20   0 1152m  54m 6488 S  0.3  0.7 109:21.06 mysqld
 1635 ajaxterm  20   0  163m 7708 1400 S  0.3  0.1   8:48.05 python
18156 postgres  20   0  210m 6980 4396 S  0.3  0.1   0:11.15 postmaster
26264 sukumar   20   0 15024 1400 1012 R  0.3  0.0   0:01.18 top
    1 root      20   0 19352 1564 1260 S  0.0  0.0   0:03.84 init
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT   0     0    0    0 S  0.0  0.0   0:41.26 migration/0
sujitt
Posts: 132
Joined: Thu Apr 25, 2013 1:50 pm

Re: Unable to configure large number of passive services fro

Post by sujitt »

Can I run this from command line without the apache involved ?
sujitt
Posts: 132
Joined: Thu Apr 25, 2013 1:50 pm

Re: Unable to configure large number of passive services fro

Post by sujitt »

Here is the screen image. Where can I Lookup the errors for this issue? We are going live this weekend and we are in deep trouble with this. Please let me know of an alternative.

I am in serious trouble suggesting XI as our monitoring option.
You do not have the required permissions to view the files attached to this post.
sujitt
Posts: 132
Joined: Thu Apr 25, 2013 1:50 pm

Re: Unable to configure large number of passive services fro

Post by sujitt »

Here is a problem after configuration failed I see that there are ~ 8200 services in the services section of the core config but
I only see 1028 on the service details screeen. Is there a step I can perform to get this to the right state ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Unable to configure large number of passive services fro

Post by tmcdonald »

sujitt wrote:Here is the screen image. Where can I Lookup the errors for this issue? We are going live this weekend and we are in deep trouble with this. Please let me know of an alternative.

I am in serious trouble suggesting XI as our monitoring option.
Every time you post, you bump your post back down our todo list, because we sort by time of last reply. Posting 6 times in a row will almost guarantee we don't see you.

When you see that screen you need to click "View the latest config snapshot" and that will let you download or view the error log. In there it should say exactly what you need to change.

Closing thread as you have a ticket open for this.
Former Nagios employee
Locked