1SNMP::Info::Layer3::AltUisgear(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer3::Altiga(3)
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 => 1
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 Inherited Classes' MIBs
34 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
35 requirements.
36
38 $SNMP::Info::Layer3::Altiga::int_include_vpn
39 Variable to modify behavior of "interfaces" subroutine.
40
41 * When set to 0, "interfaces" returns only fixed interfaces from the IF-MIB,
42 * When set to 1, "interfaces" returns fixed interfaces from IF-MIB and
43 LAN-to-LAN tunnels from ALTIGA-SESSION-MIB (default)
44
46 These are methods that return scalar value from SNMP
47
48 $altiga->vendor()
49 Returns 'altiga'
50
51 $altiga->os()
52 Returns 'altiga'
53
54 $altiga->os_ver()
55 Tries to determine OS version from the "sysDescr.0" field. Returns
56 version or "sysDescr.0"
57
58 $altiga->fan()
59 Combines results from "fan1_alarm", "fan2_alarm", and "fam3_alarm"
60 methods.
61
62 $altiga->ps1_status()
63 Combines "ps1_3v_alarm" and "ps1_5v_alarm" methods.
64
65 $altiga->ps2_status()
66 Combines "ps2_3v_alarm" and "ps2_5v_alarm" methods.
67
69 These are methods that return tables of information in the form of a
70 reference to a hash.
71
72 $altiga->interfaces()
73 This method overrides the interfaces() method inherited from
74 SNMP::Info. It provides a mapping between the Interface Table
75 Index (iid) and the physical port name, adding a port number to the
76 port name to prevent duplicate names.
77
78 $altiga->i_lastchange()
79 Filters out the results depending on the value of
80 $SNMP::Info::Layer3::Altiga::int_include_vpn
81
82 $altiga->i_type()
83 Filters out the results depending on the value of
84 $SNMP::Info::Layer3::Altiga::int_include_vpn
85
87 munge_alarm()
88 Changes "true" and "false" to "FAIL", "OK", and "(n/a)".
89
90
91
92perl v5.28.0 2018-11-29 SNMP::Info::Layer3::Altiga(3)