Hey Chris, you can use the internal skripts to reconfigure that: $ dpkg-reconfigure -p low icinga-idoutils $ dpkg-reconfigure -p low icinga-web
You can select TCP/IP for connection and then specify host and port. Cheers Markus 2013/6/20 Michael Friedrich <michael.friedr...@gmail.com>: > On 20.06.2013 15:32, Chris Curvey wrote: >> On Thu, Jun 20, 2013 at 8:14 AM, Michael Friedrich >> <michael.friedr...@gmail.com <mailto:michael.friedr...@gmail.com>> wrote: >> >> On 20.06.2013 14:04, Chris Curvey wrote: >> > Hey all, >> > >> > Is there a way to tell the Ubuntu version of icinga (1.9, >> installed from >> > the PPA) to use a non-standard port for communications with a >> Postgres >> > database? (I'm running on port 5434 rather than 5432, and I really >> > don't want to change.) >> >> http://docs.icinga.org/latest/en/configido.html#ido2dboptions >> look for "db_port". >> >> >> Here's what I've done so far: >> >> 1) started the installation process through synaptic >> 2) gotten to the point where it asks what database engine to use >> 3) the installation failed at this point (but created the >> /etc/icinga/ido2db.cfg file). >> 4) I've edited the ido2db.cfg file and set up host, user, password, >> port, etc. >> 5) Tried using "retry (skip questions)" but that does not seem to have >> worked. >> > > dpkg-reconfigure icinga-idoutils > >> So I jumped over to Postgres and set up >> >> a) the icingaidoutils user, with create database permission >> b) the icinga database, owned by icingaidoutils >> c) I found the postgres installation script >> in /usr/share/doc/icinga-idoutils/examples/pgsql/pgsql.sql, and I ran >> it. Now my icinga database has 60 tables in it. >> >> I tried browsing to http://locahost/icinga-web, but I'm getting >> >> PDO Connection Error: SQLSTATE[08006] [7] could not connect to server: >> Connection refused Is the server running on host "mu" (::1) and >> accepting TCP/IP connections on port 5432? could not connect to server: >> Connection refused Is the server running on host "mu" (127.0.0.1) and >> accepting TCP/IP connections on port 5432? could not connect to server: >> Connection refused Is the server running on host "mu" (127.0.1.1) and >> accepting TCP/IP connections on port 5432? >> >> is there another configuration file that I need to update? (One thing >> to note -- my hostname is "mu", so at least that part of the >> configuration change seems to have taken. I'm not sure why the port >> change has not taken.) > > aha. now it's icinga web. you should've mentioned that in the first > place. for that, look into > http://docs.icinga.org/latest/en/icinga-web-config.html#configweb-databases > >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> >> >> >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > icinga-users mailing list > icinga-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/icinga-users -- Markus Frosch mar...@lazyfrosch.de http://www.lazyfrosch.de ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users