1SNMP::Info::Layer3::LanUtsreorniCxo(n3t)ributed Perl DocSuNmMePn:t:aItnifoon::Layer3::Lantronix(3)
2
3
4
6 SNMP::Info::Layer3::Lantronix - SNMP Interface to Lantronix devices
7 such as terminal servers
8
10 J R Binks
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $device = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'mydevice',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $device->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for Lantronix devices such as terminal servers.
28
29 Inherited Classes
30 SNMP::Info::Layer3
31
32 Required MIBs
33 LANTRONIX-MIB
34 LANTRONIX-SLC-MIB
35
36 Inherited Classes' MIBs
37 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.
38
40 These are methods that return scalar value from SNMP.
41
42 $device->vendor()
43 Returns 'lantronix'.
44
45 $device->os()
46 Returns 'EvolutionOS' for EDS devices, else returns 'LantronixOS'.
47
48 $device->os_ver()
49 Returns the software version.
50
51 $device->model()
52 Returns the model.
53
54 $device->serial()
55 Returns the serial number.
56
57 $device->ps1_status()
58 Power supply 1 status
59
60 $device->ps2_status()
61 Power supply 2 status
62
63 Globals imported from SNMP::Info::Layer3
64 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
65
67 These are methods that return tables of information in the form of a
68 reference to a hash.
69
70 Lantronix specific items
71 None at present.
72
73 Table Methods imported from SNMP::Info::Layer3
74 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
75
76
77
78perl v5.36.1 2023-07-17 SNMP::Info::Layer3::Lantronix(3)