Mid System property: mid.sa.cleanup.clean_files_on_target
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2024 01:45 PM
I recently noticed in a failed discovery of a linux server on the step Target Cleanup:
Skipped file cleaning on target. In order to activate this behavior, please set "mid.sa.cleanup.clean_files_on_target" MID property
Does anyone have any information on this property and what it does? Is it a True/False value?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 07:51 AM
I ran across the same error today and also struggled to find additional information on this property.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 09:46 AM
Please reach out to servicenow or open a HI case, as i cannot find anything on the docs related to this property.
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2024 05:20 AM
Hello Jeff,
I asked ServiceNow:
What does this property do?
Should this be activated?
How do I activate the property?
Resolution:
As part of discovery, temp files are added and deleted after pattern execution. Sometimes, it is possible that few of the temp files might be left behind and not deleted properly.
The 'mid.sa.cleanup.clean_files_on_target' MID Server Property is responsible for cleaning up these files after pattern execution.
To set this property,
1. Create MID server property "mid.sa.cleanup.clean_files_on_target = true" on the related midserver
2. Restart the MID server used for Discovery to sync with the MID property
3. Test Discovery again and then check if you see the error anymore.
KB1123204 : Remove temporary files created on target Servers after Discovery