SNMP::Info::Layer7::HWGroup - SNMP Interface to HW Group devices
Netdisco Developers
# Let SNMP::Info determine the correct subclass for you. my $hwgroup = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myhub', Community => 'public', Version => 2 ) or die "Can't connect to DestHost.\n"; my $class = $hwgroup->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
Provides abstraction to information obtainable from an HW Group 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
#=head2 Overrides # #=over # #=item $hwgroup->vendor() # #Returns 'hwgroup' # #=item $hwgroup->os() # #Returns 'hwgroup' # #=item $hwgroup->os_ver() # #(lgpAgentDeviceFirmwareVersion.1) # #=item $hwgroup->model() # #(lgpAgentDeviceModel.1) # #=item $hwgroup->serial() # #(lgpAgentDeviceSerialNumber.1) # #=back
lgpAgentDeviceFirmwareVersion.1
lgpAgentDeviceModel.1
lgpAgentDeviceSerialNumber.1
See "GLOBALS" in SNMP::Info::Layer7 for details.
See "TABLE METHODS" in SNMP::Info::Layer7 for details.
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.