Some discovery probes use the ServiceNow function launchProcess
to run discovery commands.
By default the value for the secondsToWait
parameter for that function is set to 180 seconds for the "ET Get SMS Storage Groups" probe and the "ET Get SMS Volumes in Storage Groups" probe and set to 60 seconds for all other probes that use it.
secondsToWait
parameter:- In ServiceNow, go to Discovery Definition > Probes.
- Open the form for the probe that you want to alter.
- From the Probe Parameters tab, open the probe parameter.
- Replace the
-secondsToWait
parameter with the required value. - Save the changes.
If during discovery you see a message like 'Command timeout after more than 60 seconds', or a message that a file cannot be deleted because it is in use (for example, 'file cannot be deleted') try increasing the -secondsToWait
value for that probe. The ‘file cannot be deleted’ error does not affect the actual discovery but will cause discovery output files to remain in the temporary directory on the MID server.