<?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[DCI problem...]]></title><description><![CDATA[<p dir="auto">Using NetXMS agent, some custom process can not be recognized.</p>
<p dir="auto">That process really executing in the system(Linux).</p>
<p dir="auto">I can check it using "ps -ef".</p>
<p dir="auto">But, When I get it on NetXMS console, just return value '0'.</p>
<p dir="auto">Other custom process is works fine.</p>
<p dir="auto">Using SNMP protocol, can not be auto recognize that OID(PID). Right?</p>
<p dir="auto">Could you help me?</p>
<p dir="auto">Thanks.<br />
Regards.</p>
]]></description><link>https://forum.netxms.org/topic/639/dci-problem...</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:07:03 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/639.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Jun 2009 05:04:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DCI problem... on Tue, 16 Jun 2009 00:15:19 GMT]]></title><description><![CDATA[<p dir="auto">Yes.</p>
<p dir="auto">"Process.CountEx(".*"," node_agent")" and (".*","  ./node_agent") works fine.</p>
<p dir="auto">But, (".*"," \\./node_agent") not works. (Don't care)</p>
<p dir="auto">Thanks.<br />
Regards.</p>
]]></description><link>https://forum.netxms.org/post/3101</link><guid isPermaLink="true">https://forum.netxms.org/post/3101</guid><dc:creator><![CDATA[sushizang]]></dc:creator><pubDate>Tue, 16 Jun 2009 00:15:19 GMT</pubDate></item><item><title><![CDATA[Reply to DCI problem... on Mon, 15 Jun 2009 08:03:24 GMT]]></title><description><![CDATA[<p dir="auto">It's my mistake: ^node_agent is not correct regexp - ^ character means "beginning of the line", but command line in your case doesn't starts with node_agent, it starts with ./node_agent, so you should either remove leading ^ or use Process.CountEx(".*","^\\./node_agent")</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3097</link><guid isPermaLink="true">https://forum.netxms.org/post/3097</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 15 Jun 2009 08:03:24 GMT</pubDate></item><item><title><![CDATA[Reply to DCI problem... on Mon, 15 Jun 2009 04:48:43 GMT]]></title><description><![CDATA[<p dir="auto">Yes, you right. That's a python script.</p>
<p dir="auto">And "Process.CountEx(".*","^node_agent")" not work, just return '0', But "python" return '1'.</p>
<p dir="auto">Thanks.<br />
Regards.</p>
]]></description><link>https://forum.netxms.org/post/3096</link><guid isPermaLink="true">https://forum.netxms.org/post/3096</guid><dc:creator><![CDATA[sushizang]]></dc:creator><pubDate>Mon, 15 Jun 2009 04:48:43 GMT</pubDate></item><item><title><![CDATA[Reply to DCI problem... on Sat, 13 Jun 2009 11:14:56 GMT]]></title><description><![CDATA[<p dir="auto">Is node_agent real executable or shell script? If it is a shell script, then executable name will be sh (or bash, ksh, etc. - whatever your shell is), so Process.Count(node_agent) will always return 0 - because it will look for executable named node_agent. You can find processes by command line using Process.CountEx, like this:</p>
<p dir="auto">Process.CountEx(".*","^node_agent")</p>
<p dir="auto">Please note, that Process.CountEx uses regular expressions to find matching processes.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3094</link><guid isPermaLink="true">https://forum.netxms.org/post/3094</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 13 Jun 2009 11:14:56 GMT</pubDate></item><item><title><![CDATA[Reply to DCI problem... on Thu, 11 Jun 2009 14:14:18 GMT]]></title><description><![CDATA[<p dir="auto"># ps -ef | grep node<br />
root      7549     1  0 13:41 ?        00:00:01 ./node_agent -d</p>
<p dir="auto">parameters:<br />
node_agent<br />
node_agent -d<br />
./node_agent<br />
./node_agent -d</p>
<p dir="auto">All of return values are '0'.</p>
<p dir="auto">Thanks.<br />
Regards.</p>
]]></description><link>https://forum.netxms.org/post/3081</link><guid isPermaLink="true">https://forum.netxms.org/post/3081</guid><dc:creator><![CDATA[sushizang]]></dc:creator><pubDate>Thu, 11 Jun 2009 14:14:18 GMT</pubDate></item><item><title><![CDATA[Reply to DCI problem... on Thu, 11 Jun 2009 09:08:16 GMT]]></title><description><![CDATA[<p dir="auto">Could you please post output of ps -ef and NetXMS parameter you are using to count your custom processes?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3080</link><guid isPermaLink="true">https://forum.netxms.org/post/3080</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 11 Jun 2009 09:08:16 GMT</pubDate></item></channel></rss>