From d8bb045af094ffe8cf9ea50f10e49d1b3eb08f0d Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 09 Dec 2010 08:27:46 -0500 Subject: [PATCH] Fixed: FS#1428 - Message in ispconfig cron log under openvz: Unable to open /etc/vz/conf/101.conf: No such file or di --- server/mods-available/monitor_core_module.inc.php | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/server/mods-available/monitor_core_module.inc.php b/server/mods-available/monitor_core_module.inc.php index b3c6f03..d44ef8f 100644 --- a/server/mods-available/monitor_core_module.inc.php +++ b/server/mods-available/monitor_core_module.inc.php @@ -203,8 +203,10 @@ $this->monitorMemUsage(); $this->monitorCpu(); $this->monitorServices(); - $this->monitorOpenVzHost(); - $this->monitorOpenVzUserBeancounter(); + if(@file_exists('/proc/user_beancounters')) { + $this->monitorOpenVzHost(); + $this->monitorOpenVzUserBeancounter(); + } $this->monitorMailLog(); $this->monitorMailWarnLog(); $this->monitorMailErrLog(); -- Gitblit v1.9.1