To remove the mount – -bind lines from df output in the monitor, only minor changes are needed.
You must change only a few lines in /usr/local/ispconfig/server/lib/classes/monitor_tools.inc.php
.
Line 477 (direct after public function monitorDiskUsage() {
:
from
global $conf;
to
global $app,$conf;
Change line 488 from
$dfData = shell_exec('df -hT 2>/dev/null');
to
$app->uses('getconf');
$web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
$dfData = shell_exec('df -hT|grep -v "'.$web_config['website_basedir'].'/" 2>/dev/null');
The patch is already added to the ISPConfig SVN branches.