Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.9
-
None
-
None
Description
Current situation
with a plugin configuration that sets the configuration_directory path the cache folder in $scheduler_data/config, the plugin does not work
Desired behaviour
The parameter configuration_directory should point to the folder that contains the live folder and the cache folder. The plugin then should handle both folders simultaneously
Example configuration that does not work
<plugin java_class="com.sos.scheduler.plugins.globalmonitor.GlobalMonitorPlugin"> <plugin.config> <jobparams> <param name="configuration_directory" value="/home/test/sos-berlin.com/jobscheduler/server/config/cache"/> <param name="exclude_dir" value="sos"/> <param name="exclude_file" value=""/> <param name="recursive" value="true"/> <param name="regex_selector" value="^.*$"/> </jobparams> <monitorparams> <param name="exclude_dir" value="sos"/> <param name="exclude_file" value=""/> <param name="recursive" value="true"/> <param name="regex_selector" value="^global_monitor.*$"/> </monitorparams> </plugin.config> </plugin> </plugins>
Example configuration that should work and reflect both, the live folder and the cache folder
<plugin java_class="com.sos.scheduler.plugins.globalmonitor.GlobalMonitorPlugin"> <plugin.config> <jobparams> <param name="configuration_directory" value="/home/test/sos-berlin.com/jobscheduler/server/config"/> <param name="exclude_dir" value="/sos"/> <param name="exclude_file" value=""/> <param name="recursive" value="true"/> <param name="regex_selector" value="^.*$"/> </jobparams> <monitorparams> <param name="exclude_dir" value="/sos"/> <param name="exclude_file" value=""/> <param name="recursive" value="true"/> <param name="regex_selector" value="^global_monitor.*$"/> </monitorparams> </plugin.config> </plugin> </plugins>