Hi pro,

I have a problem with SNMPSET ,this is my command:

snmpset -v1 -c private 192.168.x.x .1.3.6.1.4.1.426.8.1.20.5.1.1 *s * <STRING>


If it's short string it work fine but with long string it automatic convert to *octet* string.Here is what i got from receiver:


-s .1.3.6.1.4.1.426.8.1.20.5.1.1*octet *76 61 70 5f 69 64 3d 35 32 34 67 68 7a 5f 31 26 76 61 70 5f 6d 61 63 5f 61 64 64 72 65 73 73 3d 30 34 3a 46 30 3a 32 31 3a 30 37 3a 44 39 3a 41 38 26 76 61 70 5f 73 73 69 64 3d 4d 69 6d 6f 53 65 72 69 65 73 26 76 61 70 5f 70 72 6f 66 69 6c 65 3d 38 30 32 2e 31 31 61 62 67 6e 26 76 61 70 5f 63 68 61 6e 6e 65 6c 3d 36 28 32 2e 34 33 37 47 48 7a 29 26 76 61 70 5f 65 6e 63 72 79 70 74 69 6f 6e 3d 6e 6f 6e 65 26 76 61 70 5f 62 69 74 5f 72 61 74 65 3d 31 34 34 2e 34 4d 62 2f 73 26 76 61 70 5f 67 61 74 65 77 61 79 3d 30 34 3a 46 30 3a 32 31 3a 30 37 3a 44 39 3a 41 38 0a 76 61 70 5f 69 64 3d 35 32 34 67 68 7a 5f 31 30 26 76 61 70 5f 6d 61 63 5f 61 64 64 72 65 73 73 3d 30 36 3a 46 30 3a 32 31 3a 30 37 3a 44 39 3a 41 38 26 76 61 70 5f 73 73 69 64 3d 4e 61 6d 72 31 5f 76 61 70 26 76 61 70 5f 70 72 6f 66 69 6c 65 3d 38 30 32 2e 31 31 61 62 67 6e 26 76 61 70 5f 63 68 61 6e 6e 65 6c 3d 36 28 32 2e 34 33 37 47 48 7a 29 26 76 61 70 5f 65 6e 63 72 79 70


So my question is : how can covert this octet string to readable string ?
or have another way to use SNMPSET with long string ?

Thank so much!

P/S:sorry about my english!
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to