SNMP::...clades(3pm)
π SNMP::Info::Layer1::Cyclades β the manual page, but make it cute π
okay bestie, so this is SNMP::Info::Layer1::Cyclades, a whole module from the User Contributed Perl Documentation collection. It's the SNMP Interface to Cyclades/Avocent terminal servers, and honestly? iconic. Let's get into it. π¦
π AUTHOR
Eric Miller. that's the author. respect. π«Ά
β¨ SYNOPSIS β¨
okay so here's the vibe, let SNMP::Info pick the right subclass for you:
#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";
like, it literally tells you what subclass the device belongs to. so helpful of it fr fr π
πΈ DESCRIPTION πΈ
This gives you an abstraction to the configuration information you can pull off a Cyclades/Avocent device through SNMP. no cap, that's the whole deal. π₯
𧬠Inherited Classes
SNMP::Info::Layer1
π Required MIBs
ACS-MIBACS6000-MIBCYCLADES-ACS-SYS-MIBCYCLADES-ACS-CONF-MIBCYCLADES-ACS-INFO-MIBCYCLADES-ACS5K-SYS-MIBCYCLADES-ACS5K-CONF-MIBCYCLADES-ACS5K-INFO-MIB
π Inherited MIBs
Head over to "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements, bestie. it's all there.
β GLOBALS β
these are the methods that return a scalar value from SNMP. lil single-value cuties.
$cyclades->os_ver()β returns("acsFirmwareVersion"),("cyACS5Kversion"), or("cyACSversion")$cyclades->serial()β returns("acsSerialNumber"),("cyACS5KDevId"), or("cyACSDevId")$cyclades->root_ip()β returns("cyEthIPaddr")$cyclades->ps1_status()β returns("acsPowerSupplyStatePw1"),("cyACS5KPw1"), or("cyACSPw1")$cyclades->ps2_status()β returns("acsPowerSupplyStatePw2"),("cyACS5KPw2"), or("cyACSPw2")
π Overrides
$cyclades->layers()β returns01000001. so here's the tea: these devices don't have a FDB and we probably don't wanna poll for an ARP cache either, so it turns off the reported Layer 2 and Layer 3. periodt.$cyclades->vendor()β returns'vertiv'$cyclades->os()β returns'avocent'$cyclades->model()β returns lower case("cyACSpname")or("acsProductModel")if it exists, otherwise it tries to reference$cyclades->id()to one of the MIBs listed above. the way it just figures it out ππ
π Globals imported from SNMP::Info::Layer1
See "GLOBALS" in SNMP::Info::Layer1 for details, iykyk.
π TABLE METHODS π
these ones return tables of information β specifically a reference to a hash. very main character of them.
π¦ Overrides
$cyclades->i_index()β returns a reference to a map of IIDs to Interface index.
extended to include serial ports! π serial ports get indexed with the alternative labeling system for the serial port, either the listening socket port "cySPortSocketPort" or the "acsSerialPortTableDeviceName" name, all to avoid conflicts with "ifIndex". no drama, no clashing keys π
$cyclades->interfaces()β returns a reference to a map of IIDs to physical ports. extended to include serial ports,"acsSerialPortTableDeviceName"or"cyISPortTty".$cyclades->i_speed()β returns interface speed. extended to include serial ports,"acsSerialPortTableComSpeed"or"cyISPortSpeed".$cyclades->i_up()β returns link status for each port. extended to include serial ports,"acsSerialPortTableSignalStateDCD"or"cyISPortSigCD".$cyclades->i_description()β returns description of each port. extended to include serial ports,"acsSerialPortTableName"or"cyISPortName".$cyclades->i_name()β returns name of each port. extended to include serial ports,"acsSerialPortTableName"or"cyISPortName".
π Table Methods imported from SNMP::Info::Layer1
See "TABLE METHODS" in SNMP::Info::Layer1 for all the details, bestie.
π reminder: this whole page isperl v5.40.1, dated2026-02-28, from User Contributed Perl Documentation. that's the footer, and yeah, I'm telling you about it instead of copying it, because we're cute like that. bye bestie, slay your SNMP polling π«Άβ¨π
π¦ where this page comes from
- ubuntu stonking: libsnmp-info-perl 3.975000-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms