2 Replies Latest reply on Apr 30, 2014 6:27 PM by raylite3

    Agent hostname not added to agent-configuration.xml?

    raylite3 Apprentice

      Hello,

       

      I am setting up a local (dev/qa) installation of RHQ and the agent on my laptop. I set my agent hostname to 127.0.0.1. But when I look into my agent-configuration.xml, I don't see any reference to this.

       

          rhq-agent.bat --cleanconfig
         
          Agent Name [localhost.localdomain] : 127.0.0.1
          Agent Hostname or IP Address [!*] : 127.0.0.1
          Agent Port [16163] : 16163
          RHQ Server Hostname or IP Address [127.0.0.1] :
          RHQ Server Port [7080] : 7080


      But if I don't specify a agent hostname of 127.0.0.1, when I move between networks, it binds to different IP addresses. Is there a different place the agent uses to remember this agent hostname configuration?


      Thanks!