If you have iTunes mp3 playlist and want to have nice text file list, you can do the following:
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$more ...