Re: regarding netsnmp get

2011-03-17 Thread Dave Shield
On 17 March 2011 10:29, Ravi Kumar Kodam wrote: >        When iam issuing get in netsnmp version 1 with wrong oid (like eg: > .1.3.6.1.2.1200.1.4.0) it is returning the following error string: > "(noSuchName) There is no such variable name in this MIB." this is agent > filling response->errstring

regarding netsnmp get

2011-03-17 Thread Ravi Kumar Kodam
Dear Sir, When iam issuing get in netsnmp version 1 with wrong oid (like eg: .1.3.6.1.2.1200.1.4.0) it is returning the following error string: "(noSuchName) There is no such variable name in this MIB." this is agent filling response->errstring as 2. When iam issuing get in netsnmp vers

Re: regarding netsnmp get issue

2011-03-02 Thread Magnus Fromreide
On Thu, 2011-03-03 at 10:14 +0530, Ravi Kumar Kodam wrote: > Dear Sir/Madam > > when iam issuing the snmpget command through code it is printing the result. > But i want to return the value to some function. > See the following code it is just printing but i want to hold the result > value. the pr

regarding netsnmp get issue

2011-03-02 Thread Ravi Kumar Kodam
Dear Sir/Madam when iam issuing the snmpget command through code it is printing the result. But i want to return the value to some function. See the following code it is just printing but i want to hold the result value. the print_variable function is just printing the output to the stdout. but i