Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. SNMP
  3. OSS_SNMP

OSS_SNMP

NOASSERTIONPHP

A PHP SNMP library that simplifies network device interaction by abstracting away complex MIBs and OIDs.

Visit WebsiteGitHubGitHub
109 stars57 forks0 contributors

What is OSS_SNMP?

OSS_SNMP is a PHP library that provides a simplified, developer-friendly interface for working with SNMP (Simple Network Management Protocol) on network devices. It abstracts away the complexity of MIBs and OIDs, allowing network engineers and developers to retrieve and manage network data through intuitive PHP methods instead of dealing with low-level SNMP details.

Target Audience

Network engineers, DevOps professionals, and PHP developers who need to automate network monitoring, configuration, or topology discovery tasks without deep SNMP expertise.

Value Proposition

Developers choose OSS_SNMP because it dramatically reduces the learning curve and boilerplate code required for SNMP interactions, with pre-built support for common vendor MIBs and an extensible architecture that encourages community contributions.

Overview

A PHP SNMP library for people who hate SNMP, MIBs and OIDs!

Use Cases

Best For

  • Automating VLAN configuration and monitoring on Cisco switches
  • Discovering Layer 2 network topology via CDP or similar protocols
  • Building custom network monitoring tools in PHP
  • Retrieving system information (contact, location, uptime) from network devices
  • Creating per-VLAN RSTP (Rapid Spanning Tree Protocol) port state visualizations
  • Developing internal NOC (Network Operations Center) tools for network automation

Not Ideal For

  • Projects requiring SNMP write operations for network configuration
  • Teams working with network vendors not covered by pre-built MIBs (e.g., Juniper or Huawei)
  • High-performance SNMP polling systems where abstraction overhead is a concern

Pros & Cons

Pros

Intuitive Method Abstraction

Provides simple PHP methods like `vlanNames()` and `contact()` that abstract away complex OIDs, as shown in the example usage for retrieving VLAN names without manual translation.

Vendor-Specific MIB Support

Includes pre-built MIBs for Cisco and Foundry, enabling common tasks such as VLAN management and topology discovery via protocols like CDP, reducing initial setup time.

Easy Extensibility

MIBs are defined in plain PHP files in the `MIBS/` directory, with a complete example in `Iface.php`, making it straightforward to add new functionality and contribute back.

Built-in Topology Tools

Offers Layer 2 topology discovery capabilities, used in companion projects like NOCtools for network mapping, without needing separate tools for CDP-based analysis.

Cons

Read-Only Limitation

The library is currently read-only, as admitted in the README, so it cannot set SNMP values for configuration tasks, limiting its use in automation scenarios.

Sparse MIB Coverage

Only a handful of MIBs are pre-defined, primarily for Cisco and Foundry, which may require custom development for unsupported devices or advanced SNMP features.

PHP Version Constraint

Requires PHP 5.4 or higher, which might be restrictive for legacy systems or newer PHP environments, and dependencies like php5-snmp add setup complexity.

Frequently Asked Questions

Quick Stats

Stars109
Forks57
Contributors0
Open Issues0
Last commit6 months ago
CreatedSince 2012

Tags

#cisco#snmp#network-monitoring#network-automation#php

Built With

P
PHP

Links & Resources

Website

Included in

SNMP182
Auto-fetched 8 hours ago

Related Projects

SNMPSNMP

A Pure PHP SNMP Library.

Stars67
Forks17
Last commit3 months ago
php.net/SNMPphp.net/SNMP

This is an SNMP extension for PHP, which is a wrapper around the net-snmp library

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub