On 2012-11-21 10:52, Serge Noiraud wrote:
Hi,

Does somebody already use postgresql with icinga-web ?

icinga works correctly with postgresql.
All works correctly with mysql, but I must use postgresql.

with icinga-web, I can't connect. I return automaticaly to the login page.
How can I debug this ?

I configured icinga-web like this :
./configure --with-bin-user=icinga \
            --with-bin-group=apache \
            --prefix=/product/monitoring/icinga-web \
            --sysconfdir=/product/monitoring/config/icinga-web \
            --with-db-type=pgsql \
            --with-db-host=localhost \
            --with-db-name=icinga_web \
            --with-db-user=icinga_web \
            --with-db-pass=xxxx \
            --with-db-port=52002 \
            --with-api-type=pgsql \
            --with-api-subtype=pgsql \
            --with-api-host=localhost \
            --with-api-port=52002 \
            --with-api-db-prefix=icinga_ \
            --with-api-db-name=icinga_web \
            --with-api-db-user=icinga_web \
            --with-api-db-pass=xxxx \
            --with-web-apache-path=/etc/apache2/conf.d

Some remarks :
--syscondir doesn't work.
--sysconfdir does - where did you grab that string from?


Do I miss something ?

check your configuration, especially the databases.xml - for the details see the official documentation.


--

Serge Noiraud

Les logiciels libre, c'est mieux : Debian, Firefox, LibreOffice, ...
Tout ce qui n'est pas gratuit est perdu.

Développeur projet gramps : http://www.gramps-project.org/



------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov


_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users


--
DI (FH) Michael Friedrich

mail:     michael.friedr...@gmail.com
twitter:  https://twitter.com/dnsmichi
jabber:   dnsmi...@jabber.ccc.de
irc:      irc.freenode.net/icinga dnsmichi

icinga open source monitoring
position: lead core developer
url:      https://www.icinga.org

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to