Ad Widget

Collapse

HOST.CONN* and HOST.IP* showing always the same value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvtue
    Member
    • Sep 2012
    • 71

    #1

    HOST.CONN* and HOST.IP* showing always the same value

    Hi zabbix users,

    I configured the following script via Administration -> Script -> New Script:

    echo HOST.CONN {HOST.CONN}
    echo HOST.CONN1 {HOST.CONN1}
    echo HOST.CONN2 {HOST.CONN2}
    echo HOST.CONN3 {HOST.CONN3}
    echo
    echo IP {HOST.IP}
    echo IP1 {HOST.IP1}
    echo IP2 {HOST.IP2}
    echo IP3 {HOST.IP3}

    And here sit the output:
    HOST.CONN 10.22.22.83
    HOST.CONN1 10.22.22.83
    HOST.CONN2 10.22.22.83
    HOST.CONN3 10.22.22.83

    IP 10.22.22.83
    IP1 10.22.22.83
    IP2 10.22.22.83
    IP3 10.22.22.83

    This is not what I would expect. First of all I don't know where these values are coming from. Of course the ip address is from that host. But I thought {HOST.IP2} would be the IP of second agent interface and not the first one too. And {HOST.IP3} is'nt set anywhere.

    Where am I going wrong?

    TIA
    tvtue
  • tvtue
    Member
    • Sep 2012
    • 71

    #2
    bump. anyone?

    Comment

    • Turbid
      Junior Member
      • Nov 2011
      • 9

      #3
      I confirm this problem. Also on the map is displayed:

      {HOST.CONN} as 192.168.0.1
      {HOST.CONN1} as HOST.CONN1
      {HOST.CONN2} as HOST.CONN2 etc

      Zabbix 2.2.3 from Debian repository.

      Comment

      • Koral
        Member
        • Oct 2012
        • 30

        #4
        Also have it.
        zbx 2.2.3 from repos for centos

        Comment

        Working...