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::Layer3::Altiga - SNMP Interface to Cisco (formerly Altiga) VPN concentrators

Author

       Jeroen van Ingen Schenau

Class Variables (Options)

       $SNMP::Info::Layer3::Altiga::int_include_vpn
           Variable to modify behavior of "interfaces" subroutine.

             * When set to 0, "interfaces" returns only fixed interfaces from the IF-MIB,
             * When set to 1, "interfaces" returns fixed interfaces from IF-MIB and
               LAN-to-LAN tunnels from ALTIGA-SESSION-MIB (default)

Description

       Subclass for Cisco (formerly Altiga) VPN concentrators

   InheritedClasses
       SNMP::Info::Layer3

   RequiredMIBsALTIGA-VERSION-STATS-MIBALTIGA-SESSION-STATS-MIBALTIGA-HARDWARE-STATS-MIB
       Inherited Classes' MIBs
           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.

Globals

       These are methods that return scalar value from SNMP

       $altiga->vendor()
           Returns 'altiga'

       $altiga->os()
           Returns 'altiga'

       $altiga->os_ver()
           Tries to determine OS version from the "sysDescr.0" field. Returns version or "sysDescr.0"

       $altiga->fan()
           Combines results from "fan1_alarm", "fan2_alarm", and "fam3_alarm" methods.

       $altiga->ps1_status()
           Combines "ps1_3v_alarm" and "ps1_5v_alarm" methods.

       $altiga->ps2_status()
           Combines "ps2_3v_alarm" and "ps2_5v_alarm" methods.

Munges

munge_alarm()
           Changes "true" and "false" to "FAIL", "OK", and "(n/a)".

perl v5.40.0                                       2024-11-09                    SNMP::Info::Layer3::Altiga(3pm)

Name

       SNMP::Info::Layer3::Altiga - SNMP Interface to Cisco (formerly Altiga) VPN concentrators

Synopsis

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

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

Table Methods

       These are methods that return tables of information in the form of a reference to a hash.

       $altiga->interfaces()
           This  method  overrides  the  interfaces()  method  inherited from SNMP::Info.  It provides a mapping
           between the Interface Table Index (iid) and the physical port name, adding a port number to the  port
           name to prevent duplicate names.

       $altiga->i_lastchange()
           Filters out the results depending on the value of $SNMP::Info::Layer3::Altiga::int_include_vpn

       $altiga->i_type()
           Filters out the results depending on the value of $SNMP::Info::Layer3::Altiga::int_include_vpn

See Also