phpPgAdmin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
SeanFromIT
Posts: 105
Joined: Sun Dec 12, 2010 9:07 pm

phpPgAdmin

Post by SeanFromIT »

The VMware notes says phpPgAdmin should be installed on the image but I can't find it. There's phpMyAdmin but no phpPgAdmin?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: phpPgAdmin

Post by tonyyarusso »

Perhaps it was installed by default in an earlier version and removed later without updating the notes, or put in the notes but then not actually added ever. In any case, a 'yum install phpPgAdmin' will get it for you.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
User avatar
SeanFromIT
Posts: 105
Joined: Sun Dec 12, 2010 9:07 pm

Re: phpPgAdmin

Post by SeanFromIT »

After successful install, trying root/nagiosxi results in "Login disallowed for security reasons."

What all needs to be changed in /usr/share/phpPgAdmin/conf/config.inc.php to allow connections to the Nagios XI PostgreSQL DB's?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: phpPgAdmin

Post by mguthrie »

I haven't used phpPgAdmin before, but I grabbed this from their faq page:
Q: For some users I get a "Login disallowed for security" message.

A: Logins via phpPgAdmin with no password or certain usernames (pgsql, postgres, root, administrator) are denied by default. Before changing this behaviour (setting $conf['extra_login_security'] to false in the config.inc.php file) please read the PostgreSQL documentation about client authentication and understand how to change PostgreSQL's pg_hba.conf to enable passworded local connections.
http://phppgadmin.sourceforge.net/?page=faq
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: phpPgAdmin

Post by tonyyarusso »

From the PhpPgAdmin FAQ:
Q: For some users I get a "Login disallowed for security" message.

A: Logins via phpPgAdmin with no password or certain usernames (pgsql, postgres, root, administrator) are denied by default. Before changing this behaviour (setting $conf['extra_login_security'] to false in the config.inc.php file) please read the PostgreSQL documentation about client authentication and understand how to change PostgreSQL's pg_hba.conf to enable passworded local connections.
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: phpPgAdmin

Post by tonyyarusso »

Ha, simultaneous reply fun :P
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
User avatar
SeanFromIT
Posts: 105
Joined: Sun Dec 12, 2010 9:07 pm

Re: phpPgAdmin

Post by SeanFromIT »

FYI: Default username is postgres, default password is nagiosxi.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: phpPgAdmin

Post by mguthrie »

Thanks for posting this, I was having to hunt for this as well.
Locked