[comment]: # ({b96862fa-9e60926e})
# 12 Telnet agent

[comment]: # ({/b96862fa-9e60926e})

[comment]: # ({2cd46777-2cd46777})
#### Overview

Telnet checks are performed as agent-less monitoring. Zabbix agent is
not needed for Telnet checks.

[comment]: # ({/2cd46777-2cd46777})

[comment]: # ({3c6b8f1a-3db6c676})
#### Configurable fields

Actual command(s) to be executed must be placed in the **Executed script** field in the item configuration.<br>
Multiple commands can be executed one after another by placing them on a
new line. In this case returned value also will be formatted as multilined.

Supported characters that the shell prompt can end with:

-   $
-   \#
-   \>
-   %

::: noteclassic
A telnet prompt line which ended with one of these
characters will be removed from the returned value, but only for the
first command in the commands list, i.e. only at a start of the telnet
session.
:::

|Key|Description|
|--|------|
|**telnet.run\[<unique short description>,<ip>,<port>,<encoding>\]**|Run a command on a remote device using telnet connection| |

::: noteimportant
If a telnet check returns a value with non-ASCII
characters and in non-UTF8 encoding then the *<encoding>*
parameter of the key should be properly specified. See [encoding of
returned values](/manual/appendix/items/encoding_of_values) page for
more details.
:::

[comment]: # ({/3c6b8f1a-3db6c676})
