Running IcingaWeb on a different Port

Hi all,

I am running icingaweb on a different port that 80. All I did was update the apache default.conf to port 86.

Everthing is running fine however, I am seeing some entries in my web server log that is now on port 80 for some icinga checks I have not defined.

GET /icingaweb2/application-state HTTP/1.1" 404 185 "http://vulcan/icingaweb2/monitoring/list/hosts"
[error] 21#21: *30 open() "/home/goudman.org/html/icingaweb2/application-state" failed (2: No such file or directory), client: 172.17.0.1, server: goudman.org, request: "GET /icingaweb2/application-state HTTP/1.1", host: "vulcan", referrer: "http://vulcan/icingaweb2/monitoring/list/hosts"

  • How can I update icingaweb to the new port (86), there does not seem to be any settings except the apache one.
  • How can I stop these checks being made that I have not defined?

Thank you.

Hi,

the error message doesn’t mention any port at all. It’s telling you the weserver can’t find /home/goudman.org/html/icingaweb2/application-state for the url /icingaweb2/application-state. This isn’t a real file anyway, so it won’t find it. Though, it’s a route of Icinga Web 2, so the webserver should look for Icinga Web 2’s public/index.php when handling this request.

You should check your webserver’s configuration regarding the rewrite rules for Icinga Web 2. You seem to have configured this wrong.