<?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[Problem with agent log: could not open]]></title><description><![CDATA[<p dir="auto">I have a Windows Server 2008 box with the 2.2.15 agent installed and get an alarm after adding the node "Problem with agent log: could not open"</p>
<p dir="auto">I've removed and reinstalled and installed it just like all my other servers, but am not sure why this one is failing.  I also tried to reapply the permissions down the tree from c:\netxms, but that didn't work either.</p>
<p dir="auto">If I run the agent manually, I get this below.</p>
<pre><code>C:\NetXMS\bin&gt;nxagentd -D6
ERROR: Cannot open log file, logs will be written to syslog with debug level 1
</code></pre>
<p dir="auto">When I do a full poll, everything seems to run fine (see below)</p>
<pre><code>[2019.06.06 10:18:28] **** Poll request sent to server ****
[2019.06.06 10:18:28] Poll request accepted
[2019.06.06 10:18:28] Starting configuration poll for node CHRONOS
[2019.06.06 10:18:28] Capability reset
[2019.06.06 10:18:28] Checking node's capabilities...
[2019.06.06 10:18:28]    Checking NetXMS agent...
[2019.06.06 10:18:28]    NetXMS native agent is active
[2019.06.06 10:18:28]    NetXMS agent version changed to 2.2.15
[2019.06.06 10:18:28]    Platform name changed to windows-x64
[2019.06.06 10:18:28]    System description changed to Windows CHRONOS 6.1.7601 Windows Server 2008 R2 Build 7601 Service Pack 1 AMD-64
[2019.06.06 10:18:28]    Reading list of available Windows Performance Counters...
[2019.06.06 10:18:38]    75 counters read
[2019.06.06 10:18:39]    Checking SNMP...
[2019.06.06 10:19:01] Capability check finished
[2019.06.06 10:19:01] Checking interface configuration...
[2019.06.06 10:19:01] Interface configuration check finished
[2019.06.06 10:19:01] Checking node name
[2019.06.06 10:19:01] Node name is OK
[2019.06.06 10:19:01] Reading list of installed software packages
[2019.06.06 10:19:01] Got information about 71 installed software packages
[2019.06.06 10:19:02] Finished configuration poll for node CHRONOS
[2019.06.06 10:19:02] Node configuration was changed after poll
[2019.06.06 10:19:02] **** Poll completed successfully ****
</code></pre>
<p dir="auto">Any help is appreciated!</p>
]]></description><link>https://forum.netxms.org/topic/5982/problem-with-agent-log-could-not-open</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:50:08 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5982.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Jun 2019 15:21:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with agent log: could not open on Mon, 10 Jun 2019 22:56:50 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the help, that seemed to work, but I've got many other Windows servers with the exact same settings that work just fine.</p>
<p dir="auto">I appreciate the help.</p>
]]></description><link>https://forum.netxms.org/post/25917</link><guid isPermaLink="true">https://forum.netxms.org/post/25917</guid><dc:creator><![CDATA[blairmc96]]></dc:creator><pubDate>Mon, 10 Jun 2019 22:56:50 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with agent log: could not open on Mon, 10 Jun 2019 21:07:28 GMT]]></title><description><![CDATA[<p dir="auto">You haven't configured a log file as such.<br />
It's possible the error message is misleading. {syslog} on Windows means it will log to the Windows Event Log, not a file.</p>
<p dir="auto">If you want an actual log file, you would need to enter the full path/filename, e.g.</p>
<pre><code>LogFile = C:\NetXMS\nxagentd.log
</code></pre>
]]></description><link>https://forum.netxms.org/post/25914</link><guid isPermaLink="true">https://forum.netxms.org/post/25914</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Mon, 10 Jun 2019 21:07:28 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with agent log: could not open on Mon, 10 Jun 2019 14:25:29 GMT]]></title><description><![CDATA[<p dir="auto">Here it is.  It's the same as all the rest.</p>
<p dir="auto">Thanks!</p>
<pre><code>#
# NetXMS agent configuration file
# Created by agent installer at Wed May 29 09:41:58 2019
#

MasterServers = ###.###.###.### (NetXMS server IP)
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
LogFile = {syslog}
FileStore = C:\NetXMS\var
SubAgent = ecs.nsm
SubAgent = filemgr.nsm
SubAgent = ping.nsm
SubAgent = logwatch.nsm
SubAgent = portcheck.nsm
SubAgent = winperf.nsm
SubAgent = wmi.nsm
</code></pre>
]]></description><link>https://forum.netxms.org/post/25912</link><guid isPermaLink="true">https://forum.netxms.org/post/25912</guid><dc:creator><![CDATA[blairmc96]]></dc:creator><pubDate>Mon, 10 Jun 2019 14:25:29 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with agent log: could not open on Mon, 10 Jun 2019 02:53:46 GMT]]></title><description><![CDATA[<p dir="auto">Can you post your Agent configuration file, please?</p>
]]></description><link>https://forum.netxms.org/post/25902</link><guid isPermaLink="true">https://forum.netxms.org/post/25902</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Mon, 10 Jun 2019 02:53:46 GMT</pubDate></item></channel></rss>