Reply
Explorer
Posts: 23
Registered: ‎02-22-2016
Accepted Solution

Set up triggers on cloudera manager

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.

Cloudera Employee
Posts: 229
Registered: ‎01-15-2015

Re: Set up triggers on cloudera manager

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}]
Explorer
Posts: 23
Registered: ‎02-22-2016

Re: Set up triggers on cloudera manager

It worked @gzigldrum. Thanks for u r help.

Highlighted
Cloudera Employee
Posts: 229
Registered: ‎01-15-2015

Re: Set up triggers on cloudera manager

Great!