Lazy loaded image
Lazy loaded imageMagicMIB(English)
字数 979阅读时长 3 分钟
2025-12-25
2025-12-29
type
status
date
slug
summary
tags
category
icon
password

MagicMIB (English)


Website:
Source Code:
MagicMIB
ZZHow1024Updated Dec 25, 2025
Releases:

What is it?

MagicMIB is a network device management tool based on the SNMP protocol. It provides both graphical and web interfaces, supporting MIB browsing and SNMP operations such as Get/Set/GetNext/GetBulk/Walk/GetSubtree, helping network administrators easily manage and monitor network devices.

Technical Route

TechnicalRoute
TechnicalRoute
  • Backend Framework: Spring Boot 3.5.8
  • Frontend Framework: Vue 3 + Vite
  • UI Component Library: Arco Design Vue
  • SNMP Protocol: SNMP4J 3.9.6
  • MIB Parsing: Mibble 2.10.1
  • GUI: JavaFX 21
  • Programming Languages: Java 21, JavaScript/TypeScript
  • Build Tools: Maven (backend), pnpm (frontend)

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Features

Core Features

  • MIB Browser: Visual MIB tree structure, supports MIB file loading and management
  • SNMP Operations:
    • Get: Retrieve value of specified OID
    • GetNext: Retrieve next OID value
    • GetBulk: Batch retrieve multiple OID values
    • Walk: Iterate through all data following the specified OID
    • GetSubtree: Retrieve all data of specified OID subtree
    • Set: Modify device configuration parameters
  • Multi-protocol Support: SNMP v1/v2c (v3 in development)
  • Authentication: Support for read/write community name configuration

Interface Features

  • Dual Interface Mode:
    • Desktop Application: JavaFX-based graphical startup interface
    • Web Application: Vue 3-based responsive web interface
  • Real-time Result Display: Tabular display of query results
  • Object Details: Display detailed MIB node information (name, OID, syntax, access, status, description)
  • Convenient Operations: One-click operation buttons, simplified workflow

System Requirements

Backend Runtime Environment

  • Java: JDK 21 or higher
  • Maven: 3.6 or higher
  • Operating System: Windows 10+, macOS 11+, Linux

Frontend Runtime Environment

  • Node.js: 20.19.0 or 22.12.0+
  • pnpm: Recommended as package manager

Browser Requirements

  • Modern browsers (Chrome, Firefox, Edge, Safari) latest versions
  • Support for modern JavaScript features

Quick Start

Method 1: Using Compiled Program

  1. Visit Releases page to download the latest version
  1. Select the appropriate installation package for your operating system
  1. Run the program:
      • Windows: Double-click .exe/.msi installer, extract .zip archive and run, or run .jar file
      • macOS: Install .dmg/.pkg or run .jar file
      • Linux: Install .deb/.rpm package or run .jar file

Method 2: Build from Source

Environment Preparation

  1. Install JDK 21 or higher
  1. Install Maven 3.6+
  1. Install Node.js 20.19.0+ and pnpm

Clone Project

Start Backend Service

Start Frontend Service (Development Mode)

Access Application

  • Desktop Application: Run the main class MagicMibApplication of the backend module
  • Web Application: Access http://localhost:5173 in browser

Instructions for Use

Desktop Application Workflow

  1. Launch Application: Main window will display after running the program
  1. Configure Service:
      • Set port number (default 80)
      • Choose whether to allow LAN access
  1. Start Service: Click "Start Service" button
  1. Access Web Interface: Open the displayed URL in browser
  1. Configure SNMP Parameters:
      • Set target device IP address
      • Configure port (default 161)
      • Set read/write community names (default public)
      • Select SNMP version (v1/v2c)
  1. Execute Operation:
      • Browse and select nodes in MIB tree
      • Or enter OID directly
      • Select operation type (Get/GetNext/GetBulk/Walk/GetSubtree/Set)
      • Click "Go" button to execute
  1. View Results: Results will be displayed in the result table on the right

Web Application Workflow

  1. Start Backend Service (Ensure Spring Boot service is running)
  1. Start Frontend Development Server or access deployed Web application
  1. Configure Authentication: Click "Advanced..." button to set SNMP parameters
  1. Browse MIB Tree: Left MIB tree displays available MIB modules and objects
  1. Select Operation:
      • Click tree nodes to automatically fill OID
      • Select operation type
      • Click "Go" to execute
  1. Manage MIB Tree: Click "Manage MIB Tree" button to load/unload MIB files
  1. View Results: Right table displays query results, supports clearing and viewing multiple records

Supported SNMP Operations Explained

Get

Retrieve single value of specified OID. Suitable for querying specific device information.

GetNext

Retrieve next object value of specified OID. Used for traversing MIB tree.

GetBulk

Batch retrieve multiple OID values. Efficient for retrieving large amounts of data.

Walk

Iterate through all data following the specified OID.

GetSubtree

Retrieve all data of specified OID subtree.

Set

Modify device configuration parameters. Requires community name with write permission.

Project Structure


Development Guide

Backend Development

Frontend Development


FAQ

Q: Cannot connect to SNMP device

A: Please check:
  • Is the target device IP address correct?
  • Is the port correct (default 161)?
  • Is the community name correct?
  • Does the target device allow SNMP access?
  • Is the network connection normal?

Q: MIB tree is empty or fails to load

A: Please check:
  • Are MIB files loaded correctly?
  • Is the MIB file format correct?
  • Have you selected the correct MIB module?

Q: Cannot access Web interface

A: Please check:
  • Is the backend service started?
  • Is the port occupied?
  • Is the firewall blocking access?
  • Does the browser support modern JavaScript features?

Contribution Guidelines

Welcome to submit Issues and Pull Requests to improve project features!

Contribution Method

  1. Fork the project
  1. Create a feature branch (git checkout -b feature/AmazingFeature)
  1. Commit changes (git commit -m 'Add some AmazingFeature')
  1. Push to branch (git push origin feature/AmazingFeature)
  1. Open Pull Request

Version History

v1.0.0 (Current Version)

  • Initial version release
  • Implemented basic MIB browser functionality
  • Implemented basic SNMP terminal functionality

Contact

  • Author: ZZHow(ZZHow1024)

Acknowledgements

  • Vue 3 - Frontend framework
  • SNMP4J - SNMP protocol library
上一篇
MagicMIB(中文说明)
下一篇
神奇键盘_MagicKeyboard(中文说明)

评论
Loading...