<div dir="ltr"><div>Hi all,</div><div><br></div><div>I have kea running with stork agent 0.19. I found adding the machine via the UI doesnt seem to work (click how to install agent on a machine button) it looks like the sh file doesnt exist in the file location which after a bit of playing around I found the pat:
<pre>webui/dist/stork/assets/pkgs<br><span style="font-family:arial,sans-serif"><br></span></pre><pre><span style="font-family:arial,sans-serif">which, I could find anywhere in the UI container. so I installed just it via apt get on my dhcp server. the agent installed fine and I configured the agent.env file as follows<br><br># address to bind ie. for listening<br> STORK_AGENT_ADDRESS=0.0.0.0<br> STORK_AGENT_PORT=8080<br><br># enable Stork functionality only, i.e. disable Prometheus exporters<br> STORK_AGENT_LISTEN_STORK_ONLY=false<br><br># enable Prometheus exporters only, i.e. disable Stork functionality<br> STORK_AGENT_LISTEN_PROMETHEUS_ONLY=false<br><br># settings for exporting stats to Prometheus<br> STORK_AGENT_PROMETHEUS_KEA_EXPORTER_ADDRESS=0.0.0.0<br> STORK_AGENT_PROMETHEUS_KEA_EXPORTER_PORT=9547<br> STORK_AGENT_PROMETHEUS_KEA_EXPORTER_INTERVAL=10<br> STORK_AGENT_PROMETHEUS_BIND9_EXPORTER_ADDRESS=0.0.0.0<br> STORK_AGENT_PROMETHEUS_BIND9_EXPORTER_PORT=9119<br> STORK_AGENT_PROMETHEUS_BIND9_EXPORTER_INTERVAL=10<br><br># this is used when agent is automatically registered in Stork server<br> STORK_AGENT_SERVER_URL=<a href="http://192.168.0.23:8080">http://192.168.0.23:8080</a><br> STORK_AGENT_ADDRESS=192.168.0.22<br><br></span></pre><pre><span style="font-family:arial,sans-serif">.22 being my DHCP server with the stork agent <br></span></pre><pre><span style="font-family:arial,sans-serif">.23 being my Stork server<br></span></pre><pre><span style="font-family:arial,sans-serif">My install was all defaults so I just went by the online guide. I restarted the agent service and the machine popped up in the UI to be authorised. <br>At first it complained there was a bad gateway but then authorised and I could see machine details like cpu load. I noticed when I open the machine I dont see any DHCP details the application section is just blank, the machine details are all there and accurate.<br></span></pre><pre><span style="font-family:arial,sans-serif">Am I missing something here? As far as I can see it should show the subnet info but i`m seeing nothing. I havnt tried rebuilding the containers as yet has anyone experienced similar if so how did you resolve it?<br><br></span></pre><pre><span style="font-family:arial,sans-serif">Thanks<br></span></pre><pre><span style="font-family:arial,sans-serif"><br><br></span></pre>
</div></div>