-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigger by "Less Than" #368
Comments
Hi Tracy, Does setting the error threshold lower than warning threshold give you what you want here? Mark |
I don't think so. we still want to keep the warning as lower than error. but different ways of trigger it. |
Hmm perhaps I'm missing something. Am I right in thinking you have a metric like: server.memory-available And the value can be something like a range of 0..4000 to indicate megabytes available? |
well, my metrics are from Graphite, so I have all of the memory metrics To get memory available, I will add memory-free+memory-buffered+memory-cached, plus, they will be all in percentage (by dividing the memory_total), so range would be 0-100 |
OK great :-) So you'd like Seyren to warn when the value is between 10-5 and to error when the value is below 5? |
Exactly |
Cool. So unless I'm still missing something, it sounds like you need to set the warn threshold to 10 and the error threshold to 5. |
it sounds right. Just how the threshold will be triggered. If I put the current values into seyren, it will trigger But in the real case, we want alert triggered if memory_available is less than 10 |
Have you tried setting the warn threshold to 10 and the error threshold to 5? Seyren will handle what you're describing automatically. |
@1337newbee let me know if you managed to get this working please |
It worked very well for me. Thanks. |
@1337newbee not sure off the top of my head but please let me know if you find out! |
Currently, all the alerts are triggered by "Bigger Than", say if I have a metrics as "memory free"
I wanted the warning when memory free is less than 10% and an error when it's less than 5%.
I can use 1-memory-used to calculate memory available, but it will be better if we have that feature supported as well.
The text was updated successfully, but these errors were encountered: