<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; CentOS release 6.3 (Final) и zabbix-agent]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=27656</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=27656&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «CentOS release 6.3 (Final) и zabbix-agent».]]></description>
		<lastBuildDate>Mon, 08 Apr 2013 19:17:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: CentOS release 6.3 (Final) и zabbix-agent]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=339172#p339172</link>
			<description><![CDATA[<p>Нашел в чем проблема, забикс пытается подключится используя ssh 1, а&nbsp; ssh 1 в ssh_config дезактивирован. <br /></p><div class="codebox"><pre><code>[root@hostXX ~]# grep Protocol /etc/ssh/sshd_config
#Protocol 2,1
Protocol 2
[root@hostXX ~]#
[root@hostXX ~]# ssh -1 localhost
Protocol major versions differ: 1 vs. 2
[root@hostXX ~]#
[root@hostXX ~]# tail -n 1 /var/log/secure
Apr  8 15:20:02 hostXX sshd[60827]: Did not receive identification string from 127.0.0.1
[root@hostXX ~]#</code></pre></div><p>Соотвественно прописываем в конфиге 1 protocol, затем sshd рестарт и всё.</p>]]></description>
			<author><![CDATA[null@example.com (NewbieUNIX)]]></author>
			<pubDate>Mon, 08 Apr 2013 19:17:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=339172#p339172</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS release 6.3 (Final) и zabbix-agent]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=338635#p338635</link>
			<description><![CDATA[<p>21441 - это собственно sshd<br /></p><div class="codebox"><pre><code>[root@hostXX log]# ps aux | grep 21441 | grep -v &quot;grep&quot;
root     21441  0.0  0.0  64072  1160 ?        Ss   Apr03   0:00 /usr/sbin/sshd</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (NewbieUNIX)]]></author>
			<pubDate>Fri, 05 Apr 2013 21:07:47 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=338635#p338635</guid>
		</item>
		<item>
			<title><![CDATA[CentOS release 6.3 (Final) и zabbix-agent]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=338634#p338634</link>
			<description><![CDATA[<p>Доброго времени суток дорогие друзья.<br />Столкнулся с проблемой, возможно кто-то из вас, уважаемые друзья, знает как это поправить.<br />триггер в забиксе посылает ложные предупреждения, что SSH упал, но на самом деле все норм, sshd на месте и прекрасно работает.<br /></p><div class="codebox"><pre><code>[root@hostXX log]# cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m

[root@hostXX log]# zabbix_agent --version
Zabbix agent v2.0.5 (revision 33558) (12 February 2013)
Compilation time: Feb 13 2013 20:29:50</code></pre></div><p>Вот собственно и ошибка:<br /></p><div class="codebox"><pre><code>[root@hostXX log]# grep Did secure
Apr  1 16:10:08 hostXX sshd[9829]: Did not receive identification string from 127.0.0.1
Apr  1 17:35:46 hostXX sshd[13986]: Did not receive identification string from 127.0.0.1
Apr  1 17:40:40 hostXX sshd[14215]: Did not receive identification string from 127.0.0.1
Apr  1 19:40:17 hostXX sshd[20301]: Did not receive identification string from 127.0.0.1
Apr  1 19:45:01 hostXX sshd[20412]: Did not receive identification string from 127.0.0.1
Apr  1 21:05:28 hostXX sshd[24366]: Did not receive identification string from 127.0.0.1
Apr  1 21:55:21 hostXX sshd[26518]: Did not receive identification string from 127.0.0.1
Apr  3 11:34:39 hostXX sshd[19601]: Did not receive identification string from 127.0.0.1
Apr  3 11:51:07 hostXX sshd[20055]: Did not receive identification string from 127.0.0.1
Apr  3 12:04:27 hostXX sshd[20376]: Did not receive identification string from 127.0.0.1
Apr  3 12:15:09 hostXX sshd[20641]: Did not receive identification string from 127.0.0.1
Apr  3 12:49:58 hostXX sshd[21382]: Did not receive identification string from 127.0.0.1
Apr  3 14:04:47 hostXX sshd[23012]: Did not receive identification string from 127.0.0.1
Apr  3 14:54:56 hostXX sshd[24125]: Did not receive identification string from 127.0.0.1
Apr  3 19:24:52 hostXX sshd[30084]: Did not receive identification string from 127.0.0.1
[root@hostXX log]# grep 30084 secure
Apr  3 19:24:43 hostXX sshd[21441]: debug1: Forked child 30084.
Apr  3 19:24:43 hostXX sshd[30084]: Set /proc/self/oom_score_adj to -1000
Apr  3 19:24:43 hostXX sshd[30084]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8
Apr  3 19:24:52 hostXX sshd[30084]: debug1: inetd sockets after dupping: 3, 3
Apr  3 19:24:52 hostXX sshd[30084]: Connection from 127.0.0.1 port 47741
Apr  3 19:24:52 hostXX sshd[30084]: Did not receive identification string from 127.0.0.1</code></pre></div><p>Кофигурация триггера:<br /></p><div class="codebox"><pre><code>{hostXX.domain.com:net.tcp.service[ssh].last(0)}=0</code></pre></div><p>По сути если триггер отключить то и ошибки в логах не появляются, т.е. проблема скорее всего в самом забиксе, но хотелось бы использовать мониторинг на все 100%.<br />Может кто сталкивался, подскажите пути решения проблемы?<br />Спасибо друзья!</p>]]></description>
			<author><![CDATA[null@example.com (NewbieUNIX)]]></author>
			<pubDate>Fri, 05 Apr 2013 21:04:33 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=338634#p338634</guid>
		</item>
	</channel>
</rss>
