search for: sm_agi_breaker_notify

Displaying 1 result from an estimated 1 matches for "sm_agi_breaker_notify".

2015 Mar 04
0
Failsafe AGI using AEL
.... Once max calls or max seconds elapse the breaker is reset on the next call and everything goes back to normal. GLOBAL VARIABLES SM_NODE: system hostname SM_AGI_BREAKER_MAX_CALLS: reset breaker after this many calls SM_AGI_BREAKER_MAX_ELAPSED: reset breaker after this many seconds SM_AGI_BREAKER_NOTIFY: e-mail address list */ macro sm_agi(agi,agi_failsafe) { // extract script name from primary agi for the global breaker variable name Set(LOCAL(breaker)=sm_agi_breaker-${CUT(CUT(agi,/,${FIELDQTY(agi,/)}),^,1)}); Set(SM_AGI_STATUS=); if ("${GLOBAL(${breaker})}" == &quot...