Info::Layer3::Altiga(3User Contributed Perl DocumentatiInfo::Layer3::Altiga(3)NAMESNMP::Info::Layer3::Altiga - SNMP Interface to Cisco (formerly Altiga)
VPN concentrators
AUTHOR
Jeroen van Ingen Schenau
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 => 1
)
or die "Can't connect to DestHost.\n";
my $class = $altiga->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
DESCRIPTION
Subclass for Cisco (formerly Altiga) VPN concentrators
Inherited Classes
SNMP::Info::Layer3
Required MIBs
Inherited Classes' MIBs
See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
requirements.
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)
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->hasCDP()
No.
$altiga->ps1_status()
Combines "ps1_3v_alarm" and "ps1_5v_alarm" methods.
$altiga->ps2_status()
Combines "ps2_3v_alarm" and "ps2_5v_alarm" methods.
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
MUNGESmunge_alarm()
Changes "true" and "false" to "FAIL", "OK", and "(n/a)".
perl v5.14.1 2011-09-28 Info::Layer3::Altiga(3)