/usr/share/nagios-plugins/templates-basic/telnet.cfg is in nagios-plugins-basic 1.4.15-5ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # 'check_telnet' command definition
define command{
command_name check_telnet
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_telnet_4' command definition
define command{
command_name check_telnet_4
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23 -4
}
|