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

HA 2024.3.0 snmp stops updating #112984

Closed
sphen13 opened this issue Mar 10, 2024 · 16 comments
Closed

HA 2024.3.0 snmp stops updating #112984

sphen13 opened this issue Mar 10, 2024 · 16 comments

Comments

@sphen13
Copy link

sphen13 commented Mar 10, 2024

The problem

Since updating to 2024.3.0 the only snmp sensor entry i have will update for a variable amount of time before stopping. only a reboot of HA core gets it to update again.

I have attempted to increase logging but do not see anything else specific in the logs.

What version of Home Assistant Core has the issue?

core-2024.3.0

What was the last working version of Home Assistant Core?

core-2024.2.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

snmp

Link to integration documentation on our website

https://www.home-assistant.io/integrations/snmp/

Diagnostics information

No response

Example YAML snippet

sensor:
  # APC energy sensor
  - platform: snmp
    name: "UPS Cumulative Energy"
    host: 192.168.xxx.xxx
    version: 2c
    community: xxxxx
    baseoid: 1.3.6.1.4.1.318.1.1.1.4.3.6.0
    value_template: "{{((value | float) / 100) | round (3) }}"
    accept_errors: true
    device_class: energy
    unit_of_measurement: kWh
    state_class: total_increasing

logger:
  default: info
  logs:
    homeassistant.components.snmp.sensor: debug

Anything in the logs that might be useful for us?

2024-03-10 10:30:59.431 WARNING (MainThread) [homeassistant.components.sensor] Updating snmp sensor took longer than the scheduled update interval 0:00:10

Additional information

No response

@home-assistant
Copy link

@joshgetter
Copy link

I am also experiencing issues with SNMP not refreshing since updating to 2024.3. I was previously on 2024.1 and SNMP was working without issue.

@sphen13
Copy link
Author

sphen13 commented Mar 10, 2024

wondering if #112795 resolves....

@loca5790
Copy link

agreed, get errors showing update interval timeout on more than just this intergration. Anything with update intervals less than 10 seconds fails. I use 45 second update intervals on checkmk with no negatives for the things i monitor in SNMP. Anyway to adjust this interval? If I restart HA I can get updates for a few minutes before failing.

@andrewjswan
Copy link

After updating to 2024.3.0, SNMP took 2 times longer to start when the printer was turned off, it was about 100s, now it’s 200+

@mapetster
Copy link

I am also experiencing SNMP issues after 2024.3.0 update.

@erikmouw
Copy link

wondering if #112795 resolves....

It might for the sensor, but it times out for the device_tracker. See #110100 (comment)

@lzzsalvo
Copy link

same issue with 2024.3.0

@Theetjuh
Copy link

Theetjuh commented Mar 14, 2024

Same issue here with 2024.3.0 and just now tested with 2024.3.1
I rolled back to 2024.2.5 and that fixes it for me.

The weird thing is, I don´t see anything in the logs.

@mapetster
Copy link

Fixed with 2024.3.1. For now.

@sphen13
Copy link
Author

sphen13 commented Mar 14, 2024

Fixed with 2024.3.1. For now.

yeah let us know how it goes as it would owrk for awhile until it stops. i have not tried 2024.3.1 yet - but looking at the changelog they did bump pysnmp-lextudio from 6.0.2 to 6.0.9

@lextm
Copy link
Contributor

lextm commented Mar 14, 2024

You might want to check #113457 for another known issue related.

@sphen13
Copy link
Author

sphen13 commented Mar 15, 2024

You might want to check #113457 for another known issue related.

yep looks to be the same issue :/

@lextm
Copy link
Contributor

lextm commented Mar 16, 2024

#113457 was resolved, but #113605 remains which requires #112815 to be merged.

After that I think this one can be closed as well.

@sphen13
Copy link
Author

sphen13 commented Mar 19, 2024

yeah the specific issue i had when bringing this up (snmp sensor update) seems to be resolved. i feel we could close this as the device tracking issues remain open.

@sphen13
Copy link
Author

sphen13 commented Mar 19, 2024

snmp sensor updates resolved in 2024.3.1

@sphen13 sphen13 closed this as completed Mar 19, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants