Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 17th July 2013, 17:56
florian030 florian030 is offline
Senior Member
 
Join Date: Oct 2012
Posts: 188
Thanks: 7
Thanked 48 Times in 42 Posts
Default

Its 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');
__________________
regards
Florian

blog.schaal-24.de
Reply With Quote
The Following 2 Users Say Thank You to florian030 For This Useful Post:
bpatrickmittle222 (20th July 2013), till (17th July 2013)
Sponsored Links
  #12  
Old 17th July 2013, 19:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,003 Times in 3,912 Posts
 
Default

Thanks for the patch!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending mails: fine > recive: bad Moundy General 1 19th June 2012 23:40
Courier Imap is not working HellMind General 5 12th April 2012 01:04
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 10:05


All times are GMT +2. The time now is 05:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.