There is a todo in the Build Failure Analyser plugin to add steps to take
in case a specific failure cause is found. But we never got around to
implementing it.
If you are interested you're welcome to taking a crack at it.
https://wiki.jenkins-ci.org/display/JENKINS/Build+Failure+Analyzer
/B
On
https://wiki.jenkins-ci.org/display/JENKINS/Adaptive+disconnector+plugin
is here to prevent some of that putting slave temporarily offline in case
some of the monitors is triggered. Most notably full workspace, temp dir.
If you implement your check as Jenkins monitor, it will integrate