Re: Question regarding SNMP GET response PDU

2007-12-04 Thread Dave Shield
On 04/12/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have one basic question regarding SNMPv2 GET response PDU. Suppose manager has queried for 3 attributes say v1, v2, v3, v4 Now suppose the response for the attributes are as follows. V1success V2 error (No

RE: Question regarding SNMP GET response PDU

2007-12-04 Thread somenath.pal
Hi Dave, Many thanks for your response. I have one doubt here . suppose noSuchInstance pseudo-values is 10 then it will be set as value for v2 and v3 . Then how manager will differentiate whether it is exception or value ? Regards, Somenath -Original Message-

Re: Question regarding SNMP GET response PDU

2007-12-04 Thread Dave Shield
On 04/12/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: suppose noSuchInstance pseudo-values is 10 No. It doesn't work that way, The exception pseudo-value *is* noSuchInstance This is essentially a type in its own right - distinct from integer, octet string, OID, etc Then how manager

RE: Question regarding SNMP GET response PDU

2007-12-04 Thread somenath.pal
Hi Dave, Many thanks for the response. I would like to verify my understanding. So noSuchInstance is a ASN1 type .So while encoding the PDU it will be different than other type such as INTEGER, GAUGE32 etc. So manger while decoding will come to knows that it is noSuchInstance. Please let me

Re: Question regarding SNMP GET response PDU

2007-12-04 Thread Dave Shield
On 04/12/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I would like to verify my understanding. So noSuchInstance is a ASN1 type. Sort of. See RFC 1905, section 3 for the definition of the VarBind structure. I would like to know more about how the coding is being done. Could you please

RE: Question regarding SNMP GET response PDU

2007-12-04 Thread somenath.pal
Hi Dave, Many thanks for your response and suggestion. I would like to inform that I am trying to learn SNMP form William Stallings SNMP,SNMPV2,Snmpv3,and RMON 1 and 2. In this book it is mentioned that noSuchInstance will be put in the value field .But it was not clear for me that it is

GETBULK returns only few rows of a table even if max-repetions is high

2007-12-04 Thread DI BACCO ANTONIO - technolabs
If I issue a getBulk request (with max-repetitions = 30 ) with attached the oids of the columns of a given table that has many rows, the response only contains the elements of two rows and the first column of the third row. The response telegram is only 500 bytes, why the agent doesn't put all the

mibs browser

2007-12-04 Thread PoWah Wong
Is there a snmp mibs browser developed using net-snmp? I do not find any at http://net-snmp.sourceforge.net/. Looking for a X-Mas gift? Everybody needs a Flickr Pro Account. http://www.flickr.com/gift/ - SF.Net

RE: GETBULK returns only few rows of a table even if max-repetions is high

2007-12-04 Thread DI BACCO ANTONIO - technolabs
Could my problem be related to a small MTU size on my interface? -Original Message- From: DI BACCO ANTONIO - technolabs Sent: Tue 04/12/2007 18.12 To: net-snmp-users@lists.sourceforge.net Subject: GETBULK returns only few rows of a table even if max-repetions is high If I issue a

SNMP Trap

2007-12-04 Thread Bojan Andonoski
Hello Can anyone send me the source code how to send SNMP Trap from an SNMP Agent to the Manager(Client). I need only the code for sending a SNMP Trap from the Agent Bojan -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

Problem with inetAddress display

2007-12-04 Thread Raveendra Holla
Hi, I am having the problem with the display of InetAddressType: InetAddress. They are not used as Index, and the actual datatype of InetAddress was OCTATE STRING. The display of ipv4(1) or ipv6(2) addresses are not as specified in the INET-ADDRESS-MIB. I am using net-snmp-5.3.2.pre1 on freebsd.