Ad Widget

Collapse

Problem with Hostname in zabbix_agentd.conf for EC2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ericchaves
    Junior Member
    • Apr 2010
    • 7

    #1

    Problem with Hostname in zabbix_agentd.conf for EC2

    Hi Folks,

    I'm trying to figure out how to properly configure the zabbix_agentd.conf for EC2 machines. I'm leaving the Hostname and ListenIP parameter commented so the agent dinamically get the current values for the running instance.

    The problem is that the Hostname and localIP are something like:

    Hostname = domU-12-31-39-04-51-25.compute-1.internal
    LocalIP = 10.249.55.30

    however the when the agent is registering himself with Zabbix server it is passing values:

    Hostname = domU-12-31-39-04-51-25
    LocalIP = 127.0.0.1


    What should I do to configure the agent in a way that it register the full name and correct IP address?

    Thanks in advance.
Working...