Re: Check to prevent snmp request/response oid length more than 128 subids

2008-05-22 Thread saifulla Mohd Abdul
Hi Dave, Can you please point me the RFC section related to this? Is this related to RFC 1905 section 4.xx (PDU parsing)? Or   RFC 3416 § 4.2.x Please suggest. Thanks, Saif - Original Message From: Dave Shield <[EMAIL PROTECTED]> To: saifulla Mohd Abdul <[EMAIL PROTECTED]> Cc: net-snmp-c

Re: Check to prevent snmp request/response oid length more than 128 subids

2008-05-22 Thread Dave Shield
2008/5/4 Dave Shield <[EMAIL PROTECTED]>: > 2008/5/3 saifulla Mohd Abdul <[EMAIL PROTECTED]>: >> Hi, >> The while loop which extracts subids ( while (length > 0 && >> (*objidlength)-- > 0) { ... >> in asn_parse_objid()) makes *objidlength = -1 for OIDs that contain more than >> 128 subids. > It

create MIB file

2008-05-22 Thread Pali
Hi, I need to create my own MIB definition file. Something like "CISCO-RHINO-MIB.my" from tutorial. http://net-snmp.sourceforge.net/wiki/index.php/TUT:Using_and_loading_MIBS Like Dave suggested OID should start here: *.1.3.6.1.4.1.8072..* I can't find any web page, where is written how to

Re: Net-SNMP v5.4.1 extend question

2008-05-22 Thread Lean Cornelius
Dave Shield wrote: > [ First - *please* don't mail me privately, without copying > any responses to the mailing list. I don't have the time > or inclination to offer private, unpaid, SNMP consultancy. > Keep discussions to the list, where others can both learn > and offer a

Re: Net-SNMP v5.4.1 extend question

2008-05-22 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2008/5

Re: Net-snmp-coders Digest, Vol 24, Issue 31

2008-05-22 Thread Amit Kumar
Saifulla ,                 I think the problem is in your snmpd.conf file . your configuration file will be    rocommunity public rocommunity public rwcommunity private the same line is comming twice . in that case snmpd read the last line (in bold characters) but tour changes will be in first

Re: mib2c issue with more than 32 column for row creation

2008-05-22 Thread Dominique bastien
Solved by changing #define in the _oids.h file from 0x1 to 0x1LL, change de type of column_set_flags in the _rowreq_ctx_s structure and save_flags ( from int to unsigned long long). --- Dominique bastien <[EMAIL PROTECTED]> wrote: > > Hi, > > my table contain more than 32 column and in the > g

Re: Net-SNMP v5.4.1 extend question

2008-05-22 Thread Dave Shield
2008/5/22 Lean Cornelius <[EMAIL PROTECTED]>: > After upgrading to Net-SNMP v5.4.1 yesterday everything stopped working. > I now understand that I should not use "exec" anymore, but "extend" instead. > This is working now, but why is Net-SNMP adding so many values to my OID? The MIB structure used

Net-SNMP v5.4.1 extend question

2008-05-22 Thread Lean Cornelius
Hi all, I have been pounding my head against a wall the past 24 hours and need some help. I use SNMP to call scripts on my linux server and then receive the output from the script. After upgrading to Net-SNMP v5.4.1 yesterday everything stopped working. I now understand that I should not use "

why no such name

2008-05-22 Thread Tewen Hsieh
Hi, I used mib2c to generate template codes of a table. I didn't add any code, and I just added printfs in each function of all generated c files. But when I used mib browser to get some information of the table, snmpd just responsed with no such name. And I even didn't see any function called