Wouldn't `sed(1)` do the trick? That is, a command line such as the following?
command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 8080 | sed 's/^TCP
//'
--
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/issues/1240#issuecomment-35419631
