Logwatch Error with NetXMS 0.2.31 on Windows 2008 64bit
-
After some more analysis and testing I did notice following (seems to be a bug):
As long as I set the windows event log severity to 1 (== ERROR) in the logwathc parser xml-file; eventlog WARNING messages get reportet but not the ERROR'S.
When I change the severity to 2 (== WARNING); WARNING's AND ERRORS get reported.
It seems that the logwatch parser has a problem identifying/filtering the eventlog severity on Windows 2008 servers.
@Victor: Any ideas / chance to fix?
Thanks a lot and kind regards
-
Hi!
Could you please post your parser configuration file? It may be just one rule which is not working.
Best regards,
Victor -
-
Hi!
It seems that I have fixed the problem. Attached is logwatch.nsm for Windows x64. Could you please try it?
Best regards,
Victor
-
-
After Upgrading to the latest available release (1.1.0-rc11) Logwatch stoped working on some systems.
When I trace I get the following errors in the debug log:LogWatch: publisher name is NetXMS Win32 Agent
LogWatch: Call to EvtFormatMessage failed: The specified resource language ID cannot be found in the image file.Any ideas why?
Kind Regards
Nikos
-
Do you use English version of Windows or localized one?
Best regards,
Victor -
Hi Victor
It's a english version. I checked with the other systems where logwatch is working, and the only thing which was different, that for non-unicode regional settings the one which gives us problems the location was set to german-switzerland. I changed this to english, but no success.
-
-
Hi!
Unfortunately no. I cannot reproduce this problem nor find any useful information about this error. Interesting thing is that from the trace ("LogWatch: publisher name is NetXMS Win32 Agent") we can see that agent fails on formatting it's own messages. Is it always the case? If yes, could you try to reinstall agent's service on problematic machine with the following commands:
nxagentd.exe -R
nxagentd.exe -I -c <full+path_to_config_file>Best regards,
Victor -
Hi Victor!
I did the following:
C:\NetXMS\bin>nxagentd.exe -R
Win32 Agent service deleted successfully
Event source "NetXMS Win32 Agent" uninstalled successfullyC:\NetXMS\bin>nxagentd.exe -I -c "C:\NetXMS\etc\nxagentd.conf"
Service "NetXMSAgentdW32" created successfully
Event source "NetXMS Win32 Agent" installed successfullyUnfortunately it is still not working. I did try it as well with the 0.2.31 Version and the "fixed" logwatch.nsm go created once, but strangly it is as well not working.

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