SNMP::...Liebert(3pm)
π SNMP::Info::Layer7::Liebert π
okay bestie, so this is SNMP::Info::Layer7::Liebert β the SNMP interface to Liebert devices. yes it's a whole module, yes it's giving "I talk to your data center's cooling units over SNMP", and honestly? iconic. π
Written by the Netdisco Developers, who are lowkey the main characters of network management. π«Ά
β¨ SYNOPSIS β¨
# Let SNMP::Info determine the correct subclass for you.
my $liebert = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myhub',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $liebert->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
literally just let it cook π₯ β set AutoSpecify => 1, point it at your DestHost, and the module will figure out the right subclass for you. and if it can't connect? it dies, as it should, no cap.
π¦ DESCRIPTION π¦
This bad boy provides abstraction to all the info you can pull off a Liebert device through SNMP. that's the whole vibe. π
if you're looking for methods it inherited, go read the inherited classes' documentation, because this one is out here living its own life and letting the ancestors handle the rest. π
πΈ Inherited Classes πΈ
SNMP::Info::Layer7
π Required MIBs π
LIEBERT-GP-AGENT-MIB
π Inherited MIBs π
See "Required MIBs" in SNMP::Info::Layer7 for its MIB requirements. (yes go look, it's worth it, trust. π«Ά)
π GLOBALS π
These are methods that return a scalar value from SNMP. one value, no drama, just vibes. β¨
π Overrides π
$liebert->vendor()β returns'liebert'$liebert->os()β returns'LiebertOS'$liebert->os_ver()β ("lgpAgentDeviceFirmwareVersion.1")$liebert->model()β ("lgpAgentDeviceModel.1")$liebert->serial()β ("lgpAgentDeviceSerialNumber.1")
π Globals imported from SNMP::Info::Layer7 π
See "GLOBALS" in SNMP::Info::Layer7 for details. periodt. π
π§ TABLE METHODS π§
π Table Methods imported from SNMP::Info::Layer7 π
See "TABLE METHODS" in SNMP::Info::Layer7 for details. iykyk π«
sign-off moment π β this page shipped as part of perl v5.40.1, dated 2026-02-28, and it is, as always, SNMP::...Liebert(3pm). slay, go query something. πΈπ β¨
π¦ 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