Adding "alertafterfailures" config command.

Suggested by Martin Seener