[GH-ISSUE #184] Feature Request: Warning State for Monitors #2054

Closed
opened 2026-03-14 02:17:31 +03:00 by kerem · 5 comments
Owner

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.

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.
kerem closed this issue 2026-03-14 02:17:36 +03:00
Author
Owner

@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.

<!-- gh-comment-id:730689084 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:730749104 --> @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.
Author
Owner

@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).

<!-- gh-comment-id:731615907 --> @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).
Author
Owner

@wh1te909 commented on GitHub (Feb 16, 2021):

released in 0.4.8

<!-- gh-comment-id:780055547 --> @wh1te909 commented on GitHub (Feb 16, 2021): released in 0.4.8
Author
Owner

@mfeuhrer commented on GitHub (Feb 18, 2021):

Amazing thanks!

<!-- gh-comment-id:781641478 --> @mfeuhrer commented on GitHub (Feb 18, 2021): Amazing thanks!
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#2054
No description provided.