NetXMS Event Log Monitoring
-
Hi,
I've started testing Windows Event Log monitoring via NetXMS.
Created a basic logwatch file looking for two particular backup related events.
In general, this works ok - except sometimes the agent will just crash when a matching event is found.
The matching event is not recorded on the NetXMS server, but I can see the message in the Windows Event Log.
The agent at that point requires a manual restart, which works just fine.
I've automated the restart part and can confirm that any such crash occurs at the same time as one of the two backup messages is logged.
The same event an hour later then works fine.I have been unable to find a pattern here, it seems completely random. An agent can run for days or just hours.
If the logwatch syntax was at fault, it should either not work or crash every time - but it doesn't.Not sure if anyone else has seen something like this?
Cheers
-
@tursiops said in NetXMS Event Log Monitoring:
Not sure if anyone else has seen something like this?
I'm using to LOGWATCH subagent to monitor both standard windows event log and custom event logs (I have one created by my application) and up to know I didn't notice that kind of behavior.
I'm currently on version 2.0.8 on both server and agents.
Marco.
-
-
-
That would make sense then. We're using 2.1-M2 as well.
At present we detect when the Agent crashes and restart the service automatically.
(That doesn't always work either, as we also use quite a few ExternalParameters which call PowerShell. For some reason sometimes a PowerShell process will just keep running and lock port 4700. So when NetXMS stops, it can not start again until the PowerShell process in question is terminated. But that's probably a different issue to the Event Log one.)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login