(11.3) bsnmpd and trap

Patrick Lamaiziere patfbsd at davenulle.org
Mon Sep 2 07:35:57 UTC 2019


On Sat, 31 Aug 2019 08:04:11 +0700
Eugene Grosbein <eugen at grosbein.net> wrote:

Hello,

> >>> bsnmpd sends a trap when an interface link goes up but not when
> >>> the link goes down.
> >>>
> >>> Is there a way to have a trap when the link is down?    
> >>
> >> Are you sure you not trying to send a trap for broken link over
> >> same link? :-)  
> > 
> > Yes I'm sure :-)
> > The interface to the snmp trap server is ix2 and i tried with the
> > link of ibg0 (a link to a DMZ)  
> 
> Does your kernel write a notification to dmesg for this event?

Yes :
Aug 28 14:09:28 fucop2 kernel: igb0: link state changed to DOWN
Aug 28 14:09:53 fucop2 kernel: igb0: link state changed to UP

> Have you verified that devd(8) is running meantime?

Yes, and the configuration of devd is unmodified.

Regards.



More information about the freebsd-net mailing list