Hello. I made an update yestarday ( from squeeze to wheezy ). After that update i can see all mounted log files ( it wasn't like this before ). Here, what i mean: And before the update I didn't see all that mounted logs. Any idea, what can it be? Thank's
Maybe the new df command version has changed its behaviour and shows now also bind mounts. maybe you can check with: man df on your server if there is a option to suppress them in the output so we can add this to ispconfig monitor scripts.
Then we can only try to filter out these lines in the ispconfig interface. I've added a feaurerequest for that in the bugtracker.
Here is the task: http://bugtracker.ispconfig.org/index.php?do=details&task_id=3010 If you have a patch for it, then please add it to the task in the bugtracker.
Well, Found the problem. It's a bug in Debian. Read here, helped me: http://crunchbang.org/forums/viewtopic.php?id=25901
It´s quite easy to filter the bind-mounts from df. I changed / added only a few lines in server/lib/classes/monitor_tools.inc.php. In public function monitorDiskUsage() add Code: global $app; and change /** Fetch the data of ALL devices into a array (needed for monitoring!) */ to Code: $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');