<?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[Event generated but could not see it in event_log]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I am trying to generate event using logwatch.nsm subagent</p>
<p dir="auto">I have parser as below<br />
&lt;parser&gt;<br />
  &lt;file&gt;/apps/uspsqa1/switch/site/log/sys/SunOSsyslg.log&lt;/file&gt;<br />
  &lt;rules&gt;<br />
    &lt;rule&gt;<br />
      &lt;match&gt;F-(.*)&lt;/match&gt;<br />
      &lt;event params="1"&gt;IST_SYSLG1_RECORD&lt;/event&gt;<br />
    &lt;/rule&gt;<br />
  &lt;/rules&gt;<br />
&lt;/parser&gt;</p>
<p dir="auto">and I can see following lines in nxagentd.log when match take place</p>
<p dir="auto">nxagentd.log:[29-Jul-2015 06:57:24.022] [DEBUG] SendTrap(): event_code=0, event_name=IST_SYSLG1_RECORD, num_args=1, arg[0]="RTTSRF-0017: read equ record failed" arg[1]="(null)" arg[2]="(null)"</p>
<p dir="auto">However, I could not see event being logged into event_log table, as a result I could not see it event log monitor and I could not use it to generate alarts</p>
<p dir="auto">In event IST_SYSLG1_RECORD configuration,  I have also enabled the option to Write to even log</p>
<p dir="auto">But still I could not see event being logged in event_log table</p>
<p dir="auto">Please help me</p>
<p dir="auto">Regards<br />
Naga</p>
]]></description><link>https://forum.netxms.org/topic/3900/event-generated-but-could-not-see-it-in-event_log</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:07:58 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3900.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Jul 2015 12:15:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Fri, 07 Aug 2015 05:05:45 GMT]]></title><description><![CDATA[<p dir="auto">Excellent Victor, thanks for your support<br />
After making the changes suggested by you, I could see approriate log messages in both agent log and server log</p>
<p dir="auto">Agent log:<br />
[06-Aug-2015 23:59:32.636] [DEBUG] [session:0] GetTableValue(): result is 0 (SUCCESS)<br />
[06-Aug-2015 23:59:32.637] [DEBUG] [session:0] Sending message CMD_REQUEST_COMPLETED (size 2880)<br />
[06-Aug-2015 23:59:33.055] [DEBUG] LogParser: new data avialable in file "/apps/uspsqa1/switch/site/log/sys/SunOSsyslg.log"<br />
[06-Aug-2015 23:59:33.055] [DEBUG] SendTrap(): event_code=0, event_name=IST_SYSLG1_RECORD, num_args=1, arg[0]="fatal error" arg[1]="(null)" arg[2]="(null)"<br />
[06-Aug-2015 23:59:33.055] [DEBUG] [session:0] Sending message CMD_TRAP (size 144)</p>
<p dir="auto">Server log:<br />
g-2015 23:59:06.692] [DEBUG] StatusPoll(s1): bAllDown=false, dynFlags=0x00000001<br />
[06-Aug-2015 23:59:06.694] [DEBUG] StatusPoll(s1 [112]): boot time set to 1438269511 from agent<br />
[06-Aug-2015 23:59:06.695] [DEBUG] Finished status poll for node s1 (ID: 112)<br />
[06-Aug-2015 23:59:33.056] [DEBUG] AgentConnectionEx::onTrap(): Received trap message from agent at 10.80.226.33, node ID 112<br />
[06-Aug-2015 23:59:33.056] [DEBUG] AgentConnectionEx::onTrap(): trapID is valid<br />
[06-Aug-2015 23:59:33.056] [DEBUG] Event from trap: 100066<br />
[06-Aug-2015 23:59:33.056] [DEBUG] CorrelateEvent: event IST_SYSLG1_RECORD id 44 source s1 [112]<br />
[06-Aug-2015 23:59:33.056] [DEBUG] CorrelateEvent: finished, rootId=0<br />
[06-Aug-2015 23:59:33.056] [DEBUG] EVENT 100066 (ID:44 F:0x0001 S:0 TAG:"") FROM s1: fatal error<br />
[06-Aug-2015 23:59:33.057] [DEBUG] Event 44 match EPP rule 27<br />
[06-Aug-2015 23:59:46.486] [DEBUG] Updating maps...</p>
<p dir="auto">Also could see event being logged in event_log table</p>
<p dir="auto">Regards<br />
Naga</p>
]]></description><link>https://forum.netxms.org/post/17506</link><guid isPermaLink="true">https://forum.netxms.org/post/17506</guid><dc:creator><![CDATA[Nagav]]></dc:creator><pubDate>Fri, 07 Aug 2015 05:05:45 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Thu, 06 Aug 2015 11:29:52 GMT]]></title><description><![CDATA[<p dir="auto">So, there are two problems. First, you should add 127.0.0.1 to list of MasterServers for agent running on NetXMS server. Second, you should check that primary host name for node is not set to 127.0.0.1, but to real IP address.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17499</link><guid isPermaLink="true">https://forum.netxms.org/post/17499</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 06 Aug 2015 11:29:52 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Thu, 06 Aug 2015 10:24:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Just now I noticed that</p>
<p dir="auto">if I comment out server name in server and control list<br />
I see following logs in agent and DCI's did not collect data</p>
<p dir="auto">[06-Aug-2015 05:20:36.789] [DEBUG] Connection from 127.0.0.1 rejected<br />
[06-Aug-2015 05:20:36.789] [DEBUG] Incoming connection from 127.0.0.1<br />
[06-Aug-2015 05:20:36.789] [DEBUG] Connection from 127.0.0.1 rejected<br />
[06-Aug-2015 05:20:36.789] [DEBUG] Incoming connection from 127.0.0.1<br />
[06-Aug-2015 05:20:36.789] [DEBUG] Connection from 127.0.0.1 rejected<br />
[06-Aug-2015 05:20:36.790] [DEBUG] Incoming connection from 127.0.0.1<br />
[06-Aug-2015 05:20:36.790] [DEBUG] Connection from 127.0.0.1 rejected<br />
[06-Aug-2015 05:20:36.790] [DEBUG] Incoming connection from 127.0.0.1<br />
[06-Aug-2015 05:20:36.790] [DEBUG] Connection from 127.0.0.1 rejected<br />
[06-Aug-2015 05:20:36.791] [DEBUG] Incoming connection from 127.0.0.1<br />
[06-Aug-2015 05:20:36.791] [DEBUG] Connection from 127.0.0.1 rejected<br />
[06-Aug-2015 05:20:36.791] [DEBUG] Incoming connection from 127.0.0.1<br />
[06-Aug-2015 05:20:36.791] [DEBUG] Connection from 127.0.0.1 rejected<br />
[06-Aug-2015 05:20:36.792] [DEBUG] Incoming connection from 127.0.0.1<br />
[06-Aug-2015 05:20:36.792] [DEBUG] Connection from 127.0.0.1 rejected<br />
[06-Aug-2015 05:20:36.792] [DEBUG] Incoming connection from 127.0.0.1<br />
[06-Aug-2015 05:20:36.792] [DEBUG] Connection from 127.0.0.1 rejected</p>
<p dir="auto">Thanks<br />
Naga</p>
]]></description><link>https://forum.netxms.org/post/17493</link><guid isPermaLink="true">https://forum.netxms.org/post/17493</guid><dc:creator><![CDATA[Nagav]]></dc:creator><pubDate>Thu, 06 Aug 2015 10:24:34 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Thu, 06 Aug 2015 10:12:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Attached updated agent configuration</p>
<p dir="auto">Thanks<br />
Naga</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000002389-Updated_agt_conf.txt">Updated_agt_conf.txt</a></p>
]]></description><link>https://forum.netxms.org/post/17489</link><guid isPermaLink="true">https://forum.netxms.org/post/17489</guid><dc:creator><![CDATA[Nagav]]></dc:creator><pubDate>Thu, 06 Aug 2015 10:12:21 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Thu, 06 Aug 2015 10:02:48 GMT]]></title><description><![CDATA[<p dir="auto">Can you post agent config for verification please?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17487</link><guid isPermaLink="true">https://forum.netxms.org/post/17487</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 06 Aug 2015 10:02:48 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Thu, 06 Aug 2015 10:01:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor</p>
<p dir="auto">Tried your suggestion, still I could see only two line in agent log file<br />
[06-Aug-2015 05:00:21.367] [DEBUG] LogParser: new data avialable in file "/apps/uspsqa1/switch/site/log/sys/SunOSsyslg.log"<br />
[06-Aug-2015 05:00:21.367] [DEBUG] SendTrap(): event_code=0, event_name=IST_SYSLG1_RECORD, num_args=1, arg[0]="fatal error" arg[1]="(null)" arg[2]="(null)"</p>
<p dir="auto">Regards<br />
Naga</p>
]]></description><link>https://forum.netxms.org/post/17486</link><guid isPermaLink="true">https://forum.netxms.org/post/17486</guid><dc:creator><![CDATA[Nagav]]></dc:creator><pubDate>Thu, 06 Aug 2015 10:01:03 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Thu, 06 Aug 2015 08:37:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">your agent version (2.0-M2) has a bug that can cause incorrect server access if server address listed in multiple categories (Servers, ControlServers, MasterServers). Try to comment out Servers and ControlServers options in nxagentd.conf leaving only MasterServers.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17480</link><guid isPermaLink="true">https://forum.netxms.org/post/17480</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 06 Aug 2015 08:37:34 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Thu, 06 Aug 2015 08:31:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor</p>
<p dir="auto">Attached nxagentd.conf file and word doc that has screenshot of node property and node configuration poll details</p>
<p dir="auto">Regards<br />
Naga</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000002387-nxagentd_conf.txt">nxagentd_conf.txt</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000002388-Node_property_and_configuration_poll.docx">Node property and configuration poll.docx</a></p>
]]></description><link>https://forum.netxms.org/post/17479</link><guid isPermaLink="true">https://forum.netxms.org/post/17479</guid><dc:creator><![CDATA[Nagav]]></dc:creator><pubDate>Thu, 06 Aug 2015 08:31:18 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Wed, 05 Aug 2015 14:46:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">most likely it indicated that there are no server connection accepting traps. Can you share agent configuration file (nxagentd.conf)? Also, how this node is configured in NetXMS server and what is configuration poll output for it?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17468</link><guid isPermaLink="true">https://forum.netxms.org/post/17468</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 05 Aug 2015 14:46:40 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Wed, 05 Aug 2015 08:29:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor</p>
<p dir="auto">I have made debug level of agent to 9 and restated the agent.<br />
But I could not see message ""sending message CMD_TRAP" after SendTrap() record" in agent log file</p>
<p dir="auto">In agent log I could see only following two line<br />
[05-Aug-2015 03:16:15.483] [DEBUG] LogParser: new data avialable in file "/apps/uspsqa1/switch/site/log/sys/SunOSsyslg.log"<br />
[05-Aug-2015 03:16:15.484] [DEBUG] SendTrap(): event_code=0, event_name=IST_SYSLG1_RECORD, num_args=1, arg[0]="Fatal error " arg[1]="(null)" arg[2]="(null)"</p>
<p dir="auto">Should I do any change to get "sending message CMD_TRAP" after SendTrap() record<br />
Please help</p>
<p dir="auto">Regards<br />
Naga</p>
]]></description><link>https://forum.netxms.org/post/17454</link><guid isPermaLink="true">https://forum.netxms.org/post/17454</guid><dc:creator><![CDATA[Nagav]]></dc:creator><pubDate>Wed, 05 Aug 2015 08:29:34 GMT</pubDate></item><item><title><![CDATA[Reply to Event generated but could not see it in event_log on Tue, 04 Aug 2015 14:26:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">configuration on agent side seems to be ok, and SendTrap record in log confirms that event is being generated. Check that you run agent with debug level 6 or higher and try to find record similar to "sending message CMD_TRAP" after SendTrap() record. If you'll find it, it mean that message was actually sent to server and problem is on server side. If not, problem is on agent side.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17447</link><guid isPermaLink="true">https://forum.netxms.org/post/17447</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 04 Aug 2015 14:26:28 GMT</pubDate></item></channel></rss>