Date

Just discovered one useful parameter for Nagios plugin check_tcp - '-E'. For example, simple check_memcached command using check_tcp with -E:

$USER1$/check_tcp -H $HOSTADDRESS$ -p 11211 -E -s 'stats\r\n' -e 'STAT pid' $ARG1$