[Pkg-nagios-devel] Bug#679338: icinga-web: Agavi tries to connect via TCP to DB, though Sockets was selected in dbconfig-common

Christoph Anton Mitterer calestyo at scientia.net
Wed Jun 27 23:06:47 UTC 2012


Package: icinga-web
Version: 1.7.1-1
Severity: normal


Hi.

As you already told in other bugs, you only want to support the setup,
where the databases are local, right?

So then it makes sense to access them via sockets and not via TCP.

My problem now is the settings in:
/etc/icinga-web/conf.d/database*.xml

These get DSN set that try to use TCP, even though I selected sockets.

I'd expect the change to set the correct DSN for sockets is simple and
I'd have simply overwritten the value,... but I don't know the format
for such a DSN.
All I tried failed and Agavi seems to provide no useful docs.


Do you have an idea?
And if so, could you please modify your scripts, to set such DSN,
if unix/sockets was selected?


Cheers,
Chris.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.20-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-nagios-devel mailing list