mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1482] Feature Request: Change detection for collector scripts #2871
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#2871
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 @NiceGuyIT on GitHub (Apr 13, 2023).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1482
Is your feature request related to a problem? Please describe.
The current setup using scripts, collector scripts, checks and tasks do not have a good way to detect if something changed. Possibilities include:
Describe the solution you'd like
It would be nice if collector scripts could be hooked into the alert system to "alert" if the values changed.
Describe alternatives you've considered
Alternatives require a separate system (for storage) and too much complication.
Additional context
Writing a change detector script requires persistent storage which is not available to scripts.
@silversword411 commented on GitHub (Apr 18, 2023):
Couldn't you do this already with custom fields and a fancy script?
Store your values in a parsed string (comma, space etc delimited.)
Then read, test, set and exit your script based on your tests?
@NiceGuyIT commented on GitHub (Apr 18, 2023):
Let's take for example checking the hosts files for changes. This can be done by 1) checking the contents for changes or 2) checking the filesystem for metadata changes (timestamp, size, etc.). Let's go through the various ways this can be accomplished in the current system.
Get-Content C:\Windows\System32\drivers\etc\hosts
Get-ChildItem C:\Windows\System32\drivers\etc
git clone,git add, andgit commitsteps.