Skip to main content
Ask Question
Cluster Monitoring
Asked a question recently

How to have Bright 8.x email me when a node goes down?

Where am I?

In Bright Computing, Inc. you can ask and answer questions and share your experience with others!

You can add the following trigger using cmsh on your active head node:


# cmsh
% monitoring trigger
% add node_down
% expression
% set measurables devicestatus
% set value down
% set operator ==
% ..
% ..
% set enteractions send\ e-mail\ to\ administrators
% commit

 

Now all contacts listed in the Administrator E-mail property in Bright will receive an email whenever a node enters the DOWN status.

 

Conversely, to have those same people receive an email whenever a node goes back UP:

 

# cmsh
% monitoring trigger
% add node_up
% expression
% set measurables devicestatus
% set value up
% set operator ==
% ..
% ..
% set enteractions send\ e-mail\ to\ administrators
% commit