Re: bsnmpd how to monitor only selected interfaces and jail-vnet interfaces
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Oct 2021 19:58:37 UTC
thank you On Mon, Oct 11, 2021 at 10:32 AM <Hartmut.Brandt@dlr.de> wrote: > > Hi, > > that is currently not possible (would probably not be hard to add, though). But you may try to set begemotIfDataPoll to a larger value in the config file. This is the interval for check the interface list and the ARP table. > > harti > > -----Original Message----- > From: owner-freebsd-net@freebsd.org <owner-freebsd-net@freebsd.org> On Behalf Of Özkan KIRIK > Sent: Sunday, October 10, 2021 7:00 AM > To: FreeBSD Net <freebsd-net@freebsd.org> > Subject: bsnmpd how to monitor only selected interfaces and jail-vnet interfaces > > Hello, > > I have a system that have too many (over 500 vlans) cloned interfaces > and two jails. > Jails are using vnet and they have their own physical interfaces. > > Host Interfaces: > - em0 - WAN > - em1 - LAN > - em1.10 .... em1.550 (vlan interface) > - em2 - LAN2 > > Jail1 Interfaces: > - em3 > > Jail2 Interfaces: > - em4 > > I want to monitor only physical interfaces (em0, em1, em2, em3, em4) > by querying Host's bsnmpd. > > But bsnmpd eats 100% of single core cpu (host resources and mibII.so > enabled). Is there any way to configure the bsnmpd to monitory only > "em*" this interfaces and all jail's "em*" interfaces? > Is it possible to change behaviour to dont collect stats while idle, > collect only needed data when SNMP query received? > > If you can give patches to fix, I can build and test it. > > Have a nice day, > Regards > Ozkan >