1SNMP::Info::Layer3::VMwUasreer(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer3::VMware(3)
2
3
4
6 SNMP::Info::Layer3::VMware - SNMP Interface to VMware ESXi
7
9 Max Kosmach
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $host = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myhost',
17 Community => 'public',
18 Version => 2
19 )
20 or die "Can't connect to DestHost.\n";
21
22 my $class = $host->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 Subclass for VMware ESXi
27
28 Inherited Classes
29 SNMP::Info::Layer3
30 SNMP::Info::IEEE802dot3ad
31
32 Required MIBs
33 VMWARE-SYSTEM-MIB
34 VMWARE-PRODUCTS-MIB
35
36 Inherited Classes' MIBs
37 See "Required MIBs" in SNMP::Info::Layer3 for its MIB requirements.
38
39 See "Required MIBs" in SNMP::Info::IEEE802dot3ad for its MIB
40 requirements.
41
43 These are methods that return scalar value from SNMP
44
45 $vmware->vendor()
46 Returns 'vmware'.
47
48 $vmware->os()
49 Returns the value of "vmwProdName.0".
50
51 $vmware->os_ver()
52 Returns the software version specified as major-update.patch.build
53 (ex. 5.1.0-3.55.2583090).
54
55 ("vmwProdVersion")-("vmwProdUpdate").("vmwProdPatch").("vmwProdBuild")
56
57 Globals imported from SNMP::Info::Layer3
58 See documentation in SNMP::Info::Layer3 for details.
59
61 These are methods that return tables of information in the form of a
62 reference to a hash.
63
64 "agg_ports"
65 Returns a HASH reference mapping from slave to master port for each
66 member of a port bundle on the device. Keys are ifIndex of the
67 slave ports, Values are ifIndex of the corresponding master ports.
68
69 Table Methods imported from SNMP::Info::Layer3
70 See documentation in SNMP::Info::Layer3 for details.
71
72 Table Methods imported from SNMP::Info::IEEE802dot3ad
73 See documentation in SNMP::Info::IEEE802dot3ad for details.
74
75
76
77perl v5.32.0 2020-07-28 SNMP::Info::Layer3::VMware(3)