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