Disable System metrics for clients

Discussion in 'Installation/Configuration' started by Steffan, May 9, 2025.

  1. Steffan

    Steffan Member

    Is it possible to disable the new system metrics in 3.3 from the homepage.
    It is nice to see this on the monitor page but on a shared server my cliensts doesnt have to see the total load of my servers
     
  2. Steffan

    Steffan Member

    Never mind find it my self. no idee of it was forgotten or not but file:

    web/dashboard/dashlets/metrics.php
    Code:
     if ($_SESSION["s"]["user"]["typ"] != 'admin') {
                            return '';
                    }
    
    Was disabled
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You can configure that under System > Interface > Main config > misc. No need to edit any files. And this code shall be commented out.
     
  4. Jack x

    Jack x New Member

    I, like Steffan, have also been looking for a way to hide the new "metrics" for clients on the dashboard. Thanks, Till, for the information that this can be done via System > Interface > Main config > misc.

    Does this work through "Left Client Dashlets:" and "Right Client Dashlets:"? Because under Misc, I can't find any other (new) entry or option for this in ISPConfig 3.3.

    Maybe someone can give us a tip on this. Thanks!
     
    Last edited: May 9, 2025
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. As soon as you add something there, the default dashlets will be hidden and only the dashlets you configured there are shown. The current ISPConfig layout has just one column, so it does not matter if you use left or right column.
     
    Jack x likes this.
  6. Jack x

    Jack x New Member

    Alright, I set the Left Client Dashlets: to [quota][databasequota][limits] and it works perfectly for me.

    Thanks, Till, for the super quick help — I think this will also be helpful for others who read this.
     
    till likes this.

Share This Page