Ad Widget

Collapse

Default Encryption settings for newly added host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alledm
    Member
    • May 2012
    • 84

    #1

    Default Encryption settings for newly added host

    Hello,

    I am used TLS certificate based encryption on all my agents.


    my agent configuration is:

    TLSConnect=cert
    TLSAccept=cert
    TLSCAFile=/etc/certs/zabbix/ca.crt
    TLSCertFile=/etc/certs/zabbix/zabbix.crt
    TLSKeyFile=/etc/certs/zabbix/zabbix.key



    Unfortunately new hosts are automatically added with the following settings:

    Click image for larger version

Name:	encryption.png
Views:	366
Size:	11.7 KB
ID:	355633
    So the agent won't work, requiring me to change these settings manually.
    Can you tell me where I can set the default TLS settings for a newly added host?

    Regards
    Alessandro

  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    If you are using agent auto-registration, there is a feature request https://support.zabbix.com/browse/ZBXNEXT-3497 .
    Until then you would have to write a script that will be triggered on host discovery, similarly as explained here: http://www.zabbixbook.com/2017/08/01...sk-encryption/

    Comment

    Working...