mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #2090] Change Event Log Check previous days to more specific time period #3246
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#3246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hendymen on GitHub (Dec 3, 2024).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2090
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
I'd like to have the option to change the "How many previous days to search (Enter 0 for the entire log)" of an new Event Log Check to a smaller amount than 1 day. We want to check if an Event was logged in the last 5 minutes and then restart a certain service (by an attached task). We're experiencing issues with the check checking for a whole day. Because there can me multiple events during the day.
Or we would like it to only respond on new event log entries.
Additional context
Please see this picture
@P6g9YHK6 commented on GitHub (Dec 3, 2024):
i had the same kind of issue yesterday i could not get a "on failure" tasks to only run once for a bluescreen issue

what is missing is a on failure once radio button when setting the tasks
1 run on each failure
2 run on the 1st failure only
@hendymen commented on GitHub (Dec 3, 2024):
Yeah great idea, so in fact, your task can still be "On Check Failure" but the check itself should have the option to only mark itself as failed if a new event was logged (not checking the history previously the past event)!
@hendymen commented on GitHub (Dec 3, 2024):
Right now I am in a loop..
The check checks if the event was logged for the past day, it was logged, so it continues to the task, however the task restarts a service. However the restart of this service triggers a new event log.. And so on and so on.
But I can't use the check service, because the service keeps running despite the program fails, so it's not just a service check...
@P6g9YHK6 commented on GitHub (Dec 3, 2024):
for now you should just script it then you could easily deal with these "inconvenience"