CheckExternalScripts exit code
Posted: Wed Sep 07, 2016 11:38 am
Hello,
I have a batch script which checks the job status. If the job fails he script will echo ERROR: JOB FAILED and exit /B 2
I am using nrpe to run this.
The check status = OK
Output : ERROR: JOB FAILED.
How should I turn it to critical?
I have a batch script which checks the job status. If the job fails he script will echo ERROR: JOB FAILED and exit /B 2
I am using nrpe to run this.
The check status = OK
Output : ERROR: JOB FAILED.
How should I turn it to critical?