Nagios xi web config not coming up

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
pirving@pareto.ca
Posts: 6
Joined: Mon Sep 19, 2011 8:52 am

Nagios xi web config not coming up

Post by pirving@pareto.ca »

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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios xi web config not coming up

Post 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>
pirving@pareto.ca
Posts: 6
Joined: Mon Sep 19, 2011 8:52 am

Re: Nagios xi web config not coming up

Post by pirving@pareto.ca »

get the following error

-bash: syntax error near unexpected token 'newline'
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios xi web config not coming up

Post 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
Nicholas Scott
Former Nagios employee
pirving@pareto.ca
Posts: 6
Joined: Mon Sep 19, 2011 8:52 am

Re: Nagios xi web config not coming up

Post by pirving@pareto.ca »

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
pirving@pareto.ca
Posts: 6
Joined: Mon Sep 19, 2011 8:52 am

Re: Nagios xi web config not coming up

Post by pirving@pareto.ca »

ok that worked but now it says it is expired can I get another 30 -60 to test
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios xi web config not coming up

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!