[Xymon] Xymon Powershell Windows client

Scot Kreienkamp Scot.Kreienkamp at la-z-boy.com
Tue Feb 17 17:07:51 CET 2015


Yes it can monitor a cluster, just not like dito is thinking.

Have the client setup on both nodes, configure xymon to monitor both nodes and the cluster address, and use combo tests to get a cluster status.  Setup the combo tests so they show status on the cluster address, and configure the combo tests so that as long as one of the two nodes is green then the cluster is green as well.  That is the best way, I do the same thing with Linux clusters here.

The other (less desirable) way is to hard code the cluster name in the config of the client, then set that service to failover and start with the cluster.

Scot Kreienkamp

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of zak.beck at accenture.com
Sent: Tuesday, February 17, 2015 10:22 AM
To: dito74 at gmail.com; xymon-developer at lists.sourceforge.net; xymon at xymon.com
Subject: Re: [Xymon] Xymon Powershell Windows client

Hi

I'm not sure I understand the question fully, I'm sure there will be other people on the list who can help.

The client runs as a Windows service and monitors the space and processes running on that one server. It then reports back those results every 5 minutes (by default) to the Xymon server.

If you're asking whether this client can be running on server 1 and monitor server 2, no, it cannot. As far as I know, Xymon is not really designed like that.

However, if each node is attached to shared storage, and the storage is presented as a mapped drive, then yes, it can monitor that. You'd need to use in the local config:

<wanteddisks>3 4</wanteddisks>

and use the update I committed earlier today.

Thanks
Zak

From: Dito [mailto:dito74 at gmail.com]
Sent: 17 February 2015 13:53
To: Beck, Zak; xymon-developer at lists.sourceforge.net<mailto:xymon-developer at lists.sourceforge.net>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Xymon Powershell Windows client


can it be used in a MS cluster resource?  can I monitor sql resource and space on it,  independently of which node it is running on?

On Fri, Feb 13, 2015, 06:35 null <zak.beck at accenture.com<mailto:zak.beck at accenture.com>> wrote:
Hi all,

Today I have uploaded a new version of the Xymon Powershell client to SVN (in sandbox/WinPSClient). We (Accenture) are very pleased to be contributing these changes to the open source community. I've been working on this now for around 8 months on and off and hopefully the changes made will be of benefit to everyone!

Whilst making changes, we have focussed mainly on making it work, improving reliability and most importantly improving performance.

In most cases, on our 64 bit OS virtual machines, a data collection now takes around 5 seconds. On heavily loaded (CPU load or event log load) servers, the script is now considerably faster than originally. Key to this has been reducing the amount of WMI usage as this was a major culprit.

We have also implemented some new features, largely based on our in-house requirements but hopefully useful to others:

•         Showing the process owner and command line in [procs]. This has been implemented using c# code, compiled at runtime.
•         Adding Active Directory replication test, Terminal Services sessions test
•         Ability to restart any stopped Windows service
•         Client self-update
•         Dirsize and dirtime checks (which were originally external scripts)

Some things have changed slightly; for example, the local configuration which was registry-based is now XML-based (you can still use registry settings if you prefer).  In the SVN repository I have also uploaded a Word document which describes how to install and the configuration options.

I have uploaded all the revisions we have made to SVN so there is a history of development. Whilst we will endeavour to continue contributing changes and improvements in coming months, this is an open source project and as such we are not offering any formal support. If anyone wishes to bugfix, branch or whatever, please do so!
Zak Beck
Accenture
_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon



This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150217/2949d3fb/attachment.html>


More information about the Xymon mailing list