Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 06-27-2016 04:01 AM - edited 09-16-2022 03:27 AM
Hi,
How do i set up an alert for hosts when it crosses physical_memory_used a particular value? like 100 GB or something for 5 minutes.
Created 07-08-2016 12:43 AM
Hi npdell,
the trigger could look like this (alert on over 4 Gb mem used, over 5 min period)
[{"enabled":true,"expressionEditorConfig":{"action":"health:bad","attributeConditions":[],"conditions":[{"func":"last","metricExpression":"physical_memory_used","operator":">","value":"4294967296"}]},"streamThreshold":0,"suppressed":false,"triggerExpression":"IF (SELECT physical_memory_used WHERE hostId=$HOSTID AND last(physical_memory_used) > 4294967296) DO health:bad","triggerName":"Alert on over 4 Gb mem","validityWindowInMs":300000}]
Created 07-08-2016 12:43 AM
Hi npdell,
the trigger could look like this (alert on over 4 Gb mem used, over 5 min period)
[{"enabled":true,"expressionEditorConfig":{"action":"health:bad","attributeConditions":[],"conditions":[{"func":"last","metricExpression":"physical_memory_used","operator":">","value":"4294967296"}]},"streamThreshold":0,"suppressed":false,"triggerExpression":"IF (SELECT physical_memory_used WHERE hostId=$HOSTID AND last(physical_memory_used) > 4294967296) DO health:bad","triggerName":"Alert on over 4 Gb mem","validityWindowInMs":300000}]
Created 07-25-2016 02:14 AM
It worked @gzigldrum. Thanks for u r help.
Created 07-25-2016 02:31 AM