<?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[About the agent lower layers handler function use distinguish between "Windows"]]></title><description><![CDATA[<p dir="auto">    In agent's spurce code : When you use the "nxget" tool to get agent's parameters, The agent finally call the "getParameter()" function.and finally it call " m_pParamList[i].handler(pszParam, m_pParamList[i].arg, pszValue) " .<br />
    my question is : It do that workflow in both Windows and Linux platform. But it must have a "switch" to distinguish the OS platform,because the handler function(such as: H_DiskInfo  H_ProcessCount ) in different OS platform is different. Can you tell me where is the "switch" I can find it in src.</p>
]]></description><link>https://forum.netxms.org/topic/1431/about-the-agent-lower-layers-handler-function-use-distinguish-between-windows</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:27:14 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1431.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Nov 2011 14:15:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to About the agent lower layers handler function use distinguish between "Windows" on Tue, 08 Nov 2011 00:49:37 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://forum.netxms.org/post/6252</link><guid isPermaLink="true">https://forum.netxms.org/post/6252</guid><dc:creator><![CDATA[x199x]]></dc:creator><pubDate>Tue, 08 Nov 2011 00:49:37 GMT</pubDate></item><item><title><![CDATA[Reply to About the agent lower layers handler function use distinguish between "Windows" on Mon, 07 Nov 2011 16:48:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Agent is modular, and platform-specific parameters are provided by subagents. When agent starts, it automatically loads so-called "platform subagent", which provides these parameters. For example, on Windows agent will load "winnt.nsm", and on Linux it will load "libnsm_linux.so". After subagent loading, parameters provided it added to m_ParamList in core agent. You may take a look inside subagent.cpp if you are interested how subagents are loaded.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6251</link><guid isPermaLink="true">https://forum.netxms.org/post/6251</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 07 Nov 2011 16:48:09 GMT</pubDate></item></channel></rss>