Ad Widget

Collapse

zabbix_get / zabbix_sender could read configuration TLS from zabbix_agentd.conf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbix_es
    Senior Member
    • Apr 2007
    • 153

    #1

    zabbix_get / zabbix_sender could read configuration TLS from zabbix_agentd.conf

    Hello:
    I would propose that "zabbix_get" and "zabbix_send" commands read the TLS configuration from Zabbix agent configuration file, in case it exists.
    3 long TLS options are need to garanty cyphered communications with server.
    v.gr.
    "--tls-connect psk --tls-psk-identity PSK-identity --tls-psk-file PSK-file"
    When you program an script to be use in serveral servers you could avoid to particularize the call to "zabbix_send" for each server adding the TLS options in their command line.
    With my propose, you don't need the TLS options in command line because the command can read them from zabbix_agentd.conf.

    Thank you and best regards!
  • zabbix_es
    Senior Member
    • Apr 2007
    • 153

    #2
    I answer myself: -c, --config config-file Use config-file. Zabbix sender reads server details from the agentd configuration file. By default Zabbix sender does not read any configuration file. Absolute path should be specified. Only parameters Hostname, ServerActive and SourceIP are supported. First entry from the ServerActive parameter is used. My propose suggests that "zabbix_send" reads by default the Zabbix agent configuration file.

    Comment

    Working...