Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] SNMP Connectors only updates one parameter. #1388

Closed
samy4sam opened this issue May 7, 2024 · 1 comment · Fixed by #1423
Closed

[BUG] SNMP Connectors only updates one parameter. #1388

samy4sam opened this issue May 7, 2024 · 1 comment · Fixed by #1423
Assignees
Labels

Comments

@samy4sam
Copy link
Contributor

samy4sam commented May 7, 2024

Describe the bug
I have this configuration of a SNMP Connector:

{
  "devices": [
    {
      "deviceName": "SNMP Test Device 1",
      "deviceType": "TestDevice",
      "ip": "host.docker.internal",
      "port": 161,
      "pollPeriod": 5000,
      "community": "public",
      "attributes": [],
      "telemetry": [
        {
          "key": "sysLocation",
          "method": "get",
          "oid": "1.3.6.1.2.1.1.7.0",
          "timeout": 6
        },
        {
          "key": "sysServices",
          "method": "get",
          "oid": "1.3.6.1.2.1.1.6.0",
          "timeout": 6
        }
      ],
      "attributeUpdateRequests": [],
      "serverSideRpcRequests": []
    }
  ],
  "logLevel": "DEBUG",
  "name": "SNMP"
}

I see two requests in my SNMP Container:

2024-05-07 10:08:36 Request var-binds: 1.3.6.1.2.1.1.7.0=<>, flags: EXACT, GET
2024-05-07 10:08:36 Response var-binds: 1.3.6.1.2.1.1.7.0=<72>
2024-05-07 10:08:32 Request var-binds: 1.3.6.1.2.1.1.6.0=<>, flags: EXACT, GET
2024-05-07 10:08:32 Response var-binds: 1.3.6.1.2.1.1.6.0=<San Francisco, California, United States>

But in the telemetry of SNMP Test Device 3 only sysServices is saved and updated.
image

When I change the order in the configuration file, sysLocation gets udpated.

There are no bugs shown in the logs.

Connector name (If bug in the some connector):
SNMP Connector

Versions (please complete the following information):

  • OS: Docker
  • Thingsboard IoT Gateway version: 3.4.6
  • Thingsboard Cloud: 3.6.2
@samy4sam
Copy link
Contributor Author

samy4sam commented May 7, 2024

May be related to #1377

@samson0v samson0v linked a pull request Jun 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants