LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read MIB file???

Can anybody guide me that how MIB file access or fetch?

need Toolkit or example VI for reference so i can learn SNMP protocol

Guide me.

I am using LabVIEW 8.6

 

waiting for reply.

 

Prashant Soni
LabVIEW Engineer
0 Kudos
Message 1 of 5
(8,542 Views)

Hi Prashant,

 

you could always start with wikipedia...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(8,532 Views)

May have to do with this post.

 

Poster has a habit of not following up on responses given to his questions. 

0 Kudos
Message 3 of 5
(8,507 Views)

SNMP MIB files are written using ASN.1 notation. The format is fairly easy to understand once you learn the basics of ASN.1. For use in code such as LabVIEW you need a MIB compiler which will turn the ASN.1 into usable programming constructs. I never took on that task when I wrote the SNMP VIs. I used a simple MIB compiler that was included in a commercial tool I had which compiled the MIB and generated a text file which could easily be parsed. I do not have that compiler any longer.

 

As for learning SNMP I would suggest picking up a book on it. The protocol is fairly easy to understand. A book that I found to be a good reference (though it might be a little dated) is Total SNMP Exploring the Simple Network Management Protocol by Sean Harnedy.

 

SNMPv1 contains 5 packet typed. They are the Get-Request-PDU, Set-Request-PDU, Get-Next-Request-PDU, the Get-Response-PDU and the Trap-PDU. SNMPv2 added the Get-Bulk-Request-PDU as well as moving SNMP into more of an object oriented paradigm.SNMPv3 added security features to SNMP.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 5
(8,491 Views)

Hi Prashant,

 

From your last three different thread, it seems you are looking for a free SNMP tool kit. You can try NET SNMP with CLI option.

 

Thanks,

Sanad MM

0 Kudos
Message 5 of 5
(8,475 Views)