View Single Post
  #7  
Old 12th May 2009, 20:55
BorderAmigos BorderAmigos is offline
Senior Member
 
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 33 Times in 31 Posts
Send a message via MSN to BorderAmigos Send a message via Yahoo to BorderAmigos
Default

I didn't add tables. In monitor_core_module.inc.php I changed
Code:
if ($usePercent > 75) $state = $this->_setState($state, 'info');
if ($usePercent > 80) $state = $this->_setState($state, 'warning');
if ($usePercent > 90) $state = $this->_setState($state, 'critical');
if ($usePercent > 95) $state = $this->_setState($state, 'error');
to
Code:
if ($usePercent > 85) $state = $this->_setState($state, 'info');
if ($usePercent > 90) $state = $this->_setState($state, 'warning');
if ($usePercent > 96) $state = $this->_setState($state, 'critical');
if ($usePercent > 98) $state = $this->_setState($state, 'error');
... which will probably be overwritten on an update.

I was only suggesting that the values (75, 80, 90, 95) and other similar things be administrator configurable via tables on some future version.
__________________
System6Hosting.com, ISPConfig 3, Debian.
Reply With Quote