Merge pull request #104 from laf/issue-103

Urgent: Ports set to be ignored will now be ignored for threshold alerts
This commit is contained in:
Paul Gear
2014-02-26 08:40:51 +10:00

View File

@ -354,7 +354,7 @@ foreach ($ports as $port)
}
// Port utilisation % threshold alerting. // FIXME allow setting threshold per-port. probably 90% of ports we don't care about.
if ($config['alerts']['port_util_alert'])
if ($config['alerts']['port_util_alert'] && $port['ignore'] == '0')
{
// Check for port saturation of $config['alerts']['port_util_perc'] or higher. Alert if we see this.
// Check both inbound and outbound rates