When a disaster is about to occur, this is an example of a time when you are on the brink of disaster.
At the brink of war.
Origin of brink
- Middle English probably of Scandinavian origin
From American Heritage Dictionary of the English Language, 5th Edition