<?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[external parameter]]></title><description><![CDATA[<p dir="auto">AgentCommandTimeout = 30000<br />
AgentUpgradeWaitTime = 600</p>
<p dir="auto">есть такой скрипт</p>
<pre><code>#!/bin/bash
res=`ping -c 1 -W 1000 $1 | awk '/time=/{print $7}' | sed 's/time=//g'`
if [ "$res" &gt; "0" ]
then echo $res
else
echo "0"
fi
</code></pre>
<p dir="auto">который связан с агентом через external parameter</p>
<blockquote>
<p dir="auto">ExternalParameter = Ping(*):sh /usr/scripts/ping.sh $1</p>
</blockquote>
<p dir="auto">Если пинга нет то агент получает</p>
<blockquote>
<p dir="auto">Cannot get current parameter value: Communication failure</p>
</blockquote>
]]></description><link>https://forum.netxms.org/topic/2173/external-parameter</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:48:29 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2173.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 08 Feb 2013 11:57:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to external parameter on Mon, 11 Feb 2013 10:56:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/9628">external parameter</a>:</p>
<blockquote>
<p dir="auto">Еще скорее всего в nxagentd.conf надо поставить ExecTimeout побольше, по умолчанию там 2000 миллисекунд.</p>
</blockquote>
<p dir="auto">Нет, не помогло.</p>
]]></description><link>https://forum.netxms.org/post/9633</link><guid isPermaLink="true">https://forum.netxms.org/post/9633</guid><dc:creator><![CDATA[SKYnv]]></dc:creator><pubDate>Mon, 11 Feb 2013 10:56:34 GMT</pubDate></item><item><title><![CDATA[Reply to external parameter on Mon, 11 Feb 2013 10:25:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/9628">external parameter</a>:</p>
<blockquote>
<p dir="auto">Еще скорее всего в nxagentd.conf надо поставить ExecTimeout побольше, по умолчанию там 2000 миллисекунд.</p>
</blockquote>
<p dir="auto">Спасибо попробую</p>
]]></description><link>https://forum.netxms.org/post/9630</link><guid isPermaLink="true">https://forum.netxms.org/post/9630</guid><dc:creator><![CDATA[SKYnv]]></dc:creator><pubDate>Mon, 11 Feb 2013 10:25:29 GMT</pubDate></item><item><title><![CDATA[Reply to external parameter on Mon, 11 Feb 2013 10:21:41 GMT]]></title><description><![CDATA[<p dir="auto">Еще скорее всего в nxagentd.conf надо поставить ExecTimeout побольше, по умолчанию там 2000 миллисекунд.</p>
]]></description><link>https://forum.netxms.org/post/9628</link><guid isPermaLink="true">https://forum.netxms.org/post/9628</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 11 Feb 2013 10:21:41 GMT</pubDate></item></channel></rss>