This is a discussion on problem with mib2c command @foreach $RANGE_START, $RANGE_END range NODE@ within the SNMP Coders forums, part of the Networking and Network Related category; Hi, I am required to write a new mib2c.conf file which uses the mib2c construct @foreach $RANGE_START, $RANGE_END range ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I am required to write a new mib2c.conf file which uses the mib2c construct @foreach $RANGE_START, $RANGE_END range NODE@ Sample code: @foreach $t table@ @foreach $c column@ @if $c.ranges == 1@ $t::$c has ranges defined... @foreach $min, $max range $c@ $min, $max @end@ @end@ @end@ @end@ When I run mib2c with the above code on NOTIFICATION-LOG-MIB which has a column nlmLogIndex with syntax Unsigned32 (1..4294967295), the output I get is the following: nlmLogTable::nlmLogIndex has ranges defined... 0, 2147483647 The above output does not match the actual range. Is it a bug? I am using net-snmp-5.3.0.1 on RHEL 4 system with x86 platform, GCC version 3.4.3 and glibc version 2.3.4-2. Please tell me how to get rid of this problem. Thanks in advance, Anand Navale. |