Ad Widget

Collapse

Zabbix Linux Active Agent - Interface missing (Configuration issue)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JMAIV
    Junior Member
    • Oct 2016
    • 26

    #1

    Zabbix Linux Active Agent - Interface missing (Configuration issue)

    hi Zabbix Users,

    I've got an issue which is probably my own mistake, but I can't figure it out.



    Case

    Zabbix Server: 5.0.15 LTS (Externally)
    Zabbix Proxy: SQLite 5.0.12 (OnPremmis of the Linux host)
    LinuxHost: 5.0.15 - Active agent configuration


    Zabbix_agentd.conf on Linux Host
    Server=zabbix
    ServerActive=zabbix
    Hostname=LinuxHost
    HostMetadata=10.10.3.10

    Context: the DNS entry 'zabbix' will resolve to the Zabbix Proxy and communicates successfully.
    The LinuxHost successfully connects to the Zabbix Proxy, and auto-registration the agent.


    After the auto registration, the DNS name is used for agent communication, as seen below:

    Click image for larger version  Name:	ZabbixCommunicationIssue.png Views:	0 Size:	40.5 KB ID:	432259

    Now you can guess the issue, the DNS name is not registered. It stays empty.

    I would like to not use DNS as the registration but IP instead.
    Now I can manually select IP address. then restart the proxy and the hosts is online.
    But the next day, it's 'wrong again' and configured to communicate with DNS instead of IP.

    Now, how do I configure this behavior?

    I've checked my auto-registration configurations but as far as i can see, these do not configure the interface type.
    I do have this behaviour on multiple sites and hosts.

    this print screen shows the same issue, but different host and different proxy.
    So, it must be a global-configuration-issue

    Click image for larger version  Name:	ZabbixCommunicationIssue2.png Views:	0 Size:	31.4 KB ID:	432260


    any ideas? thanks alot!!
    Attached Files
  • JMAIV
    Junior Member
    • Oct 2016
    • 26

    #2
    by bad, I should have added that info to my original post.

    HostMetadata=10.10.3.10 in this case.

    Initially the host come online, and after a few minutes the device goes offline because it reverts back to "DNS" instead of "IP"

    Comment

    • JMAIV
      Junior Member
      • Oct 2016
      • 26

      #3
      sorry for my delayed response, I wished i was able to reply sooner....


      The Agent config:


      ### Option: HostMetadata
      # Optional parameter that defines host metadata.
      # Host metadata is used at host auto-registration process.
      # An agent will issue an error and not start if the value is over limit of 255 characters.
      # If not defined, value will be acquired from HostMetadataItem.
      #
      # Mandatory: no
      # Range: 0-255 characters
      # Default:
      HostMetadata=10.10.3.10

      ### Option: HostMetadataItem
      # Optional parameter that defines an item used for getting host metadata.
      # Host metadata is used at host auto-registration process.
      # During an auto-registration request an agent will log a warning message if
      # the value returned by specified item is over limit of 255 characters.
      # This option is only used when HostMetadata is not defined.
      #
      # Mandatory: no
      # Default:
      # HostMetadataItem=

      ### Option: HostInterface
      # Optional parameter that defines host interface.
      # Host interface is used at host auto-registration process.
      # An agent will issue an error and not start if the value is over limit of 255 characters.
      # If not defined, value will be acquired from HostInterfaceItem.
      #
      # Mandatory: no
      # Range: 0-255 characters
      # Default:
      # HostInterface=

      ### Option: HostInterfaceItem
      # Optional parameter that defines an item used for getting host interface.
      # Host interface is used at host auto-registration process.
      # During an auto-registration request an agent will log a warning message if
      # the value returned by specified item is over limit of 255 characters.
      # This option is only used when HostInterface is not defined.
      #
      # Mandatory: no
      # Default:
      HostInterfaceItem=10.10.3.10



      And attached are 2 printscreens of the auto-registration configuration.
      Will this give you enough information?


      Click image for larger version

Name:	image_20271.jpg
Views:	687
Size:	43.6 KB
ID:	433121

      Click image for larger version

Name:	image_20272.jpg
Views:	670
Size:	32.3 KB
ID:	433122

      thanks again!!!

      Comment

      Working...