Discovery Task status is not Success or Failed on completion
Some of my Discovery tasks dont post a success of failure status and the SCOM task contains no output aside from “Exit Code:3”:
This is seen where SCOM terminates the process running the task and can be caused bymany things (bad payload, SCOM internal issues) but is most commonly caused by the task running for longer than its configured timeout. If a task runs for longer than its timeout, SCOM kills the process in this way posting exit code 3.
This issue is usually solved by extending the tasks timeout. This can be done from within the CI map’s configuration:
Navigate to the Administration pane then to ServiceNow Connector - Cookdown > Discovery
Select the CI type map that is failing in this away and click Modify
Increase the timeout