SNMP::...VMware(3pm)
π SNMP::Info::Layer3::VMware β the whole glow-up β¨
ok so bestie, welcome to SNMP::...VMware(3pm) β yeah the man page name got truncated mid-word, we don't talk about it, it's giving "username taken so I added underscores" π. Anyway. This is the Perl doc for SNMP::Info::Layer3::VMware, and it's genuinely iconic.
π NAME
SNMP::Info::Layer3::VMware β the SNMP interface to VMware ESXi. that's it, that's the whole vibe. π¦
π AUTHORS
Max Kosmach. absolute legend, no cap. π«Ά
β¨ SYNOPSIS
here's how you actually use it, fr fr:
# Let SNMP::Info determine the correct subclass for you.
my $host = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myhost',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $host->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
ok so the move here is you let SNMP::Info be the main character with AutoSpecify => 1 and it figures out the right subclass for you. if it can't connect to DestHost, it literally dies with "Can't connect to DestHost.\n" β dramatic but fair. π
π DESCRIPTION
this is a subclass for VMware ESXi. that's the whole point of it. periodt.
πΈ Inherited Classes
SNMP::Info::Layer3SNMP::Info::IEEE802dot3ad
π Required MIBs
VMWARE-SYSTEM-MIBVMWARE-PRODUCTS-MIB
you need these. don't skip them, that's the vibe check. π§
π Inherited Classes' MIBs
- head over to "Required MIBs" in
SNMP::Info::Layer3for what that one needs. - and "Required MIBs" in
SNMP::Info::IEEE802dot3adfor its MIB requirements too.
no gatekeeping here, the MIB requirements are all documented. iykyk. π
β GLOBALS
these are the methods that return a scalar value straight from SNMP. one value, no table, just a lil guy. π
$vmware->vendor()β returns'vmware'. lowercase, iconic, correct.$vmware->os()β returns the value of"vmwProdName.0".$vmware->os_ver()β returns the software version, formatted asmajor-update.patch.build(ex.5.1.0-3.55.2583090).
the way that's built: ("vmwProdVersion")-("vmwProdUpdate").("vmwProdPatch").("vmwProdBuild")
π¦ Globals imported from SNMP::Info::Layer3
there's more where that came from β see the documentation in SNMP::Info::Layer3 for the details. π«
π₯ TABLE ENTRIES
these are the methods that hand you whole tables of info, shaped as a reference to a hash. we love a data structure. π
"agg_ports"β returns a HASH reference mapping from slave to master port for each member of a port bundle on the device. Keys are ifIndex of the slave ports, Values are ifIndex of the corresponding master ports. so like... slave β master. matched. slay. π
π Table Methods imported from SNMP::Info::Layer3
see the documentation in SNMP::Info::Layer3 for details.
π Table Methods imported from SNMP::Info::IEEE802dot3ad
see the documentation in SNMP::Info::IEEE802dot3ad for details.
and that's the whole page bestie, you ate it. π«Ά this was SNMP::...VMware(3pm) from perl v5.40.1, dated 2026-02-28 β User Contributed Perl Documentation, forever and always. mwah πβ¨
π¦ 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