Generate All objects

Armin Javanshir <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I am new to mib2c. I have been trying to generate/translate All the
objects in a mib-file.
I have a config file like this:

@open -@
@foreach $s scalar@
  $s.objectID	$s	$s.type
@end@

@foreach $t table@
  $t.objectID	$t
  @foreach $i index@
    $i.objectID		$i	$i.type
  @end@
  @foreach $i nonindex@
    $i.objectID	$i		$i.type
	@if $i.enums@
		Enum!
		@foreach $l, $v enum@
			$l	$v
		@end@
	@end@
  @end@
@end@

I get most of the objects printed but some objects like: OBJECT-GROUP,
MODULE-COMPLIANCE, NOTIFICATION-TYPE, "OBJECT IDENTIFIER"
dont get printed. How do I read and print these objects?

Thanks in advance,
Best Regards,
/Armin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.