SNMP::...ntronix(3pm)

🌸 SNMP::...ntronix(3pm) πŸ’…

okay bestie, pull up a chair because this is SNMP::Info::Layer3::Lantronix, a Perl manual page from the User Contributed Perl Documentation section, and it's literally the SNMP interface to Lantronix devices such as terminal servers. yes. terminal servers. we contain multitudes. πŸ’–


πŸ‘‘ NAME

SNMP::Info::Layer3::Lantronix β€” the SNMP Interface to Lantronix devices such as terminal servers. that's the whole vibe. πŸ¦‹


✍️ AUTHOR

J R Binks β€” the icon who wrote this. we thank them. 🫢


✨ SYNOPSIS

okay so here's the whole "let SNMP::Info figure out which subclass you actually are" situation:

# Let SNMP::Info determine the correct subclass for you.
my $device = new SNMP::Info(
                         AutoSpecify => 1,
                         Debug       => 1,
                         DestHost    => 'mydevice',
                         Community   => 'public',
                         Version     => 2
                       )
   or die "Can't connect to DestHost.\n";

my $class      = $device->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";

not the AutoSpecify => 1 doing all the work so you don't have to. main character energy fr fr. πŸŽ€


πŸ’œ DESCRIPTION

Subclass for Lantronix devices such as terminal servers. that's it, that's the description, and honestly? iconic.

🌈 Inherited Classes

  • SNMP::Info::Layer3 β€” everything it knows, this class inherits. nepotism but make it networking. πŸ’…

πŸ“š Required MIBs

  • LANTRONIX-MIB
  • LANTRONIX-SLC-MIB

you need these. not optional. no cap. πŸ”₯

🧬 Inherited Classes' MIBs

See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements β€” like, that class has its own whole list of MIBs it needs, go read that one.


🌟 GLOBALS

These are methods that return scalar value from SNMP. one value each, no drama, no tables. so clean. ✨

  • $device->vendor() β€” Returns 'lantronix'. lowercase, bestie, that's just how it is. πŸ’…
  • $device->os() β€” Returns 'EvolutionOS' for EDS devices, else returns 'LantronixOS'. so if it's an EDS it gets one name and literally everything else gets the other. the way that works. πŸ¦‹
  • $device->os_ver() β€” Returns the software version.
  • $device->model() β€” Returns the model.
  • $device->serial() β€” Returns the serial number. πŸ“
  • $device->ps1_status() β€” Power supply 1 status.
  • $device->ps2_status() β€” Power supply 2 status. yes twin power supplies, we love redundancy πŸ’–

🌸 Globals imported from SNMP::Info::Layer3

See documentation in "GLOBALS" in SNMP::Info::Layer3 for details. that's where the rest of the lore lives.


πŸ“Š TABLE ENTRIES

These are methods that return tables of information in the form of a reference to a hash. so it's a hashref situation, not a scalar situation. stay hydrated. πŸ’§

πŸŽ€ Lantronix specific items

None at present. nothing. zero. zilch. the Lantronix-specific table list is empty and honestly that's valid of it. πŸ™ˆ

🌈 Table Methods imported from SNMP::Info::Layer3

See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details β€” all the actual table lore is over there.


πŸ’‘ quick vibe check: the globals give you one thing back, the table entries give you a hashref of things. don't mix them up. iykyk. 🧚

perl v5.40.1 Β· 2026-02-28 β€” that's the version and the date, babes, and that's the whole page. go forth and SNMP responsibly. slay. πŸ‘‘βœ¨πŸ’–

πŸ“¦ where this page comes from