<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="mn">
		<id>https://wiki.dusal.net/index.php?action=history&amp;feed=atom&amp;title=Zabbix_%D0%B4%D1%8D%D1%8D%D1%80_%D1%82%D1%83%D1%81%D0%B3%D0%B0%D0%B9%D0%BB%D0%B0%D0%BD_%D0%B7%D0%B0%D0%B0%D1%81%D0%B0%D0%BD_%D0%BF%D0%BE%D1%80%D1%82_%D1%82%D0%BE%D1%85%D0%B8%D1%80%D1%83%D1%83%D0%BB%D0%B0%D1%85</id>
		<title>Zabbix дээр тусгайлан заасан порт тохируулах - Түүх</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.dusal.net/index.php?action=history&amp;feed=atom&amp;title=Zabbix_%D0%B4%D1%8D%D1%8D%D1%80_%D1%82%D1%83%D1%81%D0%B3%D0%B0%D0%B9%D0%BB%D0%B0%D0%BD_%D0%B7%D0%B0%D0%B0%D1%81%D0%B0%D0%BD_%D0%BF%D0%BE%D1%80%D1%82_%D1%82%D0%BE%D1%85%D0%B8%D1%80%D1%83%D1%83%D0%BB%D0%B0%D1%85"/>
		<link rel="alternate" type="text/html" href="https://wiki.dusal.net/index.php?title=Zabbix_%D0%B4%D1%8D%D1%8D%D1%80_%D1%82%D1%83%D1%81%D0%B3%D0%B0%D0%B9%D0%BB%D0%B0%D0%BD_%D0%B7%D0%B0%D0%B0%D1%81%D0%B0%D0%BD_%D0%BF%D0%BE%D1%80%D1%82_%D1%82%D0%BE%D1%85%D0%B8%D1%80%D1%83%D1%83%D0%BB%D0%B0%D1%85&amp;action=history"/>
		<updated>2026-05-05T11:33:21Z</updated>
		<subtitle>Вики дэх энэ хуудасны засварын түүх</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.dusal.net/index.php?title=Zabbix_%D0%B4%D1%8D%D1%8D%D1%80_%D1%82%D1%83%D1%81%D0%B3%D0%B0%D0%B9%D0%BB%D0%B0%D0%BD_%D0%B7%D0%B0%D0%B0%D1%81%D0%B0%D0%BD_%D0%BF%D0%BE%D1%80%D1%82_%D1%82%D0%BE%D1%85%D0%B8%D1%80%D1%83%D1%83%D0%BB%D0%B0%D1%85&amp;diff=526&amp;oldid=prev</id>
		<title>13:04, 21 Аравдугаар сар 2022 дээрх Almas</title>
		<link rel="alternate" type="text/html" href="https://wiki.dusal.net/index.php?title=Zabbix_%D0%B4%D1%8D%D1%8D%D1%80_%D1%82%D1%83%D1%81%D0%B3%D0%B0%D0%B9%D0%BB%D0%B0%D0%BD_%D0%B7%D0%B0%D0%B0%D1%81%D0%B0%D0%BD_%D0%BF%D0%BE%D1%80%D1%82_%D1%82%D0%BE%D1%85%D0%B8%D1%80%D1%83%D1%83%D0%BB%D0%B0%D1%85&amp;diff=526&amp;oldid=prev"/>
				<updated>2022-10-21T13:04:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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 style=&quot;vertical-align: top;&quot; lang=&quot;mn&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←Хуучны засвар&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;13:04, 21 Аравдугаар сар 2022-ий байдлаарх засвар&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;11-р мөр:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;11-р мөр:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; net.tcp.service[ssh,,5000]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; net.tcp.service[ssh,,5000]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;Портыг нь мөн macros хэлбэрээр оруулж болно.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;And we’ll specify this new template instead of the standard one, then SSH will be scanned at the specified port.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;And we’ll specify this new template instead of the standard one, then SSH will be scanned at the specified port.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Almas</name></author>	</entry>

	<entry>
		<id>https://wiki.dusal.net/index.php?title=Zabbix_%D0%B4%D1%8D%D1%8D%D1%80_%D1%82%D1%83%D1%81%D0%B3%D0%B0%D0%B9%D0%BB%D0%B0%D0%BD_%D0%B7%D0%B0%D0%B0%D1%81%D0%B0%D0%BD_%D0%BF%D0%BE%D1%80%D1%82_%D1%82%D0%BE%D1%85%D0%B8%D1%80%D1%83%D1%83%D0%BB%D0%B0%D1%85&amp;diff=525&amp;oldid=prev</id>
		<title>Almas: Хуудас үүсгэв: &quot;Change the port in SSH, HTTP, etc. checks. in Zabbix   Suppose that SSH is working on a non-standard port, in Zabbix, the “Template App SSH Service” template chec...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.dusal.net/index.php?title=Zabbix_%D0%B4%D1%8D%D1%8D%D1%80_%D1%82%D1%83%D1%81%D0%B3%D0%B0%D0%B9%D0%BB%D0%B0%D0%BD_%D0%B7%D0%B0%D0%B0%D1%81%D0%B0%D0%BD_%D0%BF%D0%BE%D1%80%D1%82_%D1%82%D0%BE%D1%85%D0%B8%D1%80%D1%83%D1%83%D0%BB%D0%B0%D1%85&amp;diff=525&amp;oldid=prev"/>
				<updated>2022-10-21T13:04:08Z</updated>
		
		<summary type="html">&lt;p&gt;Хуудас үүсгэв: &amp;quot;Change the port in SSH, HTTP, etc. checks. in Zabbix   Suppose that SSH is working on a non-standard port, in Zabbix, the “Template App SSH Service” template chec...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Шинэ хуудас&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Change the port in SSH, HTTP, etc. checks. in Zabbix&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Suppose that SSH is working on a non-standard port, in Zabbix, the “Template App SSH Service” template checks it on a standard port and will therefore send out the message “SSH service is down on …”.&lt;br /&gt;
