#SNMP OID

1 messages · Page 1 of 1 (latest)

winged adder
#

What exactly is the device you are working on?

#

A sensor or something else?

tawdry atlas
#

it's ubiquiti device

winged adder
#

So, a router?

tawdry atlas
#

AP

winged adder
#

Then you cannot use that OID

#

To configure a router, the settings are different

#

HA performs a WALK operation on the base OID to learn all the MAC addresses, so it won't work on a scalar object.

#

Please refer to HA docs to see what's the right way to configure a router/AP.

#

There is enough information to help you out.

tawdry atlas
#

it's not so clear the reason of not working. If I use oid .1.3.6.1.4.1.41112.1.6.3.3.0 or .1.3.6.1.4.1.41112.1.6.3.3 both don't work in HA but both works in linux

winged adder
#
  1. HA only supports two typical SNMP devices, sensors and switches.
#

Sensors are simple scalar objects where GET operations are enough to query the data.

#

Switches are flippable devices where GET/SET operations are enough to query/modify the data.

#
  1. An AP/router is only used for device/people presence detection
#

where HA is expected to query a MAC table via WALK operations.

#

That's why you cannot use any non table OID there.

#

You will have to read about SNMP tables/scalars to better understand what I meant.

#

But that error is expected, as you configured the wrong OID.

tawdry atlas
#

ok will try to find another solution so

winged adder
#

Probably not another solution, but what exactly do you want to achieve?

tawdry atlas
#

get some information from my device and display them in dashboard

winged adder
#

Right. You might get started with sensors/switches, as they are more obvious ways to show the data in dashboard.