wodle name="agent-key-polling"

Deprecated since version 4.4.0.

Note

The agent-key-polling wodle is deprecated in favor of the agent key request feature. Although this configuration block is still usable, we highly recommend to use the agent key request dedicated block in auth.

Configuration options of the key polling wodle.

Options

Options

Allowed values

enabled

yes, no

timeout

A positive number (seconds)

exec_path

Full path to executable

socket

Full path to Unix socket

threads

A positive number

queue_size

A positive number

force_insert

yes, no

enabled

Enable the key polling wodle.

Default value

yes

Allowed values

yes, no

timeout

Maximum time for waiting a response from the executable.

Default value

60

Allowed values

A positive number in seconds

exec_path

Full path to the executable.

Default value

none

Allowed values

A string indicating the full path

socket

Full path to the Unix domain socket.

Default value

none

Allowed values

A string indicating the full path to a Unix domain socket

threads

Number of threads for polling external keys.

Default value

1

Allowed values

A positive number indicating the number of threads [1..32]

queue_size

Indicates the maximum size of the queue for polling external keys.

Default value

1024

Allowed values

A positive number indicating the queue size [1..220000]

force_insert

Defines whether the module must insert the agent, even if another agent with the same ID or IP address already exists. If enabled, the existing agent will be removed.

Default value

yes

Allowed values

yes, no

Example of configuration

<wodle name="agent-key-polling">
  <enabled>yes</enabled>
  <timeout>60</timeout>
  <exec_path>/usr/bin/python /home/script.py</exec_path>
  <threads>1</threads>
  <queue_size>1024</queue_size>
  <force_insert>yes</force_insert>
</wodle>