&lt;br /&gt;
To specify which port to check for SSH, we will make complete cloning of the “Template App SSH Service” template so that it does not change it and in the new cloned template we already changed the key in the data element:&lt;br /&gt;
&lt;br /&gt;
    net.tcp.service[ssh]&lt;br /&gt;
&lt;br /&gt;
to (where 5000 is the SSH port number):&lt;br /&gt;
&lt;br /&gt;
    net.tcp.service[ssh,,5000]&lt;br /&gt;
&lt;br /&gt;
And we’ll specify this new template instead of the standard one, then SSH will be scanned at the specified port.&lt;br /&gt;
Templates are configured in the “Settings” -&amp;gt; “Templates” -&amp;gt; “Templates” group.&lt;br /&gt;
&lt;br /&gt;
Similarly, the port for other services changes.&lt;br /&gt;
&lt;br /&gt;
From the command line, you can check it with the following commands:&lt;br /&gt;
&lt;br /&gt;
    zabbix_get -s127.0.0.1 -k'net.tcp.service[ssh]'&lt;br /&gt;
    zabbix_get -s127.0.0.1 -k'net.tcp.service[ssh,,5000]'&lt;br /&gt;
&lt;br /&gt;
If Zabbix-agent is installed on the node, then in the field the key is better to specify:&lt;br /&gt;
	&lt;br /&gt;
    proc.num[sshd]&lt;br /&gt;
&lt;br /&gt;
Эх сурвалж: https://ixnfo.com/en/change-port-in-ssh-http-etc-checks-in-zabbix.html&lt;br /&gt;
&lt;br /&gt;
[[Ангилал:Сисадмин]]&lt;/div&gt;</summary>
		<author><name>Almas</name></author>	</entry>

	</feed>