NAME

SNMP::Info::Layer3::TeltonikaRutOS - SNMP interface to Teltonika RutOS devices

AUTHOR

SNMP::Info Developers

SYNOPSIS

use SNMP::Info;

my $info = SNMP::Info->new(
    AutoSpecify => 1,
    DestHost    => 'mydevice',
    Community   => 'public',
    Version     => 2,
);

Inherited Classes

SNMP::Info::Layer3::NetSNMP

Required MIBs

UCD-SNMP-MIB
NET-SNMP-TC
HOST-RESOURCES-MIB
Inherited MIBs

See "Required MIBs" in SNMP::Info::Layer3::NetSNMP for its inherited requirements.

DESCRIPTION

Subclass for current Teltonika RutOS devices that expose the shared product, serial number, and firmware OIDs under .1.3.6.1.4.1.48690.1. Detection uses the product code at .1.3.6.1.4.1.48690.1.3.0, including when the device reports Net-SNMP as its sysObjectID.

GLOBALS

$info->vendor()

Returns 'teltonika'.

$info->os()

Returns 'rutos'.

$info->model()

Returns the Teltonika product code.

$info->os_ver()

Returns the RutOS firmware version.

$info->serial()

Returns the device serial number, falling back to the inherited Net-SNMP behavior when the Teltonika serial object is empty.

TABLE METHODS

Interface filtering and system uptime are inherited from SNMP::Info::Layer3::NetSNMP. Other table methods are inherited from SNMP::Info::Layer3.

Overrides

$info->bp_index()

Returns reference to hash. Key: bridge port, Value: ifIndex. Uses dot1dBasePortIfIndex where the device serves it. TSW switches do not, so each Teltonika port table row is matched to the interface whose ifDescr equals its name; a name that matches no interface, or several, is left out.

Teltonika Port Table (portTable)

$info->teltonika_port_name()

Returns reference to hash. Key: port number, Value: port name.

(pName, .1.3.6.1.4.1.48690.10.2.1.2)