<?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=Upgrade_da_Zabbix_3.4_a_Zabbix_4</id>
	<title>Upgrade da Zabbix 3.4 a Zabbix 4 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Upgrade_da_Zabbix_3.4_a_Zabbix_4"/>
	<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Upgrade_da_Zabbix_3.4_a_Zabbix_4&amp;action=history"/>
	<updated>2026-06-20T00:18:43Z</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=Upgrade_da_Zabbix_3.4_a_Zabbix_4&amp;diff=10197&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: /* Upgrade solo Agente */</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Upgrade_da_Zabbix_3.4_a_Zabbix_4&amp;diff=10197&amp;oldid=prev"/>
		<updated>2018-11-22T09:30:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Upgrade solo Agente&lt;/span&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 09:30, 22 November 2018&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-l34&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&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;  dpkg -i zabbix-release_4.0-2+$(lsb_release -c| cut -f 2)_all.deb &amp;amp;&amp;amp; \&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;  dpkg -i zabbix-release_4.0-2+$(lsb_release -c| cut -f 2)_all.deb &amp;amp;&amp;amp; \&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;  apt-get update &amp;amp;&amp;amp; \&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;  apt-get update &amp;amp;&amp;amp; \&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;  apt-get install --only-upgrade zabbix-agent&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;  apt-get install &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-y &lt;/ins&gt;--only-upgrade zabbix-agent &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;&amp;amp; \&lt;/ins&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; apt update &amp;amp;&amp;amp; apt dist-upgrade -y &amp;amp;&amp;amp; apt-get clean ; \&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;RESULT=$?; echo $RESULT; if [ $RESULT -eq 0 ]; then echo OK; else echo KO; fi&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;RESULT=$?; echo $RESULT; if [ $RESULT -eq 0 ]; then echo OK; else echo KO; fi&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;br&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;br&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=Upgrade_da_Zabbix_3.4_a_Zabbix_4&amp;diff=10196&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: /* Upgrade di Proxy ed Agente */</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Upgrade_da_Zabbix_3.4_a_Zabbix_4&amp;diff=10196&amp;oldid=prev"/>
		<updated>2018-11-22T09:27:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Upgrade di Proxy ed Agente&lt;/span&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 09:27, 22 November 2018&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-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&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;  dpkg -i zabbix-release_4.0-2+$(lsb_release -c| cut -f 2)_all.deb &amp;amp;&amp;amp; \&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;  dpkg -i zabbix-release_4.0-2+$(lsb_release -c| cut -f 2)_all.deb &amp;amp;&amp;amp; \&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;  apt-get update &amp;amp;&amp;amp; \&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;  apt-get update &amp;amp;&amp;amp; \&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;  apt-get install --only-upgrade zabbix-proxy-sqlite3 zabbix-agent&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;  apt-get install &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-y &lt;/ins&gt;--only-upgrade zabbix-proxy-sqlite3 zabbix-agent &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;&amp;amp;&lt;/ins&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; apt update &amp;amp;&amp;amp; apt dist-upgrade -y &amp;amp;&amp;amp; apt-get clean&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;RESULT=$?; echo $RESULT; if [ $RESULT -eq 0 ]; then echo OK; else echo KO; fi&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;RESULT=$?; echo $RESULT; if [ $RESULT -eq 0 ]; then echo OK; else echo KO; fi&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;br&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;br&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=Upgrade_da_Zabbix_3.4_a_Zabbix_4&amp;diff=10194&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: /* Upgrade solo Agente */</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Upgrade_da_Zabbix_3.4_a_Zabbix_4&amp;diff=10194&amp;oldid=prev"/>
		<updated>2018-11-19T15:10:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Upgrade solo Agente&lt;/span&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 15:10, 19 November 2018&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-l26&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&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;service zabbix-agent stop &amp;amp;&amp;amp; \&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;service zabbix-agent stop &amp;amp;&amp;amp; \&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;  mkdir -p /opt/zabbix-backup/ &amp;amp;&amp;amp; \&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;  mkdir -p /opt/zabbix-backup/ &amp;amp;&amp;amp; \&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;  /bin/cp -f /etc/zabbix/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;zabbix_agent&lt;/del&gt;.conf /opt/zabbix-backup/ &amp;amp;&amp;amp; \&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;  /bin/cp -f /etc/zabbix/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;zabbix_agentd&lt;/ins&gt;.conf /opt/zabbix-backup/ &amp;amp;&amp;amp; \&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;  /bin/cp -Rf /usr/share/doc/zabbix-* /opt/zabbix-backup/ &amp;amp;&amp;amp; \&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;  /bin/cp -Rf /usr/share/doc/zabbix-* /opt/zabbix-backup/ &amp;amp;&amp;amp; \&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;  rm -Rf /etc/apt/sources.list.d/zabbix.list &amp;amp;&amp;amp; \&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;  rm -Rf /etc/apt/sources.list.d/zabbix.list &amp;amp;&amp;amp; \&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=Upgrade_da_Zabbix_3.4_a_Zabbix_4&amp;diff=10193&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: Created page with &quot;=Upgrade di Proxy ed Agente=  &lt;pre&gt; service zabbix-proxy stop &amp;&amp; \  mkdir -p /opt/zabbix-backup/ &amp;&amp; \  /bin/cp -f /etc/zabbix/zabbix_proxy.conf /opt/zabbix-backup/ &amp;&amp; \  /bin/...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Upgrade_da_Zabbix_3.4_a_Zabbix_4&amp;diff=10193&amp;oldid=prev"/>
		<updated>2018-11-19T14:46:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Upgrade di Proxy ed Agente=  &amp;lt;pre&amp;gt; service zabbix-proxy stop &amp;amp;&amp;amp; \  mkdir -p /opt/zabbix-backup/ &amp;amp;&amp;amp; \  /bin/cp -f /etc/zabbix/zabbix_proxy.conf /opt/zabbix-backup/ &amp;amp;&amp;amp; \  /bin/...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Upgrade di Proxy ed Agente=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
