[Xymon] Windows Services Check with Powershell Client
zak.beck at accenture.com
zak.beck at accenture.com
Tue Jan 24 12:05:28 CET 2017
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
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/52a79068/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6831 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170124/52a79068/attachment.bin>
More information about the Xymon
mailing list