logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SNMP::Info::Layer7::HWGroup - SNMP Interface to HW Group devices

Author

       Netdisco Developers

Description

       Provides abstraction to information obtainable from an HW Group device through SNMP. See inherited
       classes' documentation for inherited methods.

   InheritedClasses
       SNMP::Info::Layer7

   RequiredMIBsHWG-STE-MIBInheritedMIBs
       See "Required MIBs" in SNMP::Info::Layer7 for its MIB requirements.

Globals

       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

   GlobalsimportedfromSNMP::Info::Layer7
       See "GLOBALS" in SNMP::Info::Layer7 for details.

Name

       SNMP::Info::Layer7::HWGroup - SNMP Interface to HW Group devices

Synopsis

        # 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";

Table Methods

TableMethodsimportedfromSNMP::Info::Layer7
       See "TABLE METHODS" in SNMP::Info::Layer7 for details.

perl v5.40.0                                       2024-11-09                   SNMP::Info::Layer7::HWGroup(3pm)

See Also