SNMP::...Allied(3pm)

πŸ’– SNMP::...Allied(3pm) β€” bestie's field guide πŸ’–

User Contributed Perl Documentation Β· the SNMP::...Allied(3pm) page, but make it cute


🌸 NAME 🌸

SNMP::Info::Layer1::Allied β€” no cap, this is the SNMP interface to those old-school Allied Hubs πŸ‘‘


✨ AUTHOR ✨

Max Baker β€” absolute icon, thank you for your service 🫢


πŸŽ€ SYNOPSIS πŸŽ€

okay so literally just let SNMP::Info figure out the right subclass for u, it's giving ✨delegation✨

# Let SNMP::Info determine the correct subclass for you.
my $allied = new SNMP::Info(
                         AutoSpecify => 1,
                         Debug       => 1,
                         DestHost    => 'myhub',
                         Community   => 'public',
                         Version     => 1
                       )
   or die "Can't connect to DestHost.\n";

my $class = $allied->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";

then u print the class and go slay 🌈


πŸ¦‹ DESCRIPTION πŸ¦‹

So what this does is give u an abstraction to all the config info u can pull off an Allied device thru SNMP πŸ’…. Wanna know about the methods it inherited? Go read the inherited classes' docs, bestie, they got the tea β˜•

🌟 Inherited Classes 🌟

  • SNMP::Info::Layer1

🌟 Required MIBs 🌟

  • ATI-MIB

🌟 Inherited MIBs 🌟

Peep "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements πŸ‘€


πŸ’œ GLOBALS πŸ’œ

These r methods that return scalar value from SNMP. One value, no table drama, just vibes πŸ’«

🌸 Overrides 🌸

  • $allied->vendor() β€” returns 'allied' :) β€” yes the smiley is canon, she's happy, let her be happy πŸ˜­πŸ’–
  • $allied->os() β€” returns 'allied'
  • $allied->os_ver() β€” culls Version from description(). literally snooping thru the description to find the version, main character detective energy πŸ•΅οΈβ™€οΈ
  • $allied->root_ip() β€” returns the IP Address of the Managed Hub.
    • ("actualIpAddr")
  • $allied->model() β€” tries to cull out "AT-nnnnX" out of the description field. it's giving pattern-matching girlboss πŸ”βœ¨

🌟 Global Methods imported from SNMP::Info::Layer1 🌟

See "GLOBALS" in SNMP::Info::Layer1 for details. go go go πŸƒβ™€οΈ


πŸ“ TABLE METHODS πŸ“

🌸 Overrides 🌸

  • $allied->i_name() β€” returns a reference to a map of IIDs to human-set port name 🏷️ (yeah, a human picked those names, be nice)
  • $allied->i_up() β€” returns a reference to a map of IIDs to link status. Changes the values of ati_up() to 'up' and 'down' β€” no more weird LED numbers, just words, we love clarity πŸ’…

🌈 Allied MIB 🌈

  • $allied->ati_p_name() β€” ("portName")
  • $allied->ati_up() β€” ("linkTestLED")

🌟 Table Methods imported from SNMP::Info::Layer1 🌟

See "TABLE METHODS" in SNMP::Info::Layer1 for details. periodt πŸ’–


ok bestie real talk: if u need the full inheritance lore, the SNMP::Info::Layer1 docs r right there and they ate πŸ”₯

perl v5.40.1 Β· 2026-02-28 β€” that's a wrap, mwah πŸ’‹ go forth and SNMP responsibly πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from