WG: Xymon and BBWin: issue with special german characters in MS Windows service names
Hello,
I would like to ask again about this. I played around a bit with the idea of Torsten, but without success. Does anybody out there have an idea?
Best regards Christian
CHRISTIAN BECKER System Engineer CSC
August-Horch-Strasse 28, 56070 Koblenz, Germany Global Outsourcing Services Central Region | www.csc.com
Von: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] Im Auftrag von Becker Christian Gesendet: Dienstag, 26. Juni 2012 11:56 An: bb4 at richter-it.net Cc: Xymon Email List Betreff: Re: [Xymon] Xymon and BBWin: issue with special german characters in MS Windows service names
Hi Torsten,
thank you for your information.
I think, since my Windows servers are running the BBWin client in local mode, the “mechanism” doesn’t use the analsys.cfg (?).
Regards Christian
CHRISTIAN BECKER System Engineer CSC
August-Horch-Strasse 28, 56070 Koblenz, Germany Global Outsourcing Services Central Region | www.csc.com
Von: bb4 at richter-it.net [mailto:bb4 at richter-it.net] Gesendet: Dienstag, 26. Juni 2012 11:45 An: Becker Christian Betreff: Re: [Xymon] Xymon and BBWin: issue with special german characters in MS Windows service names
Hi Christian,
I had a similar problem monitoring ports on a Windows server with german Windows.
There I had to escape the special characters since a netstat did not show "LISTEN" but "ABHÖREN".
Unfortunately I do not remember what exactly I did but in my analysis.cfg there is now something like this:
LOCAL=%[.:]135$ STATE=ABH<99>REN ....
So it looks I replaced the 'Ö' with hex 99.
I think it was something like unicode but I am not sure.
Sorry that I could not be more helpful but I hope I pushed you a little bit in the right direction.
Regards
Torsten
Becker Christian <christian.becker at rhein-zeitung.net> hat am 26. Juni 2012 um 09:55 geschrieben: Hello all,
I have a Xymon server running Xymon 4.3.7 on RHEL 6.1. This setup is working fine. Then I have a couple of Windows servers running BBWin 01.2 in local mode with update feature enabled. This is also running fine.
During the deeper configuration phase I recognized that I have an issue with the special german characters. I found this when I wanted to include services from one of our MS Exchange servers: we have servers running a german MS Windows Server 2008 R2 Enterprise SP1, together with a german MS Exchange 2010. One of the services is the “MSExchangeMailSubmission”, but this is “just” the service name. I think in Xymon (or better: in BBWin) one has to include the display name of the service one wants to monitor (?). The thing is, that the display name of this specific service is “Microsoft Exchange-Mailübergabe”. That’s it. The special german character “ü” screws up the setup in that way, that this particular service won’t get displayed in my setup.
That’s not only a problem with our Exchange servers, but for my understanding it is a problem in the “playing together” between the Xymon and the BBWin setup, or better: it is a problem with the german MS Windows setup.
To troubleshoot this thing I changed the locale of my Xymon server from “en_US.utf8” to “LANG=de_DE.UTF-8”, and after that to “LANG=de_DE.iso885915 at euro”, but without any success. I could monitor these specific services as processes, but this is not what I want.
Do I need to change something else in my setup. i.e. in my webserver?
Any help would be appreciated…
Christian
CHRISTIAN BECKER System Engineer CSC
August-Horch-Strasse 28, 56070 Koblenz, Germany Global Outsourcing Services Central Region | www.csc.com
CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose • CSC Deutschland Services GmbH • Registered Office: Abraham-Lincoln-Park 1, 65189 Wiesbaden, Germany • Board of Directors: Gerhard Fercho (Chairman),Thomas Nebe, Peter Schmidt • Registered in Germany: HRB 7574, Wiesbaden
Hi,
I think, since my Windows servers are running the BBWin client in local mode, the “mechanism” doesn’t use the analysis.cfg (?).
Correct, when you are running in local mode then the status-messages (which determine the color of each status) are generated locally on your Windows server. That is why e.g. you don't have a "ports" status with BBWin running in local mode (at least not with BBWin 0.12 - not sure about 0.13).
Re. your original question about BBWin:
One of the services is the “MSExchangeMailSubmission”, but this is “just” the service name. I think in Xymon (or better: in BBWin) one has to include the display name of the service one wants to monitor (?). The thing is, that the display name of this specific service is “Microsoft Exchange-Mailübergabe”. That’s it. The special german character “ü” screws up the setup in that way, that this particular service won’t get displayed in my setup.
I am not sure if BBWin uses one name or the other; looking at the example of "Automatic Updates" seems like you could be right. It may be better to ask about this on the BBWin mailing list.
As to Torsten's comments about testing this in central mode:
I had a similar problem monitoring ports on a Windows server with german Windows.
There I had to escape the special characters since a netstat did not show "LISTEN" but "ABHÖREN".
Unfortunately I do not remember what exactly I did but in my analysis.cfg there is now something like this:
LOCAL=%[.:]135$ STATE=ABH<99>REN ....
then all of the text-strings you use in analysis.cfg may be regular expressions. So you could use "STATE=%ABH.REN" to match anything at the location of the O-umlaut character.
Regards, Henrik
participants (2)
-
christian.becker@rhein-zeitung.net
-
henrik@hswn.dk