Re: SNMP get response result

2014-03-14 Thread Joel Hansell
regards, > > Akshay > > > > *From:* ext Joel Hansell [mailto:joel.hans...@gmail.com] > *Sent:* Thursday, March 13, 2014 3:48 PM > *To:* Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad) > *Cc:* net-snmp-users@lists.sourceforge.net > *Subject:* Re: SNMP get

RE: SNMP get response result

2014-03-14 Thread Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad)
re, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: SNMP get response result Hi Akshay, I'm not part of the dev team, but I can give an educated guess as to why it behaves like that. As you know, the Unix convention for return status

Re: SNMP get response result

2014-03-13 Thread Joel Hansell
Hi Akshay, I'm not part of the dev team, but I can give an educated guess as to why it behaves like that. As you know, the Unix convention for return status is that if the command exits normally, it should return 0. It should only return some other number if the command failed to execute as expec

SNMP get response result

2014-03-12 Thread Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad)
Hello, I would like to know the response of snmp get in case of failure. We are getting zero in most of the success cases. If we can get 1 in case of timeout, shall we use value of "$?" as snmp success and failure (0 and 1 respectively) on Solaris box ? please reply asap. Thanks TCSH02-fm-1# /