Ports set to be ignored will now be ignored for threshold alerts

This commit is contained in:
laf
2014-02-25 14:22:02 +00:00
parent 74077a7fa0
commit 6395db8dae

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