CorrelationServer with iterative evaluation

This commit is contained in:
fbsanchez 2021-09-27 12:25:43 +02:00
parent 12ddb4d792
commit b7879f8815
1 changed files with 1 additions and 1 deletions

View File

@ -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);