Monit URL configuration and Email

Discussion in 'Installation/Configuration' started by mcisar, Jun 26, 2024.

  1. mcisar

    mcisar New Member HowtoForge Supporter

    I've just done an install using the "Perfect Server Automated ISPConfig 3 Installation on Debian 11 and Debian 12..." tutorial on a Debian 12 server. All seems to have gone basically good except for a couple of minor things...

    I've noticed that in the Monitor menu if I try to click on Monit or Munin they come up with a "No Monit URI defined" or "No Munin URI defined" error... how can I correct that?

    And somehow when I was doing the install of ISPConfig I missed the "-monit-alert-email=..." parameter on the installer . What do I manually need to add to the monit configs to replicate whatever that parameter would have done?
     
  2. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    System > Server config. But as @ahrasis mentioned, modern web browser clock accessing them in the iSPConfig GUI. Therefore, we do not configure that option as it won't work anyway in current browsers.
     
  4. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    It is fixable though. Either by configuring a reverse proxy, add exceptions to the browser, x-frame-options/csp header.
    But having it run using reverse-proxy as ispapp probably would be the way to go as it would allow to configure measurements
    while having monit running listening on localhost.
    But this is probably on the roadmap, haven't checked. Otherwise, why not?
    It would require a webserver for munin on multi-servers though I guess, or mount the munin static contents on primary system :?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    It's not on the roadmap, as there is no real benefit of showing the contents inside an iframe of the ISPConfig GUI; I even considered removing them from the UI or replacing the iframe with a simple link that opens the app in a new browser window.
     
    ahrasis and ztk.me like this.
  6. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    I forgot about munins capabillity to connect to remote servers ha, no webserver for that needed.
    But I agree, just open a new window would be an easy fix and reduces complexity/workload.
    I think in the early days I just added a domain and configured proxy on that, When used to use the hostname as domain to get the letsencrypt.

    But yes.
     
    Last edited: Jun 26, 2024

Share This Page