NetXMS Support Forum

English Support => Feature Requests => Topic started by: hugo_dknl on September 22, 2021, 12:03:50 PM

Title: Windows EventLog - wineventsync.nsm - how to set additional sending
Post by: hugo_dknl on September 22, 2021, 12:03:50 PM
I am now using the extension SubAgent = wineventsync.nsm and I would like to ask if it is possible to set the sending of events with Windows eventlog additionally to handle the consistency of data sent to the NetXMS DB when the NetXMS agent is not running or the NetSMS server is not running.

For the extension SubAgent = logwatch.nsm, this functionality is solved by the parameter:

[logwatch]
ProcessOfflineEvents = yes

It is possible to set something similar for wineventsync.nsm and if not, it is not considered to add this functionality.

thank you very much
Title: Re: Windows EventLog - wineventsync.nsm - how to set additional sending
Post by: Dawid Kellerman on September 22, 2021, 08:19:48 PM
Hi Hugo

I do not know if this relates to the wineventsync but I think it does..

For Windows Event Log agent keeps status information in Windows registry. On agent start records that were added while the agent was stopped will be parsed.

From https://www.netxms.org/documentation/adminguide/log-monitoring.html?highlight=registry

I will also test to see

Regards Dawid
Title: Re: Windows EventLog - wineventsync.nsm - how to set additional sending
Post by: hugo_dknl on September 23, 2021, 02:46:32 PM
I tried to write an event to the Eventlog and it came OK to the NetXMS server. Then I turned off the "NetXMS agent" service and wrote more data to the Eventlog. Unfortunately, the difference events did not occur after starting the service.  :(

I have already verified this behavior on multiple installations. Current NetXMS agent I have installed - 3.8.314
Title: Re: Windows EventLog - wineventsync.nsm - how to set additional sending
Post by: hugo_dknl on September 29, 2021, 02:19:29 PM
Did you manage to simulate the problem or is it OK for you? Thank you

Quote from: Dawid Kellerman on September 22, 2021, 08:19:48 PM
Hi Hugo

I do not know if this relates to the wineventsync but I think it does..

For Windows Event Log agent keeps status information in Windows registry. On agent start records that were added while the agent was stopped will be parsed.

From https://www.netxms.org/documentation/adminguide/log-monitoring.html?highlight=registry

I will also test to see

Regards Dawid