SNMP::Info::Layer3::Altiga - SNMP Interface to Cisco (formerly Altiga) VPN
concentrators
# 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";
Subclass for Cisco (formerly Altiga) VPN concentrators
- ALTIGA-VERSION-STATS-MIB
- ALTIGA-SESSION-STATS-MIB
- ALTIGA-HARDWARE-STATS-MIB
- Inherited Classes' MIBs
- See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
requirements.
- $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)
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.
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
- munge_alarm()
- Changes "true" and
"false" to
"FAIL",
"OK", and
"(n/a)".