SnmpKit.SnmpSim.MIB.BehaviorAnalyzer (snmpkit v0.6.3)
Automatically determine realistic behaviors from MIB object definitions. Analyze object names, descriptions, and types to infer simulation patterns.
Summary
Functions
Analyze a complete MIB and generate behavior patterns for all objects.
Analyze a MIB object and determine its simulation behavior.
Create behavior specifications from walk file data enhanced with intelligent analysis.
Types
Functions
Analyze a complete MIB and generate behavior patterns for all objects.
Examples
{:ok, behaviors} = SnmpKit.SnmpSim.MIB.BehaviorAnalyzer.analyze_mib_behaviors(compiled_mib)
Analyze a MIB object and determine its simulation behavior.
Examples
behavior = SnmpKit.SnmpSim.MIB.BehaviorAnalyzer.analyze_object_behavior(%{
name: "ifInOctets",
oid: "1.3.6.1.2.1.2.2.1.10",
type: :counter32,
description: "The total number of octets received on the interface"
})
# Returns: {:traffic_counter, %{rate_range: {1000, 125_000_000}, increment_pattern: :bursty}}
Create behavior specifications from walk file data enhanced with intelligent analysis.