|
NAMESNMP::Info::Layer3::NetSNMP - SNMP Interface to L3 Net-SNMP DevicesAUTHORSBradley Baetz and Bill FennerSYNOPSIS# Let SNMP::Info determine the correct subclass for you. my $netsnmp = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myrouter', Community => 'public', Version => 2 ) or die "Can't connect to DestHost.\n"; my $class = $netsnmp->class(); print "SNMP::Info determined this device to fall under subclass : $class\n"; DESCRIPTIONSubclass for Generic Net-SNMP devicesInherited Classes
Required MIBs
GLOBALSThese are methods that return scalar value from SNMP
Globals imported from SNMP::Info::Layer3See documentation in SNMP::Info::Layer3 for details.TABLE ENTRIESThese are methods that return tables of information in the form of a reference to a hash.Overrides
Table Methods imported from SNMP::Info::Layer3See documentation in SNMP::Info::Layer3 for details.NOTESIn order to cause SNMP::Info to classify your device into this class, it may be necessary to put a configuration line into your snmpd.conf similar tosysobjectid .1.3.6.1.4.1.8072.3.2.N where N is the object ID for your OS from the "NET-SNMP-TC" MIB (or 255 if not listed). Some Net-SNMP installations default to an incorrect return value for "system.sysObjectId". In order to recognize a Net-SNMP device as Layer3, it may be necessary to put a configuration line similar to sysservices 76 in your snmpd.conf.
Visit the GSP FreeBSD Man Page Interface. |