[Hawkular-dev] deployments on server group

John Mazzitelli mazz at redhat.com
Tue Aug 9 09:42:10 EDT 2016


This doesn't sound familiar - so I doubt I modeled this in any <resource-type-dmr> in the agent config. Write a JIRA on HWKAGENT. Probably requires more resource type metadata defined so it can be discovered.

----- Original Message -----
> Ok, the info is available using an operation. In the jboss-cli.sh:
> 
> [domain at localhost:9990 host=master] deployment-info
> --server-group=main-server-group
> NAME RUNTIME-NAME STATE
> ticket-monster.war ticket-monster.war enabled
> 
> I guess, we need this info in the inventory.
> 
> jk
> 
> On Tue, Aug 9, 2016 at 3:04 PM, Jiri Kremser < jkremser at redhat.com > wrote:
> 
> 
> 
> Hi,
> today's hawkular inventory+WFagent combo have no information about the
> deployments of server groups. So my question is what approach should I use,
> if we want to visualize the deployments, possibly datasources as members of
> a server group?
> 
> When using jboss-cli.sh I can see that a server running in a domain mode has
> a deployment subsystem under the /server-group=main-server-group and I can
> deploy a war into it and check that it's there. But I can't see anything
> like that in the inventory neither for the server group resource [1] nor for
> the member "domain server" [2].
> 
> Do I have to somehow change the configuration of the WF agent subsystem in
> host.xml to report those deployments? I assumed installer should do that
> when running with --target-config=.../host.xml
> 
> btw. I used this cmd for deploying a war:
> deploy /home/jkremser/workspace/ticket-monster/demo/target/ticket-monster.war
> --all-server-groups
> 
> [1]:
> http://localhost:18080/hawkular/inventory/deprecated/feeds/master.Unnamed%20Domain/resources/Local~~/Local~%2Fserver-group%3Dmain-server-group/children
> 
> [2]:
> http://localhost:18080/hawkular/inventory/deprecated/feeds/master.Unnamed%20Domain/resources/Local~~/Local~%2Fhost%3Dmaster/Local~%2Fhost%3Dmaster%2Fserver%3Dserver-three/
> 
> jk
> 
> 
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
> 


More information about the hawkular-dev mailing list