mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #184] Feature Request: Warning State for Monitors #2054
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#2054
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 @mfeuhrer on GitHub (Nov 19, 2020).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/184
Originally assigned to: @sadnub on GitHub.
It would be nice to have a Warning state for monitors, besides just pass/fail. A yellow condition can be useful for information that could be a problem, but isn't yet.
Would be very useful for memory/CPU checks as well as script results.
@wh1te909 commented on GitHub (Nov 19, 2020):
I could make the status Warning instead of Failing if the "number of consecutive failures before alert" is set to any number higher than 1 but less than the actual consecutive failure count, and have it change to Failing once that number is reached. Does that work?
Otherwise don't really see how to differentiate between warning or failing. Maybe for script checks if you return a custom return code in your script like 99 or something unique we can reserve that for a "Warning" status. Right now scripts pass if they return 0 and any other number will be a fail.
@bradhawkins85 commented on GitHub (Nov 20, 2020):
what about two options, one for Warning Count and one for Failure Count?
I'm currently seeing MeshAgent.exe using >3GB of RAM at times so killing the agent brings everything back to normal. With a warning we could trigger a script to fix the problem (but not fire an email for example) then if that doesn't help send the email alert on failure for further investigation.
@mfeuhrer commented on GitHub (Nov 21, 2020):
Let's take the CPU item for example. My thought would be to have anything below 70% consumption be passing, 70-90% consumption warning, and 90-100% consumption be a failure. At least on resource monitors, being able to tie this to a numeric range or percentage would be great.
You're dead on with the script check idea. We can exit with just about any error code number. 0 for pass, 1 for fail, 2 for warning (or 99, or whatever works easiest).
@wh1te909 commented on GitHub (Feb 16, 2021):
released in 0.4.8
@mfeuhrer commented on GitHub (Feb 18, 2021):
Amazing thanks!