View Source Grizzly.ZIPGateway.LogMonitor (grizzly v8.6.6)

Monitors the Z/IP Gateway logs to extract and process certain data.

Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the network home id as extracted from the Z/IP Gateway logs.

Returns a keyword list of the network keys extracted from the Z/IP Gateway logs.

Returns a string containing a filename and network keys formatted for use with the Zniffer application (available through Simplicity Studio on Windows).

Types

network_key_type()

@type network_key_type() ::
  :s0
  | :s2_unauthenticated
  | :s2_authenticated
  | :s2_access_control
  | :s2_authenticated_long_range
  | :s2_access_control_long_range

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

home_id(name \\ __MODULE__)

@spec home_id(GenServer.name()) :: binary() | nil

Returns the network home id as extracted from the Z/IP Gateway logs.

network_keys(name \\ __MODULE__)

@spec network_keys(GenServer.name()) :: [{network_key_type(), binary()}]

Returns a keyword list of the network keys extracted from the Z/IP Gateway logs.

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()

zniffer_network_keys(name \\ __MODULE__)

@spec zniffer_network_keys(GenServer.name()) :: binary() | nil

Returns a string containing a filename and network keys formatted for use with the Zniffer application (available through Simplicity Studio on Windows).