Reconfigure Host in NagiosXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
abasha
Posts: 21
Joined: Mon Aug 19, 2013 12:12 am

Reconfigure Host in NagiosXI

Post by abasha »

Hello Support,

We are getting below error message while reconfiguring the host

Configuration submitted for processing...
Waiting for configuration verification....
Configuration verification failed.

Below are the Navigation/ Steps to Reproduce the problem

1.Navigate to Host Details
2.Click on the any of the Host
3. From the Host details Page , click Configure tab , Click re-configure Host and update

Configuration submitted for processing...
Waiting for configuration verification....
Configuration verification failed.


when we try to manually run the reconfigure_nagios.sh from operating system, we get below message,Please advice how to resove the error message and reconfigure the host.


[root@nagios scripts]# ./reconfigure_nagios.sh
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2013-11-06 12:36:20-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 183 [text/html]
Saving to: ânagiosql.loginâ

100%[===================================================================================================================================================================================================>] 183 --.-K/s in 0s

2013-11-06 12:36:20 (19.8 MB/s) - ânagiosql.loginâ

NAGIOSQL LOGIN FAILED!

Please find below details of our installation

* Linux Distribution and version - Red Hat Enterprise Linux Server release 6.2 (Santiago)
* 32 bit?
* Manual Install of XI

Please let me know if you need any additional details

Best Regards,
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Reconfigure Host in NagiosXI

Post by scottwilkerson »

From the XI GUI go to Admin -> Reset Security Credentials -> Click Update Credentials

This may resolve the problem. If not it could be caused by disabling/deleting the nagiosxi user in the CCM
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
abasha
Posts: 21
Joined: Mon Aug 19, 2013 12:12 am

Re: Reconfigure Host in NagiosXI

Post by abasha »

Dear Scott,

Thanks for the update, we tried resetting the credentials as mentioned ( under Admin -> Reset Security Credentials -> Click Update Credentials) , Also we made sure that the nagiosxi user is active in CCM and has necessary rights , Still when we try to reconfigure the host we get the same error , Below is the message we see it in the logs.

2013-11-07 07:54:08 (30.6 MB/s) - `nagiosql.login' saved [183/183]

/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
OUTPUT=/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
RETURNCODE=2


Regards,
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reconfigure Host in NagiosXI

Post by abrist »

Have you changed the passwords to any of the databases?
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.
abasha
Posts: 21
Joined: Mon Aug 19, 2013 12:12 am

Re: Reconfigure Host in NagiosXI

Post by abasha »

Kindly close this thread/topic as the issue is resolved
Locked