Hello everyone...
Every time that I make a Get Request using the simple application that is provided in the web site of netsnmp using Visual C++ 6.0 about a string value using the print_variable(vars->name, vars->name_length, vars); function   I got something like this SNMPv2-MIB::sysName.0 = STRING: DEADNIGH-DDF9B6 and also when I try to get just the value of the object without using the print_variable( ) function I got it "DEADNIGH-DDF9B6" wich is just perfect in STRING values, now when the value is not a string for example: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (626557) 1:44:25.57 or IF-MIB::ifNumber.0 = INTEGER: 2 or HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 38 , I got the message "value #1 is NOT a string! Ack! " wich is fine 'cause the value is not a string but when I tried to get just the single value of the object without using the  print_variable(vars->name, vars->name_length, vars); function  I'm not able to, I wonder if someone can show me how to get the value of those kinds of objects in a C++ application, thank's alot guys I really need your help...


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.

Reply via email to