You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
234 B

#!/bin/bash
# call script, and pass monitor number
# e.g.
# "$ ./telnet_zmtrigger_test.sh 12"
IPADDRESS=192.168.1.178
telnet $IPADDRESS 6802 <<EOF
$1|on+3|10|ZMTEST||
EOF
#B<id>|B<action>|B<score>|B<cause>|B<text>|B<showtext>