Page 1 of 2
How to troubleshoot Configuration Wizard issues...
Posted: Wed Jan 20, 2016 10:36 am
by lee.krause
Install of Nagios:
1 Nagios XI 5.2.3
2 Redhat 6.7
3 64bit
4 Manual Install of XI
I'm trying to monitor a Solaris server.
1) The Solaris server has the NRPE agent installed (2.14) with the nagios server ip in allowed_hosts.
2) When I go to the Configuration Wizard, I just get "Waiting for configuration verification......................." repeating and never ending....
Where do I start looking at troubleshooting? What logs Server side or Client side?
Thanks!
Re: How to troubleshoot Configuration Wizard issues...
Posted: Wed Jan 20, 2016 12:13 pm
by tmcdonald
Please run the following command as root from the Nagios server command line and post last 20 or so lines of output: /usr/local/nagiosxi/scripts/reconfigure_nagios.sh
Re: How to troubleshoot Configuration Wizard issues...
Posted: Wed Jan 20, 2016 12:34 pm
by lee.krause
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
The script ran for 20 minutes and this was repeated over and over.
Re: How to troubleshoot Configuration Wizard issues...
Posted: Wed Jan 20, 2016 12:53 pm
by rkennedy
Does your nagiosadmin password contain any characters that aren't alphanumeric?
Re: How to troubleshoot Configuration Wizard issues...
Posted: Wed Jan 20, 2016 1:10 pm
by lee.krause
Yes.
Re: How to troubleshoot Configuration Wizard issues...
Posted: Wed Jan 20, 2016 1:12 pm
by hsmith
Are you making sure the password is wrapped in single quotes?
Re: How to troubleshoot Configuration Wizard issues...
Posted: Wed Jan 20, 2016 1:45 pm
by lee.krause
Where do I put the password in?
Re: How to troubleshoot Configuration Wizard issues...
Posted: Wed Jan 20, 2016 5:04 pm
by rkennedy
lee.krause wrote:Yes.
This may be the issue, depending what the symbol is as this query could be parsing or stripping. Can you try changing your nagiosadmin password to something alphanumeric, and then try again?
Re: How to troubleshoot Configuration Wizard issues...
Posted: Thu Jan 21, 2016 11:17 am
by lee.krause
Do I change it in the GUI? Or is there somewhere else I need to change it?
Re: How to troubleshoot Configuration Wizard issues...
Posted: Thu Jan 21, 2016 11:30 am
by lee.krause
Ok I changed the nagiosadmin password and here the last few lines of the script:
WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL
Website:
https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 20 services.
Checked 2 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 5 contacts.
Checked 2 contact groups.
Checked 125 commands.
Checked 11 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 2 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 11 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.