Skip to content

Re-Alert Cycle (Alert Rules) is wrong in case of 1 minute poller interval #99

@aleksashka

Description

@aleksashka

I managed to find out that line 392 of syslog_alerts.php defines repeatarray using 5-minute intervals (1, 2, 3 for 5, 10, and 15 minutes respectively), which is totally fine with 5-minute poller_interval, since repeat value later gets multiplicated by poller_interval in line 346 of syslog_process.php for calculating silence time.

Unfortunately, selecting 30-minutes Re-Alert Cycle with 1-minute poller_interval effectively uses 6-minute cycle.

From newbie's point of view it seems that it should be OK to multiply repeat values by 300 seconds no matter what poller_interval is (works fine in my case, not sure why poller_inteval was used in first place). Unfortunately, I am not totally sure this will not break something else :).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions