View Source ZabbixSender.LLDPusher (ZabbixSender v1.1.2)

Zabbix LLD pusher server. Attempts to send LLD via Zabbix Sender Protocol

Usage

def zabbix_config() do

[host: "zabbix.host", port: 1234, hostname: "monitored.host"]

end

def zabbix_llds() do

[
  some_trapper_key:
    for val <- [1, 2] do
      %{
        "{#VAL}" => "#{val}",
      }
    end,
]

end

children = [

{ZabbixSender.LLDPusher,
   llds_provider: &__MODULE__.zabbix_llds/0, config_provider: &__MODULE__.zabbix_config/0}

]

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.