SNMP::...Altiga(3pm)
π NAME π
SNMP::Info::Layer3::Altiga β it's an SNMP interface to Cisco VPN concentrators (which used to be Altiga, hence the name, iykyk) π«Ά
Oh also, real quick, this whole page lives in the User Contributed Perl Documentation corner of the manual world, and the page itself is SNMP::...Altiga(3pm). Cute, right? Slash, but it's literally SNMP::Info::Layer3::Altiga. The abbreviation is just the man page being dramatic. β¨
πΈ AUTHOR πΈ
Jeroen van Ingen Schenau
β¨ SYNOPSIS β¨
Okay bestie, here's the whole vibe in code:
# 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";
Like, you just let it figure out what it's talking to and it tells you. Main character energy fr. π
π¦ DESCRIPTION π¦
Subclass for Cisco (formerly Altiga) VPN concentrators. That's the whole thing. Your VPN box, but make it Perl. π
π Inherited Classes
SNMP::Info::Layer3
π Required MIBs
ALTIGA-VERSION-STATS-MIBALTIGA-SESSION-STATS-MIBALTIGA-HARDWARE-STATS-MIB
π Inherited Classes' MIBs
See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements. Like, those are a whole separate shopping list, okay? Go read that page. π§
π Class Variables (options) π
$SNMP::Info::Layer3::Altiga::int_include_vpnβ this variable tweaks how theinterfacessubroutine behaves. And the way it works is:- When set to
0,interfacesreturns only fixed interfaces from the IF-MIB, - When set to
1,interfacesreturns fixed interfaces from IF-MIB and LAN-to-LAN tunnels from ALTIGA-SESSION-MIB (default)
- When set to
Not me changing a global variable to control my interface list... but yes, exactly that. Default is 1, no cap. π
β GLOBALS β
These are methods that return scalar value from SNMP. So like, one value. Single. Solitary. A whole icon. π«
$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.
π TABLE METHODS π
These are methods that return tables of information in the form of a reference to a hash. Tables! Plural! We love structure. β¨
$altiga->interfaces()β This method overrides theinterfaces()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
πΈ MUNGES πΈ
munge_alarm()β Changes"true"and"false"to"FAIL","OK", and"(n/a)".
That's the whole page bestie, you ate. π β¨
Big slay of a sign-off: this page comes to you from perl v5.40.1, dated 2026-02-28, and it's SNMP::...Altiga(3pm) all day every day. Periodt. ππ¦π
π¦ where this page comes from
- ubuntu stonking: libsnmp-info-perl 3.975000-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms