#!/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>
|
|
|