thanks for the follow-up! the snmpd log shows that there's various "duplicate registrations", which correlates with keepalived_vrrp complaining "registering pdu failed: 263!" - this seems to be a different problem. and there's config keys for your snmpd.conf: defaultMonitors and linkUpDownNotifications?
but for the "failed to respond to ping" issue: if this state is active (i see it repeats every ~1 minute) - could you please attach strace to both processes, and observe one of these ping response failures? so in two terminals, run: sudo strace -fys300 -o /tmp/keepalived.trace -p $(pidof keepalived) sudo strace -fys300 -o /tmp/snmpd.trace -p $(pidof snmpd) just for as long as you capture 2-3 of the subagent-connected -> ping response failure rounds, then kill both with ^C. then we can maybe see in the two log files whose fault it is. generally, we need to figure out what causes this (understand or a simple reproducer) so we can try to find/bisect the upstream patch that fixed this, so we can backport it to 22.04. you could also ask upstream if they remember a fix :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2167576 Title: keepalived loses connection to snmpd regularly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/2167576/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
