How to catch "Nrpe unable to read output" when occured? <p>I'm trying to catch "nrpe unable to read output" output from plugin and send an email when this one occurs and I'm a little bit stuck :) . Thing is there are different return codes when this error occurs on different plugin: </p> <p>Return code Service status</p> <p>0 OK</p> <p>1 WARNING</p> <p>2 CRITICAL</p> <p>3 UNKNOWN</p> <p>Is there a way either to unify return codes of all plugins I use(that there always will be 2[CRITICAL] when this problem occurs), or any other way to catch those alerts? I want to keep return codes for different situations as is(i.e. filesystem /home will be warning(return code 1) for 95% and critical(return code 2) for 98%</p>