service zabbix-proxy stop &amp;amp;&amp;amp; \&lt;br /&gt;
 mkdir -p /opt/zabbix-backup/ &amp;amp;&amp;amp; \&lt;br /&gt;
 /bin/cp -f /etc/zabbix/zabbix_proxy.conf /opt/zabbix-backup/ &amp;amp;&amp;amp; \&lt;br /&gt;
 /bin/cp -Rf /usr/share/doc/zabbix-* /opt/zabbix-backup/ &amp;amp;&amp;amp; \&lt;br /&gt;
 rm -Rf /etc/apt/sources.list.d/zabbix.list &amp;amp;&amp;amp; \&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; \&lt;br /&gt;
 wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-2+$(lsb_release -c| cut -f 2)_all.deb &amp;amp;&amp;amp; \&lt;br /&gt;
 dpkg -i zabbix-release_4.0-2+$(lsb_release -c| cut -f 2)_all.deb &amp;amp;&amp;amp; \&lt;br /&gt;
 apt-get update &amp;amp;&amp;amp; \&lt;br /&gt;
 apt-get install --only-upgrade zabbix-proxy-sqlite3 zabbix-agent&lt;br /&gt;
RESULT=$?; echo $RESULT; if [ $RESULT -eq 0 ]; then echo OK; else echo KO; fi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vimdiff /etc/zabbix/zabbix_agentd.conf.dpkg-old /etc/zabbix/zabbix_agentd.conf&lt;br /&gt;
vimdiff /etc/zabbix/zabbix_proxy.conf.dpkg-old /etc/zabbix/zabbix_proxy.conf&lt;br /&gt;
&lt;br /&gt;
service zabbix-agent stop ; service zabbix-agent start; service zabbix-agent status&lt;br /&gt;
service zabbix-proxy stop ; mv /var/lib/zabbix/zabbix_proxy.db /opt/zabbix-backup/; service zabbix-proxy start ;service zabbix-proxy status&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Upgrade solo Agente=&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
service zabbix-agent stop &amp;amp;&amp;amp; \&lt;br /&gt;
 mkdir -p /opt/zabbix-backup/ &amp;amp;&amp;amp; \&lt;br /&gt;
 /bin/cp -f /etc/zabbix/zabbix_agent.conf /opt/zabbix-backup/ &amp;amp;&amp;amp; \&lt;br /&gt;
 /bin/cp -Rf /usr/share/doc/zabbix-* /opt/zabbix-backup/ &amp;amp;&amp;amp; \&lt;br /&gt;
 rm -Rf /etc/apt/sources.list.d/zabbix.list &amp;amp;&amp;amp; \&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; \&lt;br /&gt;
 wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-2+$(lsb_release -c| cut -f 2)_all.deb &amp;amp;&amp;amp; \&lt;br /&gt;
 dpkg -i zabbix-release_4.0-2+$(lsb_release -c| cut -f 2)_all.deb &amp;amp;&amp;amp; \&lt;br /&gt;
 apt-get update &amp;amp;&amp;amp; \&lt;br /&gt;
 apt-get install --only-upgrade zabbix-agent&lt;br /&gt;
RESULT=$?; echo $RESULT; if [ $RESULT -eq 0 ]; then echo OK; else echo KO; fi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vimdiff /etc/zabbix/zabbix_agentd.conf.dpkg-old /etc/zabbix/zabbix_agentd.conf&lt;br /&gt;
&lt;br /&gt;
service zabbix-agent stop ; service zabbix-agent start; service zabbix-agent status&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
</feed>