Zabbix Monitoring Database MSSQLServer

Source: Internet
Author: User

Zabbix connects SQL Server via ODBC and obtains data from the database via ODBC;

The configuration is as follows:

Execute the following command on the Zabbix-server side:

# yum-y Install FreeTDS UnixODBC unixodbc-devel

$ vi/etc/odbcinst.ini[freetds]driver =/usr/lib64/libtdsodbc.so.0


PORT = 1433tds_version = 8.0[sql2]driver = Freetdsserver = <sql server 2 Ip>port = 1433tds_version = 8.0


Zabbix-server-Side verification:
# isql–v SQL1 Database account  Database password

Zabbix configuration:

Host macro configuration, add parameters, of course {$PASSWORD} {$USER} can be removed, the following we configured the project when the specific;

So we can get the results from the database in the SQL query we configured.

Because the display is in XML format, it is optimized again.

To be Continued ...

Zabbix Monitoring Database MSSQLServer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.