Configuration verification Hangs and never completes
Posted: Thu Mar 29, 2012 11:14 am
Hi All,
I have setup a new NagiosXI VM running on VMWare Server (yes I converted it). When I run a wizard to add a windows server host, I get to the end and tell the wizard to finish and it hangs on:
Windows Server Monitoring Wizard
Configuration submitted for processing...
Waiting for configuration verification..................................................................................................
I found this document:
http://support.nagios.com/wiki/index.ph ... _Completes
And I tried changing the values in php.ini but no good. I also added a line to /etc/hosts that has my local nagios XI private IP address and it's hostname. Now a note on this, I am connecting to the nagiosxi server using a DNS name that points to a public IP address (not sure if that matters).
In /var/log/messages I am getting a bunch of logs that look like this:
[1333030578] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully.
[1333030609] Nagios 3.2.3 starting... (PID=1680)
[1333030609] Local time is Thu Mar 29 14:16:49 UTC 2012
[1333030609] LOG VERSION: 2.0
[1333030609] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1333030609] ndomod: Could not open data sink! I'll keep trying, but some output may get lost...
[1333030609] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1333030610] Finished daemonizing... (New PID=1681)
[1333030625] ndomod: Successfully connected to data sink. 471 queued items to flush.
[1333030625] ndomod: Successfully flushed 471 queued items to data sink.
The only thing that I could find online is that it may be a bug with NDOMOD 1.4b9? What am I missing? Another piece of info is that I'm using https (not sure if that matters). Here is my profile information:
System:
mbo1-monitor1 2.6.32-220.4.1.el6.i686 i686
CentOS release 6.2 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19
Server Name: mbo1-monitor1.prod.paytronix.com
Server Address: 192.168.117.25
Server Port: 8443
Date/Time
PHP Timezone: Europe/London
PHP Time: Thu, 29 Mar 2012 17:10:42 +0100
System Time: Thu, 29 Mar 2012 16:10:42 +0000
Nagios XI Data
nagios (pid 1671) is running...
NPCD running (pid 1651).
ndo2db (pid 1691) is running...
CPU Load 15: 0.92
Total Hosts: 1
Total Services: 8
Function 'get_base_uri' returns: https://address of nagios server:8443/nagiosxi/
Function 'get_base_url' returns:https://address of nagios server:8443/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: https://address of nagios server:8443/nagiosxi//includes/components/profile/profile.php
Function 'get_backend_url(internal_call=true)' returns: https://localhost:8443/nagiosxi/backend/
Ping Test localhost
Running:
/bin/ping -c 3 localhost 2>&1
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.032 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.034 ms
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.019/0.028/0.034/0.008 ms
Test wget To locahost
WGET From URL: Removed because it was complaining about too many urls in my forum post
Running:
/usr/bin/wget http://localhost/nagiosql/index.php
--2012-03-29 16:10:44-- Removed because it was complaining about too many urls in my forum post
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: `/tmp/nagiosql_index.tmp'
0K ..... 100% 252M=0s
2012-03-29 16:10:44 (252 MB/s) - `/tmp/nagiosql_index.tmp' saved [5259/5259]
I have setup a new NagiosXI VM running on VMWare Server (yes I converted it). When I run a wizard to add a windows server host, I get to the end and tell the wizard to finish and it hangs on:
Windows Server Monitoring Wizard
Configuration submitted for processing...
Waiting for configuration verification..................................................................................................
I found this document:
http://support.nagios.com/wiki/index.ph ... _Completes
And I tried changing the values in php.ini but no good. I also added a line to /etc/hosts that has my local nagios XI private IP address and it's hostname. Now a note on this, I am connecting to the nagiosxi server using a DNS name that points to a public IP address (not sure if that matters).
In /var/log/messages I am getting a bunch of logs that look like this:
[1333030578] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully.
[1333030609] Nagios 3.2.3 starting... (PID=1680)
[1333030609] Local time is Thu Mar 29 14:16:49 UTC 2012
[1333030609] LOG VERSION: 2.0
[1333030609] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1333030609] ndomod: Could not open data sink! I'll keep trying, but some output may get lost...
[1333030609] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1333030610] Finished daemonizing... (New PID=1681)
[1333030625] ndomod: Successfully connected to data sink. 471 queued items to flush.
[1333030625] ndomod: Successfully flushed 471 queued items to data sink.
The only thing that I could find online is that it may be a bug with NDOMOD 1.4b9? What am I missing? Another piece of info is that I'm using https (not sure if that matters). Here is my profile information:
System:
mbo1-monitor1 2.6.32-220.4.1.el6.i686 i686
CentOS release 6.2 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19
Server Name: mbo1-monitor1.prod.paytronix.com
Server Address: 192.168.117.25
Server Port: 8443
Date/Time
PHP Timezone: Europe/London
PHP Time: Thu, 29 Mar 2012 17:10:42 +0100
System Time: Thu, 29 Mar 2012 16:10:42 +0000
Nagios XI Data
nagios (pid 1671) is running...
NPCD running (pid 1651).
ndo2db (pid 1691) is running...
CPU Load 15: 0.92
Total Hosts: 1
Total Services: 8
Function 'get_base_uri' returns: https://address of nagios server:8443/nagiosxi/
Function 'get_base_url' returns:https://address of nagios server:8443/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: https://address of nagios server:8443/nagiosxi//includes/components/profile/profile.php
Function 'get_backend_url(internal_call=true)' returns: https://localhost:8443/nagiosxi/backend/
Ping Test localhost
Running:
/bin/ping -c 3 localhost 2>&1
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.032 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.034 ms
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.019/0.028/0.034/0.008 ms
Test wget To locahost
WGET From URL: Removed because it was complaining about too many urls in my forum post
Running:
/usr/bin/wget http://localhost/nagiosql/index.php
--2012-03-29 16:10:44-- Removed because it was complaining about too many urls in my forum post
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: `/tmp/nagiosql_index.tmp'
0K ..... 100% 252M=0s
2012-03-29 16:10:44 (252 MB/s) - `/tmp/nagiosql_index.tmp' saved [5259/5259]