# see if we are beyond or equal to trigger threshold
for status in call_on:
if trigger <= target['runbooks'][item['runbook']]['status'][status]:
logger.debug("Action {0} has trigger of {1} and status has {2}".format(
action, trigger,
target['runbooks'][item['runbook']]['status'][status]))
run_me = True # turn True
Taking a look at actioning.py, there's a condition that checks if trigger is less than the threshold, maybe I could add an extra condition that compares trigger to a predefined number and set the run to false, do you think that would work? I'm not sure if I have to reset the queue after
Just let me know if you think this is a good start when you can please, I'll try to start working on this tomorrow!