From owner-freebsd-net@freebsd.org Thu Feb 22 07:45:21 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D96DF0EB25 for ; Thu, 22 Feb 2018 07:45:21 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AD4D072FD1 for ; Thu, 22 Feb 2018 07:45:20 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w1M7j8RA001722 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2018 08:45:08 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: vas@mpeks.tomsk.su Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id w1M7j1hs025868; Thu, 22 Feb 2018 14:45:01 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: bsnmpd and arbitrary OIDs To: Victor Sudakov References: <20180220160044.GA79151@admin.sibptus.transneft.ru> <5A8C5FD6.3070201@grosbein.net> <20180222012851.GA11433@admin.sibptus.transneft.ru> Cc: freebsd-net@freebsd.org From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <5A8E74FD.8010406@grosbein.net> Date: Thu, 22 Feb 2018 14:45:01 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20180222012851.GA11433@admin.sibptus.transneft.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-Spam-Level: ** X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 07:45:21 -0000 On 22.02.2018 08:28, Victor Sudakov wrote: >> You can do that with net-mgmt/bsnmp-ucd addon and little addition to /etc/snmpd.config: >> >> begemotSnmpdModulePath."ucd" = "/usr/local/lib/snmp_ucd.so" > > Eugene, thanks for the info. I hoped to do with the base system only. > > For the present I have used the "pass" facility from net-mgmt/net-snmp snmpd. Yes, this is basically the same. bsnmpd in the base system is pretty light and has very basic functions only and is designed for usage of addons.