Web users

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nets
Posts: 11
Joined: Mon May 17, 2010 1:36 pm

Web users

Post by nets »

I wanted to know that when you create a nagios user for web access, where is the that user stored...I know one place is in the htpasswd.users file, but what databse stores the users that you create.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Web users

Post by tonyyarusso »

The xi_users table in the nagiosxi database (which is in PostgreSQL).
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Web users

Post by tonyyarusso »

To demonstrate:

Code: Select all

[root@demo ~]# psql nagiosxi nagiosxi
Welcome to psql 8.1.21, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

nagiosxi=> select * from xi_users;
 user_id |  username   |             password             |         name         |     email      | backend_ticket | enabled
---------+-------------+----------------------------------+----------------------+----------------+----------------+---------
      18 | nagiosadmin | 40be4e59b9a2a2b5dffb918c0e86b3d7 | Nagios Administrator | root@localhost | 1234           |       1
(1 row)

nagiosxi=> \q
[root@demo ~]#
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
nets
Posts: 11
Joined: Mon May 17, 2010 1:36 pm

Re: Web users

Post by nets »

thanks alot, that solves that problem...now the only thing I need to know is that how do I replicate the nagiosxi database into a backup server....I am already replicating the nagios and the nagiosql database
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Web users

Post by tonyyarusso »

http://wiki.postgresql.org/wiki/Replica ... on_Pooling might get you started, although I can't see I've dabbled in that at all.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked