17.0 Object triggers > References > Resource manager triggers

Conventions

17.13 Resource manager triggers

Triggers attached to the resource manager follow the same basic rules and formats as attaching them to other objects; however, not all attribute options are valid for each object. The resource manager, like other objects, has a unique set of trigger rules. The table below details the methods, options, and other notable details that come with attaching triggers to RMs.

Creation methods

Method Format Example
Command line on existing RM: mschedctl - c mschedctl -c trigger <trigSpec> -o rm:<rmID>

> mschedctl -c trigger EType=start,AType=exec,Action="/tmp/rmStart.sh" -o rm:torque

RM configuration in moab.cfg: RMCFG RMCFG[<name>] TRIGGER=<trigSpec>

RMCFG[base] TRIGGER=EType=fail,AType=exec,Action="/opt/moab/tools/diagnose_rm.pl $OID"

Valid event types

Valid action types

© 2014 Adaptive Computing