1SNMP::Info::Layer7::HWGUrsoeurp(C3opnmt)ributed Perl DocSuNmMePn:t:aItnifoon::Layer7::HWGroup(3pm)
2
3
4
6 SNMP::Info::Layer7::HWGroup - SNMP Interface to HW Group devices
7
9 Netdisco Developers
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $hwgroup = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myhub',
17 Community => 'public',
18 Version => 2
19 )
20 or die "Can't connect to DestHost.\n";
21
22 my $class = $hwgroup->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 Provides abstraction to information obtainable from an HW Group device
27 through SNMP. See inherited classes' documentation for inherited
28 methods.
29
30 Inherited Classes
31 SNMP::Info::Layer7
32
33 Required MIBs
34 HWG-STE-MIB
35
36 Inherited MIBs
37 See "Required MIBs" in SNMP::Info::Layer7 for its MIB requirements.
38
40 These are methods that return scalar value from SNMP
41
42 #=head2 Overrides # #=over # #=item $hwgroup->vendor() # #Returns
43 'hwgroup' # #=item $hwgroup->os() # #Returns 'hwgroup' # #=item
44 $hwgroup->os_ver() # #("lgpAgentDeviceFirmwareVersion.1") # #=item
45 $hwgroup->model() # #("lgpAgentDeviceModel.1") # #=item
46 $hwgroup->serial() # #("lgpAgentDeviceSerialNumber.1") # #=back
47
48 Globals imported from SNMP::Info::Layer7
49 See "GLOBALS" in SNMP::Info::Layer7 for details.
50
52 Table Methods imported from SNMP::Info::Layer7
53 See "TABLE METHODS" in SNMP::Info::Layer7 for details.
54
55
56
57perl v5.38.0 2023-09-04 SNMP::Info::Layer7::HWGroup(3pm)