CorrelationServer with iterative evaluation
This commit is contained in:
parent
12ddb4d792
commit
b7879f8815
|
@ -812,7 +812,7 @@ sub pandora_process_alert ($$$$$$$$;$$) {
|
||||||
# Update alert status
|
# Update alert status
|
||||||
$alert->{'times_fired'} += 1;
|
$alert->{'times_fired'} += 1;
|
||||||
$alert->{'internal_counter'} += 1;
|
$alert->{'internal_counter'} += 1;
|
||||||
|
print "Pium pium\n";
|
||||||
db_do($dbh, 'UPDATE ' . $table . ' SET times_fired = ?,
|
db_do($dbh, 'UPDATE ' . $table . ' SET times_fired = ?,
|
||||||
last_fired = ?, internal_counter = ? ' . $new_interval . ' WHERE id = ?',
|
last_fired = ?, internal_counter = ? ' . $new_interval . ' WHERE id = ?',
|
||||||
$alert->{'times_fired'}, $utimestamp, $alert->{'internal_counter'}, $id);
|
$alert->{'times_fired'}, $utimestamp, $alert->{'internal_counter'}, $id);
|
||||||
|
|
Loading…
Reference in New Issue