<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 10 Nov 2016, at 9:44, Thomas Heute wrote:</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">So do we need to fix the agent or the agent configuration to not spit that
</div><div dir="auto">error message ? Or do we need to add the http socket for some reason ?
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">I think this line should be removed from the agent config</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">    &lt;resource-config-dmr name="Bound Address"
                         path="/socket-binding-group=standard-sockets/socket-binding=http"
                         attribute="bound-address" /&gt;
</code></pre>

<p dir="auto">so the the agent does not try to look for it.</p>

<p dir="auto">BUT it may prevent us reporting the primary IP (can't recall if that is needed though) - Mazz?</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">What do we lose from ManageIQ pov ?
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">For EAPs we show the bind-address in the details view - that may get lost this way</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">Thomas
</div><div dir="auto">
</div><div dir="auto">On Wed, Nov 9, 2016 at 7:05 PM, Josejulio Martinez Magana &lt;
</div><div dir="auto">jmartine@redhat.com&gt; wrote:
</div><div dir="auto">
</div><blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999"><div dir="auto">You are right, an http socket is not defined on the standalone.xml.
</div><div dir="auto">
</div><div dir="auto">Thanks.
</div><div dir="auto">
</div><div dir="auto">On Wed, Nov 9, 2016 at 11:59 AM, John Mazzitelli &lt;mazz@redhat.com&gt; wrote:
</div><div dir="auto">
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">They must not define an http socket binding in the JDG app server's
</div><div dir="auto">config (look in its standalone.xml and see). If it is true that they simply
</div><div dir="auto">don't define that, its not a problem, the agent just doesn't collect data
</div><div dir="auto">for it (I believe this is resource configuration property - it will just
</div><div dir="auto">not get collected). Error message is just saying it can't find that
</div><div dir="auto">resource property to collect.
</div><div dir="auto">
</div><div dir="auto">so look in the managed JDG server's standalone.xml's
</div><div dir="auto">&lt;socket-binding-group&gt; section and I suspect you won't find "http" in the
</div><div dir="auto">"standard-sockets".
</div><div dir="auto">
</div><div dir="auto">----- Original Message -----
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">Hello,
</div><div dir="auto">
</div><div dir="auto">Thomas asked me to take a look at how JDG 7 (based on EAP 7.0) worked
</div></blockquote><div dir="auto">along
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">with Hawkular and ManageIQ.
</div><div dir="auto">
</div><div dir="auto">I installed the Hawkular wildfly agent (on the JDG) and started it with:
</div><div dir="auto">
</div><div dir="auto">./bin/standalone.sh -Djboss.socket.binding.port-offset=1000
</div><div dir="auto">
</div><div dir="auto">and right after starting, when performing a discovery (i think) it
</div></blockquote><div dir="auto">throws the
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">following exception:
</div><div dir="auto">
</div><div dir="auto">ERROR [org.jboss.as.controller.management-operation] (Hawkular WildFly
</div></blockquote><div dir="auto">Agent
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">Full Discovery Scan-1) WFLYCTL0013: Operation ("read-attribute") failed
</div></blockquote><div dir="auto">-
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">address: ([
</div><div dir="auto">("socket-binding-group" =&gt; "standard-sockets"),
</div><div dir="auto">("socket-binding" =&gt; "http")
</div><div dir="auto">
</div><div dir="auto">Aside from that exception It seems to be working well with
</div></blockquote><div dir="auto">hawkular-services
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">and ManageIQ. I could do deployments, undeploy, create datasources,
</div></blockquote><div dir="auto">stop the
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">server, and so on.
</div><div dir="auto">I'm not sure if the discovery process ends unexpectedly with that
</div></blockquote><div dir="auto">exception
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">or if it continues.
</div><div dir="auto">Anyone know if this could affect discovery of other resources ?
</div><div dir="auto">
</div><div dir="auto">I attached a minimal server.log of JDG as i didn't see anything
</div></blockquote><div dir="auto">relevant on
</div><blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><div dir="auto">Hawkular-services console.
</div><div dir="auto">
</div><div dir="auto">Thanks,
</div><div dir="auto">Josejulio.
</div><div dir="auto">
</div><div dir="auto">_______________________________________________
</div><div dir="auto">hawkular-dev mailing list
</div><div dir="auto">hawkular-dev@lists.jboss.org
</div><div dir="auto"><a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" style="color:#BBB">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a>
</div><div dir="auto">
</div></blockquote><div dir="auto">_______________________________________________
</div><div dir="auto">hawkular-dev mailing list
</div><div dir="auto">hawkular-dev@lists.jboss.org
</div><div dir="auto"><a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" style="color:#BBB">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a>
</div><div dir="auto">
</div></blockquote><div dir="auto">
</div><div dir="auto">
</div><div dir="auto">_______________________________________________
</div><div dir="auto">hawkular-dev mailing list
</div><div dir="auto">hawkular-dev@lists.jboss.org
</div><div dir="auto"><a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" style="color:#999">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a>
</div><div dir="auto">
</div><div dir="auto">
</div></blockquote><div dir="auto">_______________________________________________
</div><div dir="auto">hawkular-dev mailing list
</div><div dir="auto">hawkular-dev@lists.jboss.org
</div><div dir="auto"><a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" style="color:#777">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a>
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">-- <br>
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,<br>
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn<br>
Handelsregister: Amtsgericht München HRB 153243<br>
Geschäftsführer: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander</p>
</div>
</div>
</body>
</html>