[PR #243] [MERGED] Move Check Runs from Audit to its own table #3526

Closed
opened 2026-03-14 07:24:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/tacticalrmm/pull/243
Author: @sadnub
Created: 1/10/2021
Status: Merged
Merged: 1/11/2021
Merged by: @wh1te909

Base: developHead: develop


📝 Commits (8)

  • 69583ca docker dev fixes
  • 8fef184 add check history graph for cpu, memory, and diskspace
  • 4a649a6 black
  • c9d6fe9 allow returning all check data
  • 7e3ea20 add some tests and bug fixes
  • b6449d2 black
  • 6812e72 fix process sorting
  • 1bfe9ac complete other pending actions with same task if task is deleted

📊 Changes

26 files changed (+617 additions, -24 deletions)

View changed files

📝 .devcontainer/entrypoint.sh (+2 -2)
📝 api/tacticalrmm/agents/tasks.py (+4 -0)
📝 api/tacticalrmm/apiv3/views.py (+0 -10)
📝 api/tacticalrmm/autotasks/tasks.py (+6 -0)
📝 api/tacticalrmm/checks/admin.py (+2 -1)
api/tacticalrmm/checks/migrations/0011_check_run_history.py (+30 -0)
api/tacticalrmm/checks/migrations/0011_checkhistory.py (+39 -0)
api/tacticalrmm/checks/migrations/0012_auto_20210110_0503.py (+18 -0)
api/tacticalrmm/checks/migrations/0013_auto_20210110_0505.py (+18 -0)
api/tacticalrmm/checks/migrations/0014_merge_20210110_1808.py (+13 -0)
api/tacticalrmm/checks/migrations/0015_auto_20210110_1808.py (+27 -0)
📝 api/tacticalrmm/checks/models.py (+26 -1)
📝 api/tacticalrmm/checks/serializers.py (+14 -2)
📝 api/tacticalrmm/checks/tasks.py (+12 -2)
📝 api/tacticalrmm/checks/tests.py (+69 -0)
📝 api/tacticalrmm/checks/urls.py (+1 -0)
📝 api/tacticalrmm/checks/views.py (+28 -1)
api/tacticalrmm/core/migrations/0012_coresettings_check_history_prune_days.py (+18 -0)
📝 api/tacticalrmm/core/models.py (+2 -0)
📝 api/tacticalrmm/core/tasks.py (+6 -0)

...and 6 more files

📄 Description

-Created a graph that shows check history for cpuload, memory, and diskspace.
-Removed creating check_run audit logs
-Added Core Settings option for check history retention
-Added to the core maintenance task to remove old check history data

Also fixes #234
Fixes an instance where pending actions never get completed


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/tacticalrmm/pull/243 **Author:** [@sadnub](https://github.com/sadnub) **Created:** 1/10/2021 **Status:** ✅ Merged **Merged:** 1/11/2021 **Merged by:** [@wh1te909](https://github.com/wh1te909) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (8) - [`69583ca`](https://github.com/amidaware/tacticalrmm/commit/69583ca3c028f12c30412df6973fcc986375180a) docker dev fixes - [`8fef184`](https://github.com/amidaware/tacticalrmm/commit/8fef184963a192161ed5ed6b50d4f63be776e11f) add check history graph for cpu, memory, and diskspace - [`4a649a6`](https://github.com/amidaware/tacticalrmm/commit/4a649a6b8bf57381d3fc504add132a0810738f67) black - [`c9d6fe9`](https://github.com/amidaware/tacticalrmm/commit/c9d6fe9dcd79198a098eb6a4421fdc759d081c86) allow returning all check data - [`7e3ea20`](https://github.com/amidaware/tacticalrmm/commit/7e3ea20dcef30e55d26f2f940caab3f0702a2026) add some tests and bug fixes - [`b6449d2`](https://github.com/amidaware/tacticalrmm/commit/b6449d2f5bed23e39378fdf51ea92359b8c53688) black - [`6812e72`](https://github.com/amidaware/tacticalrmm/commit/6812e72348f30430a9a807d1947fd711eb7ba0ba) fix process sorting - [`1bfe9ac`](https://github.com/amidaware/tacticalrmm/commit/1bfe9ac2db8a590c7ee63ac4db74747818c1089a) complete other pending actions with same task if task is deleted ### 📊 Changes **26 files changed** (+617 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `.devcontainer/entrypoint.sh` (+2 -2) 📝 `api/tacticalrmm/agents/tasks.py` (+4 -0) 📝 `api/tacticalrmm/apiv3/views.py` (+0 -10) 📝 `api/tacticalrmm/autotasks/tasks.py` (+6 -0) 📝 `api/tacticalrmm/checks/admin.py` (+2 -1) ➕ `api/tacticalrmm/checks/migrations/0011_check_run_history.py` (+30 -0) ➕ `api/tacticalrmm/checks/migrations/0011_checkhistory.py` (+39 -0) ➕ `api/tacticalrmm/checks/migrations/0012_auto_20210110_0503.py` (+18 -0) ➕ `api/tacticalrmm/checks/migrations/0013_auto_20210110_0505.py` (+18 -0) ➕ `api/tacticalrmm/checks/migrations/0014_merge_20210110_1808.py` (+13 -0) ➕ `api/tacticalrmm/checks/migrations/0015_auto_20210110_1808.py` (+27 -0) 📝 `api/tacticalrmm/checks/models.py` (+26 -1) 📝 `api/tacticalrmm/checks/serializers.py` (+14 -2) 📝 `api/tacticalrmm/checks/tasks.py` (+12 -2) 📝 `api/tacticalrmm/checks/tests.py` (+69 -0) 📝 `api/tacticalrmm/checks/urls.py` (+1 -0) 📝 `api/tacticalrmm/checks/views.py` (+28 -1) ➕ `api/tacticalrmm/core/migrations/0012_coresettings_check_history_prune_days.py` (+18 -0) 📝 `api/tacticalrmm/core/models.py` (+2 -0) 📝 `api/tacticalrmm/core/tasks.py` (+6 -0) _...and 6 more files_ </details> ### 📄 Description -Created a graph that shows check history for cpuload, memory, and diskspace. -Removed creating check_run audit logs -Added Core Settings option for check history retention -Added to the core maintenance task to remove old check history data Also fixes #234 Fixes an instance where pending actions never get completed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 07:24:56 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3526
No description provided.