Hello,
We have several German servers in branch offices that we monitor. We've recently started using NXLOG to collect all our Windows event logs and centralize them within Nagios log server. When we login with our account the server displays in English due to a language pack, while the system is actually installed in German. Because of that we receive all the logging in German which is difficult to read through + it can mess with several queries.
Is there a way to force the server to send the logs in English? When I navigate to the event viewer manually I can see all the audit loggings in English just fine.
Kind regards,
Dennis Lans
Language of the received logs
Re: Language of the received logs
The nxlog module responsible for sending the Windows event log, im_msvistalog, always grabs the event logs in the default system language. If that's German, then im_msvistalog will pull the German version of the event logs.
Unfortunately, that particular module doesn't have settings for changing which copy of the event logs (English or German) it's pulling from. The module would have to be re-written to account for that. The Windows function that im_vistalog uses, EvtRender, can accept a context which could be leveraged to specify a language. Unfortunately, a context cannot be provided when the EvtRenderEventXml flag is used, which this module uses extensively.
The short answer: The module would need to be re-written.
Unfortunately, that particular module doesn't have settings for changing which copy of the event logs (English or German) it's pulling from. The module would have to be re-written to account for that. The Windows function that im_vistalog uses, EvtRender, can accept a context which could be leveraged to specify a language. Unfortunately, a context cannot be provided when the EvtRenderEventXml flag is used, which this module uses extensively.
The short answer: The module would need to be re-written.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Language of the received logs
Hi Mcapra,
Thank you for your reply, I understand it perfectly. Not sure what we'll do, but it's likely we will just have to learn to read German =).
Kind regards,
Dennis Lans
Thank you for your reply, I understand it perfectly. Not sure what we'll do, but it's likely we will just have to learn to read German =).
Kind regards,
Dennis Lans
Re: Language of the received logs
Hi Dennis,
Was there anything else we can help with on this or can we consider this thread closed?
Was there anything else we can help with on this or can we consider this thread closed?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.