Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1472

GlobalMonitor plugin does not work with the cache folder as the live folder

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.9
    • 1.9.5, 1.10
    • 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>
      

      Attachments

        Activity

          People

            ur Uwe Risse
            ur Uwe Risse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: