Ad Widget

Collapse

Questions about zabbix agentd psk and automatic registration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nathan
    Member
    • Sep 2020
    • 32

    #1

    Questions about zabbix agentd psk and automatic registration


    I configured active mode on the agentd side
    Turn on automatic registration on the server without any problems
    Then try to enable the psk encryption configuration on the agentd side, and restart the agentd to register (the host has been deleted on the server side before the operation), but the automatic registration fails
    The log under agentd is as follows:


    2369:20201012:164100.615 Starting Zabbix Agent [xxxx-dev-192.168.31.88]. Zabbix 5.0.2 (revision 352ca05870).
    2369:20201012:164100.615 **** Enabled features ****
    2369:20201012:164100.615 IPv6 support: YES
    2369:20201012:164100.615 TLS support: YES
    2369:20201012:164100.615 **************************
    2369:20201012:164100.615 using configuration file: /etc/zabbix/zabbix_agentd.conf
    2369:20201012:164100.615 agent #0 started [main process]
    2370:20201012:164100.616 agent #1 started [collector]
    2371:20201012:164100.616 agent #2 started [active checks #1]
    2371:20201012:164100.706 active check configuration update from [IP:Port] started to fail (TCP successful, cannot establish TLS to [[IP]:28591Port]: connection closed by peer)


    How can I automatically add the expected specified psk configuration when the host is automatically registered, so as to complete the automatic addition of the host?
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Did you follow this one? https://www.zabbix.com/documentation...toregistration

    Comment

    • Nathan
      Member
      • Sep 2020
      • 32

      #3
      Thank you for your help. The automatic registration has been fully configured. Now I want to make agentd encrypted transmission. Psk has been configured on the agentd side. Now I need to automatically configure the psk parameters of the host when the host is automatically registered. Where do I need to configure it? Thanks endless

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        If I understood you correctly you need to set it Administration -> General see pkt. 2 Autoregistration: https://www.zabbix.com/documentation...ration/general

        Comment

        Working...