Xymon Mailing List Archive search

Windows Service Checking

list Ulric Eriksson
Fri, 13 May 2016 11:21:59 +0200
Message-Id: <user-e225fb883b27@xymon.invalid>

That is correct, whitespace in service names are not allowed, but that rule is not enforced and there are services with names that contain whitespace. I learned that the hard way, which is why MrBig allows services to be identified either by their service names or by their display names.

Ulric


Den 2016-05-13 kl. 09:57, skrev Lukas Kohl:
Hello,
have you tried double clicking the service in services ?
Afaik, Service names with whitespaces are not allowed.


Regards,
Lukas


Von: <user-aada0fa38bf8@xymon.invalid>
An: <user-a6c09f28d9d2@xymon.invalid>
Kopie: xymon at xymon.com
Datum: 13.05.2016 09:47
Betreff: Re: [Xymon] Windows Service Checking
Gesendet von: "Xymon" <xymon-bounces at xymon.com>


Hi

Fair enough – it must be something to do with analysis.cfg then.

The man page is a bit light on information in this area – have you tried \ (backslash-space) for the spaces?

Maybe someone else could chip in with the correct configuration.

Zak

*From:* David Boyer [mailto:user-a6c09f28d9d2@xymon.invalid] *
Sent:* 12 May 2016 17:59*
To:* Beck, Zak <user-aada0fa38bf8@xymon.invalid>*
Subject:* Re: [Xymon] Windows Service Checking

Zak,
     Using TaskMgr to view the Services, it 's listed as
"NetBackup Client Service"... Since this is our intranet, I can't just cut/paste info.
But using the Internet workstation I can use an example of how it looks.
This is the display in TaskMgr:
Inline image 1
And listed in Component Services as:
Inline image 2
I also have teh CcmExec service and find it ok.. I wonder if it's related to Services with spaces in
the name.  As I've noticed there are very few of them.

Thanks,
Dave

On Thu, May 12, 2016 at 11:25 AM, <user-ac8f9960c03b@xymon.invalid_ <mailto:user-aada0fa38bf8@xymon.invalid>> wrote:
Hi David

Is the name "Netbackup Client Server" listed on the svcs page in the name column?

In Windows, services have a display name and a name. The display name is what is generally shown in Control Panel -> Services.

The name is what is listed on the svcs page in the left-most column (display name in the right-most) and I believe it is the name you will need to match.

Sometimes these can be quite different, for example, the service "SMS Agent Host" (displayname) has the name CcmExec.

Cheers

Zak

*From:* Xymon [mailto:user-f563693ea02a@xymon.invalid_ <mailto:xymon-bounces at xymon.com>] *On Behalf Of *David Boyer*
Sent:* 12 May 2016 15:57*
To:* user-092e8218550c@xymon.invalid_ <mailto:xymon at xymon.com>*
Subject:* [Xymon] Windows Service Checking

I'm using Xymon 4.3.27 server and WinPSClient 2.15.
I've put the following lines in the analysis.cfg file.
SVC "Netbackup Client Service"
SVC XymonPSClient
Xymon correctly matches up the XymonPSClient on the SVCS page,
but the "Netbackup Client Server".
I've tried it with/without the quotes in the analysis.cfg file.
What am I missing?
Thanks,
Dave
 [Anhang "smime.p7s" gelöscht von Lukas Kohl/NBG1/ERGODirekt] 


www.ergodirekt.de

Blog: http://blog.ergodirekt.de
Facebook: www.facebook.com/ERGODirekt
Google+: www.google.com/+ergodirekt
Twitter: www.twitter.com/ERGODirekt
YouTube: www.youtube.com/ERGODirekt

ERGO Direkt Lebensversicherung AG ·Amtsgericht Fürth HRB 2787 ·UST-ID-Nr. DE159593454
ERGO Direkt Versicherung AG ·Amtsgericht Fürth HRB 2934 ·UST-ID-Nr. DE159593438
ERGO Direkt Krankenversicherung AG ·Amtsgericht Fürth HRB 4694 ·UST-ID-Nr. DE159593446
Vorsitzender der Aufsichtsräte der ERGO Direkt Lebensversicherung AG und der ERGO Direkt Krankenversicherung AG: Dr. Clemens Muth
Vorsitzender des Aufsichtsrats der ERGO Direkt Versicherung AG: Christian Diedrich
Vorstände: Peter Stockhorst (Vorsitzender), Ralf Hartmann, Dr. Jörg Stoffels ·Sitz: Fürth
Karl-Martell-Straße 60 ·90344 Nürnberg ·Internet: ergodirekt.de
UniCredit Bank AG - HypoVereinsbank Kto.-Nr.: 66 071 430 ·BLZ 700 202 70
IBAN: DE63 7002 0270 0066 0714 30 ·BIC: HYVEDEMM