SNMP::...eAccess(3pm)

πŸ’– NAME πŸ’–

SNMP::Info::Layer3::OneAccess β€” bestie, it's the SNMP Interface to OneAccess routers. That's it. That's the whole vibe. πŸ¦‹

This page is from the User Contributed Perl Documentation set, so like, a real one contributed it. Respect. πŸ‘‘


🌸 AUTHORS 🌸

Rob Woodward. The icon. The moment. The whole entire legend who made this exist for us. 🫢


✨ SYNOPSIS ✨

okay so here's literally how you use it, copy-paste era:

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

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

Lowkey love how AutoSpecify => 1 does the "figure out who this router actually is" work for you. Main character energy from the module, honestly. πŸŽ€


πŸ’… DESCRIPTION πŸ’…

It's a subclass for OneAccess routers. Short, sweet, iconic. πŸ’–

🌈 Inherited Classes 🌈

SNMP::Info::Layer3 β€” yeah, all that behavior is inherited, so you get it for free, no cap.

πŸ“ Required MIBs πŸ“

  • ONEACCESS-GLOBAL-REG
  • ONEACCESS-SYS-MIB

Like, you need these or the whole thing is giving nothing. Get them loaded. πŸ™ˆ

🧚 Inherited Classes' MIBs 🧚

See SNMP::Info::Layer3 for its own MIB requirements β€” because the parent class has its own needs, and we are not about to leave it out. ✨


πŸ‘‘ GLOBALS πŸ‘‘

These are methods that return scalar value from SNMP. Just single little values, no tables, cute and simple. πŸ’œ

  • $oneos->oa_model() β€” Returns the hardware model from oacExpIMSysHwcProductName.0. Yes, that exact OID, character for character, no typos allowed. 🎯
  • $oneos->os_ver() β€” Returns the software version extracted from sysDescr. The way it just yoinks the version right out of there. Obsessed. 😭

πŸ’€ Overrides πŸ’€

  • $oneos->model() β€” Returns oa_model() with a fallback to e_model() from SNMP::Info::Entity. So if the first one's being shy, the backup steps in. Iconic teamwork fr fr. 🫢
  • $oneos->os() β€” Returns 'oneos'. That's it. That's the answer. 😌
  • $oneos->vendor() β€” Returns 'oneaccess'. Consistent queen. πŸ’…

⭐ Globals imported from SNMP::Info::Layer3 ⭐

See documentation in SNMP::Info::Layer3 for details. Go read it, bestie, it's all there. πŸ“–


πŸ”₯ TABLE ENTRIES πŸ”₯

These are methods that return tables of information in the form of a reference to a hash. Multiple values, one hashref, we love a structured situation. 🌈

πŸŽ€ Table Methods imported from SNMP::Info::Layer3 πŸŽ€

See documentation in SNMP::Info::Layer3 for details. Same deal, same source of truth. ✨


ngl if you skipped the required MIBs up there you're not gonna have a good time. Load ONEACCESS-GLOBAL-REG and ONEACCESS-SYS-MIB. That's the vibe check. 🧚

okay bestie that's the whole page!! 🌸 this was written up by Rob Woodward, and the doc footer is telling us it's perl v5.40.1, dated 2026-02-28, on the SNMP::...eAccess(3pm) page β€” so like, go forth and SNMP responsibly. mwah πŸ’–πŸ’…βœ¨

πŸ“¦ where this page comes from