This document will walk you thru how to create an Alternate Config and update an Index Task to use it.
Setup
Step 1: Access the Diskover Admin page
Step 2: Click under Configuration → Diskover → Configurations → Default. This will take you to the Default configuration, but you can change the name from Default to a name of your choosing. Afterwards, hit Save and refresh the page. You should now see your new alternate configuration that you’ve created.
Step 3: Click into this Alternate Configuration. This is where you can set many different config items, such as excluding a particular directory upon scanning, Storage Costs, etc.. The screenshot below will be for excluding a directory:
Step 4: Tying this new Alternate Configuration to a Task. You will need to navigate back to the task you’d like to tie this config to. Scroll down to “Alternate Config Name” – You will want to input the name exactly as you have it in the Diskover Admin page.
Testing:
You should now be able to run a task and in the /var/log/diskover/diskoverd_subproc logs that we’re using the alternate configuration name:
2024-11-11 13:55:24,804 - diskoverd_subproc - INFO - [do_work_thread_3] run command: python3 /opt/diskover/diskover.py --task "root" -f -i diskover-root-202411112055 --configurationname Diskover.Configurations.alt-dir-exclusion --altscanner scandir_dircache /
Comments
0 comments
Please sign in to leave a comment.