<?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[Agent not creating log file]]></title><description><![CDATA[<p dir="auto">Hello, I have a server running NetXMS version 2.0.5, and a client running 2.0.4 with the following config file:</p>
<p dir="auto">##<br />
## netxmsa.conf<br />
##<br />
MasterServers = 10.2.23.208,10.1.23.208,10.2.25.172,10.1.25.172<br />
DataDirectory = C:\ProgramData\NetXMS<br />
EnabledCiphers = 1<br />
ExecTimeout = 300000<br />
FileStore = C:\Users\Public\Downloads<br />
ConfigIncludeDir = C:\ProgramData\NetXMS\netxmsa<br />
LogFile = C:\ProgramData\NetXMS\netxmsa\var\netxmsa.log<br />
# LogFile = {syslog}<br />
RequireAuthentication = no<br />
StartupDelay = 16<br />
SubAgent = portcheck.nsm<br />
SubAgent = winperf.nsm<br />
SubAgent = wmi.nsm</p>
<p dir="auto">The client agent starts, but doesn't not generate the log file C:\ProgramData\NetXMS\netxmsa\var\netxmsa.log.  The directory exists, and has the correct permissions.  Is there some other way I can get diagnostic information to find out why it is not writing out this file?  Thanks, Andrew</p>
]]></description><link>https://forum.netxms.org/topic/4693/agent-not-creating-log-file</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:04:34 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4693.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Sep 2016 22:41:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Agent not creating log file on Thu, 08 Sep 2016 17:21:23 GMT]]></title><description><![CDATA[<p dir="auto">Here is the output when I specify the aforementioned config file and the -D6 switch.  I'm a little concerned about the lines</p>
<p dir="auto">[08-Sep-2016 16:21:15.618] ?????????<br />
and<br />
[08-Sep-2016 16:21:35.119] External parameters providers poller thread will not start</p>
<p dir="auto">I don't think I see anything that relates to the logging issue, but I the line "[08-Sep-2016 16:21:35.119] External parameters providers poller thread will not start" seems to be my original issue, and the reason I was trying to examine the log.  There is an external script, which if you run it from a command line returns legitimate value, but the DCI that calls it comes back as unsupported.</p>
<p dir="auto">Do you have any insight into these two issues given the output?</p>
<p dir="auto">---output---<br />
[08-Sep-2016 16:21:15.431] Additional configs was loaded from C:\ProgramData\NetXMS\netxmsa<br />
[08-Sep-2016 16:21:15.446] Debug level set to 6<br />
[08-Sep-2016 16:21:15.446] Data directory: C:\ProgramData\NetXMS<br />
[08-Sep-2016 16:21:15.446] Subagent API initialized<br />
[08-Sep-2016 16:21:15.446] Validating ciphers<br />
[08-Sep-2016 16:21:15.618]    AES-256 enabled<br />
[08-Sep-2016 16:21:15.618]    Blowfish-256 disabled (config)<br />
[08-Sep-2016 16:21:15.618]    IDEA disabled (config)<br />
[08-Sep-2016 16:21:15.618]    3DES disabled (config)<br />
[08-Sep-2016 16:21:15.618]    AES-128 disabled (config)<br />
[08-Sep-2016 16:21:15.618]    Blowfish-128 disabled (config)<br />
[08-Sep-2016 16:21:15.618] Crypto library initialized<br />
[08-Sep-2016 16:21:15.618] ?????????<br />
[08-Sep-2016 16:21:15.618] DB Library: Database driver "sqlite.ddr" loaded and initialized successfully<br />
[08-Sep-2016 16:21:15.618] New DB connection opened: handle=00000000008C11B0<br />
[08-Sep-2016 16:21:15.634] Local database opened successfully<br />
[08-Sep-2016 16:21:15.634] Subagent "WINNT.NSM" loaded successfully<br />
[08-Sep-2016 16:21:15.634] Subagent "portcheck.nsm" loaded successfully<br />
[08-Sep-2016 16:21:16.523] WinPerf: 2857 counter indexes read<br />
[08-Sep-2016 16:21:16.554] WinPerf: 2857 counter translations read<br />
[08-Sep-2016 16:21:16.772] WinPerf: "\Memory\Free &amp; Zero Page List Bytes" is supported<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A waiting for set change<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_B waiting for set change<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_C waiting for set change<br />
[08-Sep-2016 16:21:17.880] Subagent "winperf.nsm" loaded successfully<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A: set changed<br />
[08-Sep-2016 16:21:17.880] Subagent "wmi.nsm" loaded successfully<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A: Counter "\System\Processor Queue Length" added to query<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A: Counter "\System\Processor Queue Length" added to query<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A: Counter "\System\Processor Queue Length" added to query<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A: Counter "\Processor(_Total)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A: Counter "\Processor(_Total)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A: Counter "\Processor(_Total)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A: Counter "\PhysicalDisk(_Total)\Avg. Disk Queue Length" added to query<br />
[08-Sep-2016 16:21:17.880] WINPERF: CollectorThread_A: Counter "\PhysicalDisk(_Total)\% Disk Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(0)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(0)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(0)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(1)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(1)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(1)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(2)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(2)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(2)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(3)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(3)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(3)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(4)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(4)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(4)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(5)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(5)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(5)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(6)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(6)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(6)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(7)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.896] WINPERF: CollectorThread_A: Counter "\Processor(7)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.911] WINPERF: CollectorThread_A: Counter "\Processor(7)\% Processor Time" added to query<br />
[08-Sep-2016 16:21:17.911] WINPERF: CollectorThread_A entered data collection loop<br />
WAIT [................]<br />
[08-Sep-2016 16:21:35.119] External parameters providers poller thread will not start<br />
[08-Sep-2016 16:21:35.119] Data collection scheduler thread started<br />
[08-Sep-2016 16:21:35.119] Data sender thread started<br />
[08-Sep-2016 16:21:35.119] Database writer thread started<br />
[08-Sep-2016 16:21:35.119] Thread pool DATACOLL initialized (min=1, max=64)<br />
[08-Sep-2016 16:21:35.119] Data reconciliation thread started<br />
[08-Sep-2016 16:21:35.119] PushConnector: named pipe created, waiting for connection<br />
[08-Sep-2016 16:21:35.119] StorageDiscoveryConnector: named pipe created, waiting for connection<br />
[08-Sep-2016 16:21:35.119] Trying to bind on 0.0.0.0:4700<br />
[08-Sep-2016 16:21:35.119] Trying to bind on 127.0.0.1:28180<br />
[08-Sep-2016 16:21:35.119] Trying to bind on [::]:4700<br />
[08-Sep-2016 16:21:35.119] Session agent connector listening on port 28180<br />
[08-Sep-2016 16:21:35.119] Listening on socket 0.0.0.0:4700<br />
[08-Sep-2016 16:21:35.119] Listening on socket [::]:4700<br />
[08-Sep-2016 16:21:36.133] NetXMS Agent started<br />
Agent running. Press ESC to shutdown.<br />
Agent shutting down...<br />
[08-Sep-2016 16:21:39.939] Shutdown() called<br />
[08-Sep-2016 16:21:39.955] WINPERF: Collector thread for counter set C terminated<br />
[08-Sep-2016 16:21:39.955] Waiting for data collector thread termination<br />
[08-Sep-2016 16:21:39.955] WINPERF: Collector thread for counter set B terminated<br />
[08-Sep-2016 16:21:39.955] Stopping threads in thread pool DATACOLL<br />
[08-Sep-2016 16:21:39.955] WINPERF: Collector thread for counter set A terminated<br />
[08-Sep-2016 16:21:39.955] Maintenance thread for thread pool DATACOLL stopped<br />
[08-Sep-2016 16:21:39.955] Data reconciliation thread stopped<br />
[08-Sep-2016 16:21:39.955] Thread pool DATACOLL destroyed<br />
[08-Sep-2016 16:21:39.955] Data collection scheduler thread stopped<br />
[08-Sep-2016 16:21:39.955] Waiting for data sender thread termination<br />
[08-Sep-2016 16:21:39.955] Data sender thread stopped<br />
[08-Sep-2016 16:21:39.955] Waiting for database writer thread termination<br />
[08-Sep-2016 16:21:39.970] Database writer thread stopped<br />
[08-Sep-2016 16:21:39.970] Waiting for data reconciliation thread termination<br />
[08-Sep-2016 16:21:39.970] Trap sender thread terminated<br />
[08-Sep-2016 16:21:40.189] Session agent connector thread terminated<br />
[08-Sep-2016 16:21:41.141] Session Watchdog thread terminated<br />
[08-Sep-2016 16:21:41.141] Listener thread terminated<br />
[08-Sep-2016 16:21:41.141] DB connection 00000000008C11B0 closed<br />
[08-Sep-2016 16:21:41.141] NetXMS Agent stopped</p>
]]></description><link>https://forum.netxms.org/post/20905</link><guid isPermaLink="true">https://forum.netxms.org/post/20905</guid><dc:creator><![CDATA[Andrew]]></dc:creator><pubDate>Thu, 08 Sep 2016 17:21:23 GMT</pubDate></item><item><title><![CDATA[Reply to Agent not creating log file on Thu, 08 Sep 2016 08:06:23 GMT]]></title><description><![CDATA[<p dir="auto">I hope that name of your config for nxagentd(NX agent) is "nxagentd.conf", not "netxmsa.conf". What does agent writes if you start it from console like: "C:\ProgramData\NetXMS\bin\nxagentd -D6"</p>
<p dir="auto">Config file for the server should be named "netxmsd.conf" and for the agent "nxagentd.conf"</p>
]]></description><link>https://forum.netxms.org/post/20901</link><guid isPermaLink="true">https://forum.netxms.org/post/20901</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Thu, 08 Sep 2016 08:06:23 GMT</pubDate></item></channel></rss>