1SNMP::Info::Layer3::AltUisgear(3Cpomn)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer3::Altiga(3pm)
2
3
4
6 SNMP::Info::Layer3::Altiga - SNMP Interface to Cisco (formerly Altiga)
7 VPN concentrators
8
10 Jeroen van Ingen Schenau
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $altiga = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'my_vpn_host',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $altiga->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for Cisco (formerly Altiga) VPN concentrators
28
29 Inherited Classes
30 SNMP::Info::Layer3
31
32 Required MIBs
33 ALTIGA-VERSION-STATS-MIB
34 ALTIGA-SESSION-STATS-MIB
35 ALTIGA-HARDWARE-STATS-MIB
36 Inherited Classes' MIBs
37 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
38 requirements.
39
41 $SNMP::Info::Layer3::Altiga::int_include_vpn
42 Variable to modify behavior of "interfaces" subroutine.
43
44 * When set to 0, "interfaces" returns only fixed interfaces from the IF-MIB,
45 * When set to 1, "interfaces" returns fixed interfaces from IF-MIB and
46 LAN-to-LAN tunnels from ALTIGA-SESSION-MIB (default)
47
49 These are methods that return scalar value from SNMP
50
51 $altiga->vendor()
52 Returns 'altiga'
53
54 $altiga->os()
55 Returns 'altiga'
56
57 $altiga->os_ver()
58 Tries to determine OS version from the "sysDescr.0" field. Returns
59 version or "sysDescr.0"
60
61 $altiga->fan()
62 Combines results from "fan1_alarm", "fan2_alarm", and "fam3_alarm"
63 methods.
64
65 $altiga->ps1_status()
66 Combines "ps1_3v_alarm" and "ps1_5v_alarm" methods.
67
68 $altiga->ps2_status()
69 Combines "ps2_3v_alarm" and "ps2_5v_alarm" methods.
70
72 These are methods that return tables of information in the form of a
73 reference to a hash.
74
75 $altiga->interfaces()
76 This method overrides the interfaces() method inherited from
77 SNMP::Info. It provides a mapping between the Interface Table
78 Index (iid) and the physical port name, adding a port number to the
79 port name to prevent duplicate names.
80
81 $altiga->i_lastchange()
82 Filters out the results depending on the value of
83 $SNMP::Info::Layer3::Altiga::int_include_vpn
84
85 $altiga->i_type()
86 Filters out the results depending on the value of
87 $SNMP::Info::Layer3::Altiga::int_include_vpn
88
90 munge_alarm()
91 Changes "true" and "false" to "FAIL", "OK", and "(n/a)".
92
93
94
95perl v5.38.0 2023-09-04 SNMP::Info::Layer3::Altiga(3pm)