<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Не удается получить аларм с snmp-trap с определенным varbind.]]></title><description><![CDATA[<p dir="auto">Есть oid приходящий на событие и есть этот же oid с определенным varbind. Не удается получить аларм на событие с этим биндом. Срабатывает только на сам oid. Трапы и эвенты созданы на оба. Кто-то возможно сталкивался?</p>
]]></description><link>https://forum.netxms.org/topic/423/не-удается-получить-аларм-с-snmp-trap-с-определенным-varbind.</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:21:52 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/423.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Jul 2008 09:27:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Tue, 25 Nov 2008 13:23:58 GMT]]></title><description><![CDATA[<p dir="auto">Обязательно напишу <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /> Пока-что там есть описания всех функций.</p>
]]></description><link>https://forum.netxms.org/post/2648</link><guid isPermaLink="true">https://forum.netxms.org/post/2648</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 25 Nov 2008 13:23:58 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Tue, 25 Nov 2008 09:15:10 GMT]]></title><description><![CDATA[<p dir="auto">Спасибо. Требуемого результата добился. Еще бы в документацию включить весь возможный синтаксис в этих скриптах.</p>
]]></description><link>https://forum.netxms.org/post/2646</link><guid isPermaLink="true">https://forum.netxms.org/post/2646</guid><dc:creator><![CDATA[isherim]]></dc:creator><pubDate>Tue, 25 Nov 2008 09:15:10 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Fri, 21 Nov 2008 12:12:58 GMT]]></title><description><![CDATA[<p dir="auto">Могу предложить три варианта:</p>
<p dir="auto">$2 like "ALM 42 :    EXCESSIVE ERR RATIO                   - IO *"</p>
<p dir="auto">$2 match "ALM 42 :    EXCESSIVE ERR RATIO                   - IO .*"</p>
<p dir="auto">substr($2, 1, 54) == "ALM 42 :    EXCESSIVE ERR RATIO                   - IO"</p>
]]></description><link>https://forum.netxms.org/post/2644</link><guid isPermaLink="true">https://forum.netxms.org/post/2644</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 21 Nov 2008 12:12:58 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Fri, 21 Nov 2008 06:14:04 GMT]]></title><description><![CDATA[<p dir="auto">Аналогичная ситуация, но в varbind первая позиция приходит в виде: "ALM 42 :    EXCESSIVE ERR RATIO                   - IO 2:1" где 2:1 изменяемая часть. Не соображу как сказать (в event processing Script), что первая позиция долджна быть "ALM 42 :    EXCESSIVE ERR RATIO                   - IO (любое значение)".</p>
]]></description><link>https://forum.netxms.org/post/2639</link><guid isPermaLink="true">https://forum.netxms.org/post/2639</guid><dc:creator><![CDATA[isherim]]></dc:creator><pubDate>Fri, 21 Nov 2008 06:14:04 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Fri, 25 Jul 2008 13:26:55 GMT]]></title><description><![CDATA[<p dir="auto">Действительно, есть ошибка в обработчике трапов - если не смогли найти varbind с указанным oid'ом, то соответствующий параметр события выставлялся не в пустую строку, а в текст "&lt;null&gt;" (без кавычек). В 0.2.22 исправлено.</p>
]]></description><link>https://forum.netxms.org/post/2095</link><guid isPermaLink="true">https://forum.netxms.org/post/2095</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 25 Jul 2008 13:26:55 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Fri, 25 Jul 2008 10:23:38 GMT]]></title><description><![CDATA[<p dir="auto">Спасибо, так лучше <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
Осталось добиться, чтобы они срабатывали по отдельности. Сейчас по эвенту выдает оба аларма.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000151-trap_conf2.jpg">trap_conf2.jpg</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000153-event_policy2.jpg">event_policy2.jpg</a></p>
]]></description><link>https://forum.netxms.org/post/2093</link><guid isPermaLink="true">https://forum.netxms.org/post/2093</guid><dc:creator><![CDATA[isherim]]></dc:creator><pubDate>Fri, 25 Jul 2008 10:23:38 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Fri, 25 Jul 2008 07:03:41 GMT]]></title><description><![CDATA[<p dir="auto">Ne srabativaet, poskol'ku OID .1.3.6.1.4.1.318.0.173 prisutstvuet dvazdi - nado udalit' zapis' nomer 11, i togda vse dolzno stat' horosho.</p>
<p dir="auto">P.S. Nu i v event policy obrabativat' sobitie "Electrotechnical case open"</p>
]]></description><link>https://forum.netxms.org/post/2088</link><guid isPermaLink="true">https://forum.netxms.org/post/2088</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 25 Jul 2008 07:03:41 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Fri, 25 Jul 2008 05:05:44 GMT]]></title><description><![CDATA[<p dir="auto">Как то все-равно не хочет. Пропускает этот эвент и срабатывает на oid без бинда.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000145-event_policy.jpg">event_policy.jpg</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000147-oid.jpg">oid.jpg</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000149-trap_conf.jpg">trap_conf.jpg</a></p>
]]></description><link>https://forum.netxms.org/post/2084</link><guid isPermaLink="true">https://forum.netxms.org/post/2084</guid><dc:creator><![CDATA[isherim]]></dc:creator><pubDate>Fri, 25 Jul 2008 05:05:44 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Thu, 24 Jul 2008 07:53:36 GMT]]></title><description><![CDATA[<p dir="auto">При обработке трапов событие ищется только по oid. Если нужно проверять конкретные переменные в трапе, то надо их добавлять в event и делать дополнительные проверки скриптом в event processing policy. Т.е. в описанном случае надо сделать одну запись в trap configuration:</p>
<p dir="auto">OID = .1.3.6.1.4.1.318.0.173, Parameter bindings $2 = 1.3.6.1.4.1.318.1.1.10.2.3.4.1.2.2</p>
<p dir="auto">а в event processing policy в скрипте написать например</p>
<pre><code>$2 != ""
</code></pre>
<p dir="auto">тогда правило отработает только если второй параметр будет содержать какое-то значение.</p>
]]></description><link>https://forum.netxms.org/post/2076</link><guid isPermaLink="true">https://forum.netxms.org/post/2076</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 24 Jul 2008 07:53:36 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Wed, 23 Jul 2008 06:50:43 GMT]]></title><description><![CDATA[<p dir="auto">Есть оид .1.3.6.1.4.1.318.0.173 на него настроен эвент, аларм нормально работает.<br />
Есть этот же оид но аларм нужен на varbinds 1.3.6.1.4.1.318.1.1.10.2.3.4.1.2.0 с instance 2.<br />
Создаю второй трап для оид .1.3.6.1.4.1.318.0.173 с отдельным эвентом, добавляю Parameter bindings 1.3.6.1.4.1.318.1.1.10.2.3.4.1.2.2<br />
Трапы сыпаются, но эвент не отрабатывает, даже если отключить первый эвент (без varbind который).</p>
]]></description><link>https://forum.netxms.org/post/2070</link><guid isPermaLink="true">https://forum.netxms.org/post/2070</guid><dc:creator><![CDATA[isherim]]></dc:creator><pubDate>Wed, 23 Jul 2008 06:50:43 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить аларм с snmp-trap с определенным varbind. on Mon, 21 Jul 2008 14:08:39 GMT]]></title><description><![CDATA[<p dir="auto">А можно более подробно описать конфигурацию? Или прислать скриншоты?</p>
]]></description><link>https://forum.netxms.org/post/2063</link><guid isPermaLink="true">https://forum.netxms.org/post/2063</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 21 Jul 2008 14:08:39 GMT</pubDate></item></channel></rss>