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 SNMP::Info::Layer3 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
Returns 'altiga'
Tries to determine OS version from the sysDescr.0 field. Returns version or sysDescr.0
sysDescr.0
Combines results from fan1_alarm, fan2_alarm, and fam3_alarm methods.
fan1_alarm
fan2_alarm
fam3_alarm
No.
Combines ps1_3v_alarm and ps1_5v_alarm methods.
ps1_3v_alarm
ps1_5v_alarm
Combines ps2_3v_alarm and ps2_5v_alarm methods.
ps2_3v_alarm
ps2_5v_alarm
These are methods that return tables of information in the form of a reference to a hash.
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.
Filters out the results depending on the value of $SNMP::Info::Layer3::Altiga::int_include_vpn
Changes true and false to FAIL, OK, and (n/a).
true
false
FAIL
OK
(n/a)
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.