[comment]: # translation:outdated

[comment]: # ({9e60926e-9e60926e})
# 10 controlli Telnet

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

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

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

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

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

Actual command(s) to be executed must be placed in the **Executed
script** field in the item configuration.\
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 multi
lined.

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|Comments|
|---|-----------|--------|
|**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]: # ({/new-3db6c676})
