problem with mib2c command @foreach $RANGE_START, $RANGE_END range NODE@

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-14-2006
Anand Navale
 
Posts: n/a
Default problem with mib2c command @foreach $RANGE_START, $RANGE_END range NODE@

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.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0