From owner-freebsd-ports@freebsd.org Sat Sep 8 20:16:03 2018 Return-Path: Delivered-To: freebsd-ports@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 6117CFFCE97 for ; Sat, 8 Sep 2018 20:16:03 +0000 (UTC) (envelope-from SRS0=YNUu=LW=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0317376D21 for ; Sat, 8 Sep 2018 20:16:02 +0000 (UTC) (envelope-from SRS0=YNUu=LW=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 22FBE28428; Sat, 8 Sep 2018 22:15:55 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 0695F28422; Sat, 8 Sep 2018 22:15:47 +0200 (CEST) Subject: Re: check_mssql_collection To: Andrea Venturoli , freebsd-ports@freebsd.org References: <6cd1e918-309a-f8d0-295e-80d52226df8d@netfence.it> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Sat, 8 Sep 2018 22:15:47 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <6cd1e918-309a-f8d0-295e-80d52226df8d@netfence.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2018 20:16:03 -0000 Andrea Venturoli wrote on 2018/09/07 16:00: > Hello. > > I was using a PHP based script to check MSSQL servers in my Nagios > installations. > > However, it seems php56-mssql has no equivalent in he php71 world. > > > So, while searching for an alternative, I found this: > https://github.com/NagiosEnterprises/check_mssql_collection > > As anyone already tried porting it? > If not I might give it a try. I cannot speak about Nagios but if you really want to use PHP to connect to MSSQL, you can use databases/php71-pdo_dblib Miroslav Lachman