SNMP::Info::Layer3::Altiga - SNMP Interface to Cisco (formerly Altiga) VPN concentrators
Jeroen van Ingen Schenau
# 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";
Subclass for Cisco (formerly Altiga) VPN concentrators
See Required MIBs in the SNMP::Info::Layer3 manpage for its own MIB requirements.
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
vendor()
Returns 'altiga'
os()
Returns 'altiga'
os_ver()
Tries to determine OS version from the sysDescr.0
field. Returns version or sysDescr.0
fan()
Combines results from fan1_alarm
, fan2_alarm
, and fam3_alarm
methods.
hasCDP()
No.
ps1_status()
Combines ps1_3v_alarm
and ps1_5v_alarm
methods.
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.
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.
i_lastchange()
Filters out the results depending on the value of $SNMP::Info::Layer3::Altiga::int_include_vpn
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)
.