Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-1231 Collection of configuration and logs for Support [Middleware Servers]
  3. HAWKULAR-1237

Add support to generate JDR reports for WildFly servers in domain mode

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Final
    • None
    • Agent
    • None

      <mazz> the path would have to be one of the "Domain WildFly Server" resources I would guess-- https://github.com/hawkular/hawkular-agent/blob/master/hawkular-javaagent-wildfly-feature-pack/src/main/resources/featurepack/content/standalone/configuration/hawkular-javaagent-config.yaml#L834
      <mazz> but there is no operations listed in the metadata here. so its possible we just need to add it to get this to work
      <mazz> https://github.com/hawkular/hawkular-agent/blob/master/hawkular-javaagent-wildfly-feature-pack/src/main/resources/featurepack/content/standalone/configuration/hawkular-javaagent-config.yaml#L597-L600
      <mazz> that defines the JDR operation on the standalone server resource type
      <mazz> if the domain server resource type also supports that operation, we'd have to add simiilar metadata to it
      <mazz> because without it, I bet the agent will refuse to try to execute it - even if it really would work if it invoked that operation
      <mazz> https://github.com/hawkular/hawkular-agent/blob/cee672b9520a9286d3cc45f74a4b73fee07b1798/hawkular-agent-core/src/main/java/org/hawkular/agent/monitor/cmd/ExportJdrCommand.java#L94
      <mazz> yeah, that looks like its trying to make sure the JSON request it got is allowed - without a JDR operation defined, the agent will just refuse to exeucte it

              edgar.hernandez Edgar Hernández
              edgar.hernandez Edgar Hernández
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: