How do I install the Monitorix application on an ISPConfig managed server?

Discussion in 'Plugins/Modules/Addons' started by PeterSGT, Aug 28, 2022.

  1. PeterSGT

    PeterSGT New Member

    Hello

    I tried to install Monitorix on a Debian 10 server, with the ISPConfig panel.

    I did the installation with the help of the tutorial:
    https://www.howtoforge.com/install-...toring-server-on-debian-10/#install-monitorix

    The application installed, but I don't know how to access it on the browser side.
    It works on the same port as the ISPConfig panel, and its address is:
    http://your-server-ip:8080/monitorix

    I will add that I can only access the ISPConfig panel through the address of
    a domain that has an SSL certificate, because it is added in the panel, etc.

    Entering this domain along with
    https://my-domain.com:8080/monitorix
    I get a 404 error

    and

    my-server-ip:8080/monitorix
    I get a 400 error

    I'm guessing that this is a problem probably with redirecting
    to the directory where the application is,
    but I don't know how to do that in IPSConfig.

    Does anyone know the solution?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not have two applications that bind themself to a port on the same port. Check monitorix config file(s) and change the port that monitorix uses to an unused port, e.g. 8082.
     
  3. PeterSGT

    PeterSGT New Member

    It was configured to port 9696 and added in the firewall,
    but also could not open the application, even though on the server the application was running.

    The symptom - as if the web server would not give access to Manitorix files
     
  4. PeterSGT

    PeterSGT New Member

    I found the problem.

    I followed the description from the tutorial:
    https://www.howtoforge.com/install-...toring-server-on-debian-10/#install-monitorix

    And there in the example is given the configuration,
    for example, concerning the port:

    port = 8080
    And this is correct, but if changes are made to the main file
    (which can be overwritten)

    nano /etc/monitorix/monitorix.conf

    I entered the data in the file that overwrites,
    the main configuration file and did not keep the tags as below

    (I typed the expression itself: port = 9696)
    /etc/monitorix/conf.d/00-debian.conf

    Only when I added the keys as below did my settings work:

    <httpd_builtin>

    port = 9696
    </httpd_builtin>


    Thank you for directing me to the solution !
     
    till likes this.

Share This Page