Page 1 of 1

Nagios XI web config not coming up

Posted: Thu Oct 13, 2011 11:22 am
Have installed VM and made default password changes then when I go to web browser I am not prompted to configure email address and password I am getting login screen

Have tried username nagiosadmin and password nagiosxi but cannot get in

Is there a way to get to the web config? or what is the default nagiosadmin password

Re: Nagios XI web config not coming up

Posted: Thu Oct 13, 2011 11:29 am
by mguthrie
You can reset the nagiosadmin password with the following instructions:

Login to the Nagios XI server's shell with as the root user:
Run:

Code: Select all

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=<newpassword>

Re: Nagios XI web config not coming up

Posted: Thu Oct 13, 2011 12:13 pm
get the following error

-bash: syntax error near unexpected token 'newline'

Re: Nagios XI web config not coming up

Posted: Thu Oct 13, 2011 12:18 pm
by nscott
Make sure you're actually putting in the password you want:

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=nagiosxi

Will change your password to nagiosxi

Re: Nagios XI web config not coming up

Posted: Thu Oct 13, 2011 12:19 pm
I tried this
/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php -password=<newpassword>

and it came back without error but the password i used <newpassword> did not work

Re: Nagios XI web config not coming up

Posted: Thu Oct 13, 2011 1:39 pm
ok that worked but now it says it is expired can I get another 30 -60 to test

Re: Nagios XI web config not coming up

Posted: Thu Oct 13, 2011 2:52 pm
by lmiltchev
Try re-entering your license/activation key. If you receive an error, similar to this one:
SQL: SQL Error [nagiosxi] : ERROR: duplicate key value violates unique
constraint "xi_options_pkey"
run this command in terminal:

Code: Select all

# /usr/local/nagiosxi/tools/fix_postgres_sequences.sh
and try to enter the license info again.

Hope this helps.