Zabbix Mssql Failed To Fetch Info Data -or No Data For 30m- -
ODBC configuration involves two files in the /etc/ directory.
Two weeks ago, they had disabled the weekly index rebuild on the transactions table to speed up a different report. They had forgotten to re-enable it. The indexes had fragmented into digital gravel. A simple count query now took the server hostage.
: If the SQL Server requires encrypted connections, you may need to add Encrypt=yes to the connection string or TrustServerCertificate=yes if you are using self-signed certificates. Agent 2 Plugin Configuration
This specific error usually originates from the (which has native MSSQL plugin support) or a custom ODBC/UserParameter setup. zabbix mssql failed to fetch info data -or no data for 30m-
Align Agent 2 version to system constraints; grant explicit engine rights.
Locate your zabbix_agent2.conf file.
For security and integration mapping, do not hardcode your database username and password into the system-level odbc.ini configuration file. Instead, handle authentication entirely within the Zabbix frontend by leveraging the following host macros: $MSSQL.USER $MSSQL.PASSWORD ODBC configuration involves two files in the /etc/ directory
You need to grant the Zabbix Agent user access to the SQL Server instance.
The official template for this type of monitoring is called . Assign this template to your MSSQL host in Zabbix.
When this trigger fires, the monitoring chain is broken at one of three levels: , Connectivity , or Configuration . The indexes had fragmented into digital gravel
MSSQL: Failed to fetch info data (or no data for 30m) - Zabbix
Complex discovery scripts timing out due to high database load. Step-by-Step Troubleshooting Guide
Now that you have a working ODBC connection, configure the Zabbix frontend. Navigate to , select your MS SQL Server host, go to the Macros tab, and add or modify the following inherited macros: