Date: Mon, 2 Sep 2019 09:34:41 +0200 From: Patrick Lamaiziere <patfbsd@davenulle.org> To: freebsd-net@freebsd.org Cc: Eugene Grosbein <eugen@grosbein.net> Subject: Re: (11.3) bsnmpd and trap Message-ID: <20190902093441.57ff5120@mr185033.univ-rennes1.fr> In-Reply-To: <53020df3-e555-e46e-301b-f5552397fa46@grosbein.net> References: <20190830134845.4b8a75ac@mr185033.univ-rennes1.fr> <b56d56b3-b5d2-b13f-bf43-d9d8f5001e80@grosbein.net> <20190830143737.21767c38@mr185033.univ-rennes1.fr> <53020df3-e555-e46e-301b-f5552397fa46@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 Aug 2019 08:04:11 +0700 Eugene Grosbein <eugen@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190902093441.57ff5120>