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::Transport::SNMP(3) User Contributed Perl Documentation App::Netdisco::Transport::SNMP(3)

App::Netdisco::Transport::SNMP

Singleton for SNMP connections. Returns cached SNMP::Info instance for a given device IP, or else undef. All methods are class methods, for example:

 my $snmp = App::Netdisco::Transport::SNMP->reader_for( ... );

Given an IP address, returns an SNMP::Info instance configured for and connected to that device. The IP can be any on the device, and the management interface will be connected to.

If the device is known to Netdisco and there is a cached SNMP community string, that community will be tried first, and then other community strings from the application configuration will be tried.

If $useclass is provided, it will be used as the SNMP::Info device class instead of the class in the Netdisco database.

Returns "undef" if the connection fails.

Similar to "reader_for" but will use the literal IP address passed, and does not support specifying the device class. The purpose is to test the SNMP connectivity to the device before a renumber.

Attempts to have no side effect, however there will be a stored SNMP authentication hint (tag) in the database if the connection is successful.

Returns "undef" if the connection fails.

Same as "reader_for" but uses the read-write community strings from the application configuration file.

Returns "undef" if the connection fails.

2022-06-08 perl v5.32.1

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.