USING REPLACEABLE TAGS

USING REPLACEABLE TAGS

hi all,
i made a web page which is supposed to send SMS to a group of people. the URL in the script works if the variable MESSAGE is hardcoded (e.g., wget http://10.120.123.27/jsp/alarm.jsp?MESSAGE="alarm") but not when i use the replaceable tag $RCAMESSAGE. are the tags available only from /apps/AdventNet/ME/AppManager8/scripts directory?

thanks!

[ops_user@phe-adventnet ~]$ pwd
/home/ops_user

[ops_user@phe-adventnet ~]$ more r3.sh
#!/bin/bash
wget http://10.120.123.27/jsp/alarm.jsp?MESSAGE=$RCAMESSAGE
echo $RCAMESSAGE

[ops_user@phe-adventnet ~]$ ./r3.sh
--16:22:34-- http://10.120.123.27/jsp/alarm.jsp?MESSAGE=
=> `alarm.jsp?MESSAGE=.1'
Connecting to 10.120.123.27:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4 [text/html]

100%[====================================>] 4 --.--K/s

16:22:35 (39.06 KB/s) - `alarm.jsp?MESSAGE=.1' saved [4/4]


[ops_user@phe-adventnet ~]$

Installation Information
Host Name phe-adventnet
OS Type & Version Linux, 2.6.9-5.ELsmp
Working Directory /apps/AdventNet/ME/AppManager8Start Time Jul 6, 2008 2:58 AM
Build Number 8300
Service Pack 3.0
Server Port 9090
Installation Type Standalone
Load Factor 0.0

License Information
Product Applications Manager 8
Number of Monitors 319 (Managed - 318 UnManaged - 1)
Named Users 10
Number of Monitors for Licensing 318
License Type Registered
User Name Jesus G. Longno
Company Name smart.com.ph
Number of Users 10
Number of Monitors unlimited
Expires on never
SMART COMMUNICATIONS (PHILIPPINES)/RAYMOND R. RAGUINDIN















































                New to ADSelfService Plus?