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
Table of contents Event Loop miscroTask (microtas...
Let’s look at the effect first: This effect looks...
Let's take a look at ufw (Uncomplicated Firew...
Table of contents vuex persistence Summarize vuex...
Through the brief introduction in the previous tw...
In HTML and CSS, we want to set the color of a bu...
Although Mac systems come with PHP and Apache, so...
Part 1: Basics 1. Unlike pseudo-classes such as :...
MySQL is a powerful open source database. With th...
MYSQL officially provides an Installer method to ...
A singly linked list can only be traversed from t...
<textarea></textarea> is used to crea...
Alibaba Cloud Server installs and configures Tomc...
1. Enter the directory where your project war is ...
1. Preparation before installation: 1.1 Install J...