SNMP::Info::Layer1::Cyclades
SNMP Interface to Cyclades terminal servers
- Provided by: libsnmp-info-perl (Version: 3.31-1)
- Report a bug
SNMP Interface to Cyclades terminal servers
Eric Miller
#Let SNMP::Info determine the correct subclass for you.
my $cyclades = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $cyclades->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
Provides abstraction to the configuration information obtainable from a Cyclades device through SNMP.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $cyclades = new SNMP::Info::Layer1::Cyclades(...);
See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.
These are methods that return scalar value from SNMP
See "GLOBALS" in SNMP::Info::Layer1 for details.
These are methods that return tables of information in the form of a reference to a hash.
Extended to include serial ports. Serial ports are indexed with the alternative labeling system for the serial port, the listening socket port "cySPortSocketPort" to avoid conflicts with "ifIndex".
See "TABLE METHODS" in SNMP::Info::Layer1 for details.