[dev.icinga.com #13381] Allow to configure the default listen address for the CLI command web serve #2631

icinga-migration opened this Issue Dec 2, 2016 · 4 comments


None yet

1 participant


This issue has been migrated from Redmine: https://dev.icinga.com/issues/13381

Created by kobmaki on 2016-12-02 08:40:37 +00:00

Assignee: kobmaki
Status: Resolved (closed on 2016-12-13 11:06:33 +00:00)
Target Version: 2.4.0
Last Update: 2016-12-13 11:06:33 +00:00 (in Redmine)

Running the icingaweb2 as a standalone server, you have to add the option for the socket.

It would be nice to add a parameter in the config.ini for the listen socket.

One possibility is to add in the global section the parameter for socket. Another one is to create a special section like "web" for the socket.

E.g. in the config.ini:

socket = ""

If the feature is accepted, more things have to be discuss. Then I will send the patch for this feature.



2016-12-13 11:05:25 +00:00 by kobmaki 93b7b11

Make default listen address for CLI command web serve configureable

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>

resolves #13381

Updated by elippmann on 2016-12-02 14:03:49 +00:00

  • Status changed from New to Assigned
  • Assigned to set to kobmaki


I like the idea. But I suggest to name the config section "standalone" and the option "listen".

Best regards,


Updated by kobmaki on 2016-12-02 14:42:08 +00:00

  • File added 0001-Implement-the-feature-Application-Web-serve-config-13381.patch

Here is the patch for the feature.

To use the feature in the stand alone version you should add to the config.ini the section

listen = ""

After this, the icingacli web serve will listen on the defined port.
Take care, not to run this as root. Primary run it as unprivileged.


Updated by elippmann on 2016-12-13 11:06:27 +00:00

  • Subject changed from Application, Web, serve, config.ini, socket configable to Allow to configure the default listen address for the CLI command web serve
  • Target Version set to 2.4.0

Updated by kobmaki on 2016-12-13 11:06:33 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 93b7b11.

@icinga-migration icinga-migration added this to the 2.4.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment