>>>>> On Mon, 9 Jan 2006 14:44:12 +0530, Ravi Kumar <[EMAIL PROTECTED]> said:

Ravi> If the table is having Integer and String as table index then
Ravi> How do I make use of the snmpset to update the table. This sould
Ravi> be done using the OID as input.( I.e OID should be given in the
Ravi> doted notation only).  Please let me know the solution fot the
Ravi> same.

snmpset can auto-encode integers and strings for you if you want.
Simply put them in the OID as follows:

OID.8...    Adds the number 8 in
OID."hi"   Adds the string "hi" in.  Note that your shell will
           probably require that you put a \ in front of each quote.
OID.'hi'   Adds the string "hi" in but doesn't prepend the length
           (needed for IMPLIED indexes or fixed-length strings)


Ravi> regards
Ravi> Ravi Kumar

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to