Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2021 22:58:37 +0300
From:      =?UTF-8?B?w5Z6a2FuIEtJUklL?= <ozkan.kirik@gmail.com>
To:        Hartmut.Brandt@dlr.de
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: bsnmpd how to monitor only selected interfaces and jail-vnet interfaces
Message-ID:  <CAAcX-AG_E-F=Fz-YEJnAPoLnefZ5fqpS3m6uWH9y6peZACGCPQ@mail.gmail.com>
In-Reply-To: <571dd342de2347c3a136593cc46d7ca8@dlr.de>
References:  <CAAcX-AE0LU9Z4Tiv3iBTJZKuMvmvogd7-rDWwJ3_=EVTFGQaUA@mail.gmail.com> <571dd342de2347c3a136593cc46d7ca8@dlr.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 Be=
half Of =C3=96zkan 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 int=
erfaces
>
> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AG_E-F=Fz-YEJnAPoLnefZ5fqpS3m6uWH9y6peZACGCPQ>