Waiting for configuration verification - forever
Waiting for configuration verification - forever
I make changes to my nagios configuration for monitoring a remote nagios server.
STEP 1.
ADDRESS: 192.168.1.48
URL: http://192.168.1.48:4321/nagiosxi/
STEP 2.
ADDRESS: 192.168.1.48
HOST NAME: node-0.attlocal.net
URL: http://192.168.1.48:4321/nagiosxi/
USERNAME: nagiosadmin
PASSWORD:
NAGIOS XI SERVER METRICS
Selected: Nagios XI Web Interface, Monitoring Daemons, Monitoring Jobs
SEND ALERT NOTIFICATIONS TO: MYSELF
Finally after hitting "Apply" getting - "Waiting for configuration verification" forever; seems to go into a never ending loop
STEP 1.
ADDRESS: 192.168.1.48
URL: http://192.168.1.48:4321/nagiosxi/
STEP 2.
ADDRESS: 192.168.1.48
HOST NAME: node-0.attlocal.net
URL: http://192.168.1.48:4321/nagiosxi/
USERNAME: nagiosadmin
PASSWORD:
NAGIOS XI SERVER METRICS
Selected: Nagios XI Web Interface, Monitoring Daemons, Monitoring Jobs
SEND ALERT NOTIFICATIONS TO: MYSELF
Finally after hitting "Apply" getting - "Waiting for configuration verification" forever; seems to go into a never ending loop
Last edited by iroy on Thu Aug 04, 2016 5:04 pm, edited 1 time in total.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Waiting for configuration verification - forever
Do any of these KB articles help resolve your issue:
https://support.nagios.com/kb/article.php?id=34
https://support.nagios.com/kb/article.php?id=144
https://support.nagios.com/kb/article.php?id=532
https://support.nagios.com/kb/article.php?id=34
https://support.nagios.com/kb/article.php?id=144
https://support.nagios.com/kb/article.php?id=532
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Waiting for configuration verification - forever
thanks so much sir.
https://support.nagios.com/kb/article.php?id=34
is most relevant and I did everything that the article said but problem persists.
"Waiting for configuration verification..........."
https://support.nagios.com/kb/article.php?id=34
is most relevant and I did everything that the article said but problem persists.
"Waiting for configuration verification..........."
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Waiting for configuration verification - forever
Can you run the following in an ssh session on your Nagios XI host.
Then go into XI and Apply Configuration.
What output is produced in the SSH session?
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.logWhat output is produced in the SSH session?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Waiting for configuration verification - forever
Thanks so much for trying to help.
Output of "tail -f /usr/local/nagiosxi/var/cmdsubsys.log" & other commands like "netstat -tulnp | grep 80", "nmap localhost" is below.
PROCESSED 0 COMMANDS
ONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
--2016-08-08 10:19:03-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
OUTPUT=/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
RETURNCODE=2
vps@node-0:/usr/local/nagiosxi/var$ netstat -tulnp | grep 80
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 0 0 :::8082 :::* LISTEN 3718/java
udp6 0 0 2602:306:80af:9440::123 :::* -
udp6 0 0 fe80::ec4:7aff:fe72:123 :::* -
vps@node-0:/usr/local/nagiosxi/var$ nmap localhost
Starting Nmap 6.40 ( http://nmap.org ) at 2016-08-08 10:29 PDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00028s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 991 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
389/tcp open ldap
443/tcp open https
3306/tcp open mysql
4321/tcp open rwhois
5666/tcp open nrpe
8082/tcp open blackice-alerts
9200/tcp open wap-wsp
Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds
Output of "tail -f /usr/local/nagiosxi/var/cmdsubsys.log" & other commands like "netstat -tulnp | grep 80", "nmap localhost" is below.
PROCESSED 0 COMMANDS
ONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
--2016-08-08 10:19:03-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
OUTPUT=/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
RETURNCODE=2
vps@node-0:/usr/local/nagiosxi/var$ netstat -tulnp | grep 80
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 0 0 :::8082 :::* LISTEN 3718/java
udp6 0 0 2602:306:80af:9440::123 :::* -
udp6 0 0 fe80::ec4:7aff:fe72:123 :::* -
vps@node-0:/usr/local/nagiosxi/var$ nmap localhost
Starting Nmap 6.40 ( http://nmap.org ) at 2016-08-08 10:29 PDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00028s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 991 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
389/tcp open ldap
443/tcp open https
3306/tcp open mysql
4321/tcp open rwhois
5666/tcp open nrpe
8082/tcp open blackice-alerts
9200/tcp open wap-wsp
Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds
Re: Waiting for configuration verification - forever
Looks like the applyconfig is failing, possibly due to the localhost resolution.
Can you post your /etc/hosts file, and also a screenshot of your Admin -> System Settings page?/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
OUTPUT=/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
RETURNCODE=2
Former Nagios Employee
Re: Waiting for configuration verification - forever
Attaching Admin -> System Settings
root@vps-cl0:/home/vps# more /etc/hosts
127.0.0.1 localhost vps-cl0
127.0.1.1 vps-cl0
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
root@vps-cl0:/home/vps# more /etc/hosts
127.0.0.1 localhost vps-cl0
127.0.1.1 vps-cl0
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
You do not have the required permissions to view the files attached to this post.
Re: Waiting for configuration verification - forever
The issue is it's trying to access localhost on port 80, not 4321. Take a look at the file /usr/local/nagiosxi/html/config.inc.php.
Change -
to
Does it work now?
Change -
Code: Select all
$cfg['port_number'] = false;Code: Select all
$cfg['port_number'] = 4321;Former Nagios Employee
Re: Waiting for configuration verification - forever
Thanks rkennedy; it worked like a charm.
THANKS LOTS.
THANKS LOTS.
Re: Waiting for configuration verification - forever
Glad we could help! I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee