CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pysnmp

A comprehensive Python SNMP library supporting v1/v2c/v3 with authentication and privacy protocols

84

0.94x
Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "context": "This criteria evaluates how well an engineer uses pysnmp's MIB management capabilities to load MIB modules, resolve symbolic names to OIDs, and resolve OIDs back to symbolic names. The focus is entirely on proper usage of pysnmp's MIB builder, MIB view, and symbol resolution APIs.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "MIB Builder Usage",
      "description": "Uses pysnmp's MibBuilder class to create and configure a MIB builder instance for loading MIB modules",
      "max_score": 20
    },
    {
      "name": "MIB Source Configuration",
      "description": "Properly configures MIB sources using addMibSources() method to specify directories where MIB files are located",
      "max_score": 15
    },
    {
      "name": "MIB Module Loading",
      "description": "Uses the loadModules() method to load specific MIB modules by name, handling both single and multiple module loading",
      "max_score": 20
    },
    {
      "name": "MIB View Creation",
      "description": "Creates and uses a MibViewController for querying the loaded MIB data and performing symbol resolution operations",
      "max_score": 15
    },
    {
      "name": "Name to OID Resolution",
      "description": "Uses ObjectIdentity with loadMibs parameter to resolve symbolic names (with or without module prefix) to numeric OIDs, properly accessing the resolved OID value",
      "max_score": 15
    },
    {
      "name": "OID to Name Resolution",
      "description": "Uses ObjectIdentity with a numeric OID and resolveWithMib() method to resolve OIDs back to symbolic names, extracting both module name and symbol name from the result",
      "max_score": 10
    },
    {
      "name": "Error Handling",
      "description": "Properly handles pysnmp exceptions such as SmiError or MibNotFoundError when loading non-existent modules or resolving invalid names/OIDs",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pysnmp

tile.json