Giter Club home page Giter Club logo

smiparser's Introduction

Hi there ๐Ÿ‘‹

smiparser's People

Contributors

gallenliu avatar

Watchers

 avatar

smiparser's Issues

Parser can't check parsing module if the same module already parsed earlier

What steps will reproduce the problem?
1. Download the attached mib file SNMPv2-MIB.txt
2. Copy the mib to mib directory as SNMPv2-MIB.txt and also copy as 
SNMPv2-MIB.mib
3. Try to parse all mibs in the directory 
4. We can see error about diplicate module SNMPv2-MIB

What is the expected output? What do you see instead?
Parser should check if SNMPv2-MIB already parsed earlier then skip. instead: 
error about duplicate modules.

What version of the product are you using? On what operating system?
PD: smiparser_0.6.15 OS: windows 7 enterprise

Please provide any additional information below.
Parser should check SmiModule name. Name of the mib can be as SNMPv2-MIB.txt or 
.mib or without extension or SNMPv2MIB for example but SmiModule name always 
will be as SNMPv2-MIB

Original issue reported on code.google.com by [email protected] on 7 May 2013 at 10:12

Attachments:

Wrong parsing single closed comments for example: --seconds--

What steps will reproduce the problem?
1. Download attached mib NET-SNMP-AGENT-MIB
2. Try to parse this using SmiDefaultParser
3. ERROR NET-SNMP-AGENT-MIB.txt: expecting R_BRACE, found '::='

What is the expected output? What do you see instead?
correct parsing

What version of the product are you using? On what operating system?
PD:smiparser_0.6.15, OS:Windows 7 enterprise

Please provide any additional information below.
the error is in line 75 of the atteched mib:
75    DEFVAL { 5 --seconds-- }
76    ::= { nsCache 1 }
smiparser parses "--seconds-- }" as comment and of course doesn't see "}" and 
waits the next token as "}" but finds "::=".

Original issue reported on code.google.com by [email protected] on 7 May 2013 at 10:01

Attachments:

How to identify trap elements?

Hello, I'm interested on retrieve the list of traps (and their parameters) from 
a specific MIB.

I've been doing some testing but I can find how to do that. Is that possible 
with the current code?

Original issue reported on code.google.com by [email protected] on 20 Jun 2012 at 8:10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.