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

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