Different devices with the same sysObjectID

I have 2 different ALERTWERKS ServeSensors an older one and a newer ALERTWERKS ServSensorX
they use the same sysObjectID
I m having problems discovering the new ones
the temperature OID id is not the same across the 2 platforms
new one is num_oid: .1.3.6.1.4.1.3854.3.5.2.1.4.0.0.0.0.1
I have made a separate
includes/definitions/akcpx.yaml
includes/definitions/discovery/akcpx.yaml
and tries to use

os: akcpx
text: 'AKCP SensorProbe X'
type: environment
icon: akcp
mib_dir: akcp
over:
    - { graph: device_temperature, text: temperature }
discovery:
    -
        sysObjectID:
            - .1.3.6.1.4.1.3854.3

but the device come back as the normal akcp device that has the sysObjectID:.1.3.6.1.4.1.3854

is there a way to differentiate between the two?

You would just add the additional OID to the akcp OS and discovery will detect which one is available so polling only polls what exists.

I did the os: akcp definitions has

    -
        sysObjectID:
            - .1.3.6.1.4.1.3854

and the newer devices pick that up first

thanks for the direction I have most of it working still working on one small issue.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.