Let's take a look at zabbix monitoring sqlserver. First download and install freetds wget -c http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz tar -zxvf freetds-stable.tgz cd freetds-0.91/ ./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --enable-msdblib make && makeinstall FreeTDS is installed in the /usr/local/freetds directory by default, and the library files are in the corresponding lib directory. #vim /etc/ld.so.conf /usr/local/freetds/lib Configuration takes effect #ldconfig Modify #vim /usr/local/freetds/etc/freetds.conf [global] # TDS protocol version ; tds version = 4.2 tds version = 8.0 Connection Test /usr/local/freetds/bin/tsql -H 192.168.31.158 -p 1433 -U sa -P 12345678 Install yum -y install unixODBC unixODBC-devel Modify the configuration #vim /etc/odbcinst.ini [FreeTDS] Driver = /usr/local/freetds/lib/libtdsodbc.so.0 #vim /etc/odbc.ini [sql1] Driver = FreeTDS Server = 192.168.31.158 PORT = 1433 TDS_Version = 8.0 [sql2] Driver = FreeTDS Server = 192.168.31.159 PORT = 1433 TDS_Version = 8.0 Test the connection #isql -v sql1 sa 12345678 +---------------------------------------+ | Connected! | | | | sql-statement | | help [tablename] | | quit | | | +---------------------------------------+ SQL> Select a template This is the end of this article about zabbix monitoring sqlserver. For more relevant zabbix monitoring sqlserver content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Six important selectors in CSS (remember them in three seconds)
>>: Summary of the differences between global objects in nodejs and browsers
Today I encountered a very strange situation. Aft...
MySQL escape Escape means the original semantics ...
Recently, when developing a small program, I enco...
Table of contents 1. What is syntactic sugar? 2. ...
This article shares the installation and configur...
Install Required Files Yum install openssl-* -y C...
First, understand the updatexml() function UPDATE...
I designed and customized a navigation bar with a...
Let's take a look at zabbix monitoring sqlser...
Golden Rules of Performance: Only 10% to 20% of e...
MySQL filtering timing of where conditions and ha...
win10 + Ubuntu 20.04 LTS dual system installation...
In the previous article, we talked about MySQL tr...
Table of contents Preface 1. Demand and Effect ne...
Solution Abandon the Linux virtual machine that c...