I was trying to write a small tcl script using scotty extensions.
In trying to construct a varbind list for a Trap, I used the
following:
[list tpAlarmCatName {OCTET STRING} "rose"]
I get an error which says "illegal octet string value".
But the man page for snmp gives a few examples in which it directly
uses text. Everything works fine if I use
[list tpAlarmCatName {OCTET STRING} "72:6f:73:65"]
(basically the hex representation for "rose").
Do I have to convert my text strings to hex representation
everytime? I tried searching the archive - couldn't get anything.
TIA,
Chandru
--HP, Telecom Mgmt. Division. / Tel: +65-3616791, Fax: +65-3616985 http://www.planetall.com/main.asp?cid=2206510
"I am not an Economist. I am an honest man!" -- Paul McCracken
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.