Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Set up triggers on cloudera manager

avatar
Rising Star

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.

1 ACCEPTED SOLUTION

avatar
Super Collaborator

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}]

View solution in original post

3 REPLIES 3

avatar
Super Collaborator

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}]

avatar
Rising Star

It worked @gzigldrum. Thanks for u r help.

avatar
Super Collaborator
Great!