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-MIB
  • ALTIGA-SESSION-STATS-MIB
  • ALTIGA-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 the interfaces subroutine behaves. And the way it works is:
    • 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)
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 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.
  • $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