SNMP::Info::Layer7::Liebert - SNMP Interface to Liebert devices
# 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";
Provides abstraction to information obtainable from a Liebert device through
SNMP. See inherited classes' documentation for inherited methods.
See "Required MIBs" in SNMP::Info::Layer7 for its MIB requirements.
These are methods that return scalar value from SNMP
- $liebert->vendor()
- Returns 'liebert'
- $liebert->os()
- Returns 'LiebertOS'
- $liebert->os_ver()
- ("lgpAgentDeviceFirmwareVersion.1")
- $liebert->model()
- ("lgpAgentDeviceModel.1")
- $liebert->serial()
- ("lgpAgentDeviceSerialNumber.1")
See "GLOBALS" in SNMP::Info::Layer7 for details.
See "TABLE METHODS" in SNMP::Info::Layer7 for details.