| | |
| | | global $app; |
| | | |
| | | /* |
| | | * This monitoring is expensive, so do it only every 15 minutes |
| | | */ |
| | | $min = @date('i'); |
| | | if ($min % 15 != 0) return; |
| | | |
| | | |
| | | /* |
| | | * First we get the Monitoring-data from the tools |
| | | */ |
| | | $res = $this->_tools->monitorEmailQuota(); |
| | |
| | | * First we get the Monitoring-data from the tools |
| | | */ |
| | | $res = $this->_tools->monitorSystemUpdate(); |
| | | |
| | | //* Ensure that output is encoded so that it does not break the serialize |
| | | $res['data']['output'] = htmlentities($res['data']['output']); |
| | | |
| | | /* |
| | | * Insert the data into the database |
| | |
| | | * First we get the Monitoring-data from the tools |
| | | */ |
| | | $res = $this->_tools->monitorISPCCronLog(); |
| | | |
| | | //* Ensure that output is encoded so that it does not break the serialize |
| | | $res['data']['output'] = htmlentities($res['data']['output']); |
| | | |
| | | /* |
| | | * Insert the data into the database |