[Xymon] R: Windows Services Check with Powershell Client

Alessandro Tinivelli Alessandro.Tinivelli at faacgroup.com
Tue Jan 24 14:16:47 CET 2017


Thank you so much, it works.

I did read the "documentation" only in the header of analysis.cfg, which does not include the SVC definition.

Great work!
Alessandro

Da: zak.beck at accenture.com [mailto:zak.beck at accenture.com]
Inviato: martedì 24 gennaio 2017 12:05
A: Alessandro Tinivelli; xymon at xymon.com
Oggetto: RE: Windows Services Check with Powershell Client

Hi Alessandro

I had a quick look at our server config, and we use this in analysis.cfg:

HOST=hostname
        SVC MSSQLSERVER status=started
        SVC SQLSERVERAGENT status=started

See also https://www.xymon.com/help/manpages/man5/analysis.cfg.5.html.

Cheers

Zak

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Alessandro Tinivelli
Sent: 24 January 2017 10:48
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] Windows Services Check with Powershell Client

Hi folks,

i'm trying the stunning new Powershell client from Zak, and i'm already loving it.

But I cannot figure out how to check if a service is running or not.
I'm using last version 2.19 with Xymon 4.3.28-1terabithia.

I've successfully set in analysis.cfg PORT and PROC checks, but what about "svcs"?

I've also been able to use the directive "servicecheck" in client-local.cfg to instruct the powershellclient to restart stopped services but... I'm still missing the most important (for me) part for windows systems.

Please help :)
Thanks in advance, Alessandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170124/aaf21736/attachment.html>


More information about the Xymon mailing list