freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Gerhard Lausser <Gerhard.Lausser AT consol.de>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] patch for ct.c
- Date: Tue, 7 Jan 2014 15:35:37 +0100 (CET)
Hi,
half a year has passed......is anybody interested in this patch? I get
constantly mails from users which have the problem i was describing below and
i just can answer that i submitted a patch some months ago.
Happy new year,
Gerhard
----- Ursprüngliche Mail -----
Von: "Gerhard Lausser" <Gerhard.Lausser AT consol.de>
An: freetds AT lists.ibiblio.org
Gesendet: Freitag, 23. August 2013 00:23:41
Betreff: [freetds] patch for ct.c
Hi,
i am the author of check_mssql_health, a plugin for the Nagios monitoring
system, which is used to monitor MS SQL and Sybase databases. It uses
freetds and DBD::Sybase.
The plugin can be called as
check_mssql_health --server <an_entry_in_freetds.conf> --username ....
which internally uses DBI->connect("DBI:Sybase:server=...
or
check_mssql_health --hostname <host_or_ip> --port <port> --username ....
which internally uses DBI->connect("DBI:Sybase:host=...;port=...
This worked reliably so far with the libs and modules from the linux
distributions.
Today i was compiling DBD::Sybase-1.15 and freetds-0.91 from source and with
this platform, calling check_mssql_health with --hostname no longer worked.
I got the error "Server name not found in configuration files"
Attached is a patch for freetds-0.91, which fixed the error for me.
Cheers,
Gerhard
__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 8718
(20130822) __________
E-Mail wurde gepruft mit ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
-
Re: [freetds] patch for ct.c,
Gerhard Lausser, 01/07/2014
- Re: [freetds] patch for ct.c, Frediano Ziglio, 01/07/2014
Archive powered by MHonArc 2.6.24.