<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Monitoraggio_MS_SQL_Server_con_Zabbix_Agent2</id>
	<title>Monitoraggio MS SQL Server con Zabbix Agent2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Monitoraggio_MS_SQL_Server_con_Zabbix_Agent2"/>
	<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Monitoraggio_MS_SQL_Server_con_Zabbix_Agent2&amp;action=history"/>
	<updated>2026-05-06T00:59:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Monitoraggio_MS_SQL_Server_con_Zabbix_Agent2&amp;diff=11303&amp;oldid=prev</id>
		<title>Gabriele.vivinetto at 18:14, 9 October 2024</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Monitoraggio_MS_SQL_Server_con_Zabbix_Agent2&amp;diff=11303&amp;oldid=prev"/>
		<updated>2024-10-09T18:14:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:14, 9 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Installare il plugin&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Installare il plugin&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Riavviare Zabbix Agent2&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Riavviare Zabbix Agent2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;configurare &lt;/del&gt;l&#039;utenza di monitoraggio in SQL Server:&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Configurare &lt;/ins&gt;l&#039;utenza di monitoraggio in SQL Server:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;USE MASTER&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;USE MASTER&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;CREATE LOGIN zabbix WITH PASSWORD = &amp;#039;S2cr3tPassw0rd&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;CREATE LOGIN zabbix WITH PASSWORD = &amp;#039;S2cr3tPassw0rd&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Monitoraggio_MS_SQL_Server_con_Zabbix_Agent2&amp;diff=11271&amp;oldid=prev</id>
		<title>Gabriele.vivinetto at 16:36, 26 September 2024</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Monitoraggio_MS_SQL_Server_con_Zabbix_Agent2&amp;diff=11271&amp;oldid=prev"/>
		<updated>2024-09-26T16:36:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:36, 26 September 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;NON COMPATIBLE CON 2008R2&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Installare sulla macchina Windows Zabbix Agent2&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Installare sulla macchina Windows Zabbix Agent2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Scaricare la versione di zabbix_agent2_plugins-x.x.x-windows-amd64.msi corrispondente all versione dell&amp;#039;agent da https://cdn.zabbix.com/zabbix/binaries/stable/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Scaricare la versione di zabbix_agent2_plugins-x.x.x-windows-amd64.msi corrispondente all versione dell&amp;#039;agent da https://cdn.zabbix.com/zabbix/binaries/stable/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Monitoraggio_MS_SQL_Server_con_Zabbix_Agent2&amp;diff=11270&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: Created page with &quot;* Installare sulla macchina Windows Zabbix Agent2 * Scaricare la versione di zabbix_agent2_plugins-x.x.x-windows-amd64.msi corrispondente all versione dell&#039;agent da https://cdn.zabbix.com/zabbix/binaries/stable/ * Installare il plugin * Riavviare Zabbix Agent2 * configurare l&#039;utenza di monitoraggio in SQL Server:&lt;pre&gt; USE MASTER CREATE LOGIN zabbix WITH PASSWORD = &#039;S2cr3tPassw0rd&#039; GRANT VIEW SERVER STATE TO zabbix USE msdb CREATE USER zabbix FOR LOGIN zabbix GRANT EXECUT...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Monitoraggio_MS_SQL_Server_con_Zabbix_Agent2&amp;diff=11270&amp;oldid=prev"/>
		<updated>2024-09-26T15:59:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;* Installare sulla macchina Windows Zabbix Agent2 * Scaricare la versione di zabbix_agent2_plugins-x.x.x-windows-amd64.msi corrispondente all versione dell&amp;#039;agent da https://cdn.zabbix.com/zabbix/binaries/stable/ * Installare il plugin * Riavviare Zabbix Agent2 * configurare l&amp;#039;utenza di monitoraggio in SQL Server:&amp;lt;pre&amp;gt; USE MASTER CREATE LOGIN zabbix WITH PASSWORD = &amp;#039;S2cr3tPassw0rd&amp;#039; GRANT VIEW SERVER STATE TO zabbix USE msdb CREATE USER zabbix FOR LOGIN zabbix GRANT EXECUT...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* Installare sulla macchina Windows Zabbix Agent2&lt;br /&gt;
* Scaricare la versione di zabbix_agent2_plugins-x.x.x-windows-amd64.msi corrispondente all versione dell&amp;#039;agent da https://cdn.zabbix.com/zabbix/binaries/stable/&lt;br /&gt;
* Installare il plugin&lt;br /&gt;
* Riavviare Zabbix Agent2&lt;br /&gt;
* configurare l&amp;#039;utenza di monitoraggio in SQL Server:&amp;lt;pre&amp;gt;&lt;br /&gt;
USE MASTER&lt;br /&gt;
CREATE LOGIN zabbix WITH PASSWORD = &amp;#039;S2cr3tPassw0rd&amp;#039;&lt;br /&gt;
GRANT VIEW SERVER STATE TO zabbix&lt;br /&gt;
USE msdb&lt;br /&gt;
CREATE USER zabbix FOR LOGIN zabbix&lt;br /&gt;
GRANT EXECUTE ON msdb.dbo.agent_datetime TO zabbix&lt;br /&gt;
GRANT SELECT ON msdb.dbo.sysjobactivity TO zabbix&lt;br /&gt;
GRANT SELECT ON msdb.dbo.sysjobservers TO zabbix&lt;br /&gt;
GRANT SELECT ON msdb.dbo.sysjobs TO zabbix&lt;br /&gt;
GO&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Sul server Zabbix, installare il template https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/db/mssql_agent2 selezionando la versione dal branch corretto (6.4, 7..)&lt;br /&gt;
* Associarla all&amp;#039;Host&lt;br /&gt;
* Impostare le macro:&lt;br /&gt;
** {$MSSQL.HOST}: 192.168.3.106&lt;br /&gt;
** {$MSSQL.USER}: zabbix&lt;br /&gt;
** {$MSSQL.PASSWORD}: S3cr3tPassw0rd&lt;br /&gt;
** {$MSSQL.URI} : sqlserver://192.168.3.106:1433&lt;br /&gt;
&lt;br /&gt;
== Riferimenti ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.zabbix.com/forum/zabbix-help/484728-how-do-i-use-mssql-plugin-and-install-it-on-zabbix-agent-2 How do I use MSSQL Plugin and Install it on Zabbix Agent 2? - ZABBIX Forums]&lt;br /&gt;
&lt;br /&gt;
* [https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/db/mssql_agent2 Browse Zabbix / Zabbix - ZABBIX GIT]&lt;/div&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
</feed>