Ad Widget

Collapse

problem with vm ip address disovered

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lvfranz
    Junior Member
    • Jun 2021
    • 10

    #1

    problem with vm ip address disovered

    Hi,
    I have a problem with ip address retrieved from vmware discovery.
    The VM has multiple network interface with different ip address and zabbix report the secondary network ip address.
    I see that changing network order on windows, change also the reported principal ip address into vmware sphere client.
    However zabbix discovery continue to identify the previous ip address
    Discovery rule use {#VM.IP} as variable to set into agent interface but I didn't know how this variable are retrieved into discovery rule​.
    How can I fix or manually set ip address for this host?

    regards,
    Francesco
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Try use in agent config:
    SourceIP no Source IP address for:
    - outgoing connections to Zabbix server or Zabbix proxy;
    - making connections while executing some items (web.page.get, net.tcp.port, etc.)

    Comment

    • lvfranz
      Junior Member
      • Jun 2021
      • 10

      #3
      it's not a problem with agent configuration. All other network interface hasn't default gateway and to reach zabbix server, agent must use the correct interface.
      The problem are on zabbix server, since discovery rules set agent interface to secondary ip address.
      However I have try to set sourceIP on zabbix agent configuration​

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        I'm sorry - I misunderstood.

        Comment

        • lvfranz
          Junior Member
          • Jun 2021
          • 10

          #5
          I was able to achieve this by changing vmware tool config and excluding other nic interface.
          I don't know exactly how vmware locate primary ip address since on vpshere web site was reported the right one but sdk report all in different order.
          Disabling other interface card on tools.conf, only the right has been reported and also sdk report this one

          Comment

          Working...