GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
App::Netdisco::Util::Snapshot(3) User Contributed Perl Documentation App::Netdisco::Util::Snapshot(3)

App::Netdisco::Util::Snapshot

Helper functions for SNMP::Info instances.

There are no default exports, however the ":all" tag will export all subroutines.

Tries to find a device cache in database or on disk, or build one from a net-snmp snmpwalk on disk. Returns a cache.

Take the snmpwalk of the device which is numeric (no MIB translateObj), resolve to MIB identifiers using netdisco-mibs data, then return as an SNMP::Info instance cache.

Gathers evey MIB Object in the MIBs loaded for the device and store to the database for SNMP browser.

Optionally add a list of vendors, MIBs, or SNMP:Info class for extra MIB Objects from the netdisco-mibs bundle.

The passed SNMP::Info instance has its cache update with the data.

Dumps any valid MIB leaf from the passed SNMP::Info instance's cache into the Netdisco database SNMP Browser table.

Ideally the leafs are fully qualified, but if not then a best effort will be made to find their correct MIB.

Add in any GLOBALS and FUNCS aliases from the SNMP::Info device class or else a set of defaults that allow device discovery. Returns the cache.

Read in netdisco-mibs translation report and make an OID -> leafname map this is an older version of get_oidmap which uses disk file test on my laptop shows this version is four seconds and the database takes two.

2025-07-18 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.