[Xymon] PSClient install script

Beck, Zak zak.beck at accenture.com
Mon Mar 9 12:59:59 CET 2020


I use NSIS for this but unfortunately I don’t think I can share much as it's quite environment-specific in a corporate environment.


-----Original Message-----
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Jonathan Trott
Sent: Sunday, 8 March 2020 20:44
To: Xymon MailingList <xymon at xymon.com>
Subject: [External] Re: [Xymon] PSClient install script

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.

I have most of what you need using vbs - was too hard to get powershell to execute reliably without a signing certificate.
Put this vbs file in the same folder as all the client pieces and run it, it will ask you to confirm the hostname and then install all the pieces and ask you if you want to start the service. You will probably want to edit the script to at least change the address of the xymon server.



On 07/03/20, 18:02, "Xymon on behalf of IO Support" <xymon-bounces at xymon.com on behalf of support at ionetworkadmin.com> wrote:

Hi, has someone created a single script or executable that end users can easily run that will install the client without me having to manually sit at each workstation and download and run all the commands by hand.
Probably easiest would be a zip file that contains an 'install.bat' that performs the following functions.

1. Create new xymon folder in C:\Program Files\ 2. Extract preconfigured Xymon PSClient xml, ps1, and nssm files from zip and save them in the new C:\Program Files\xymon\ folder while making sure that Windows hasn't blocked them.
3. Install the client by running the following PS commands with Admin privileges.  I've attempted a single script for this but can't get it to work.
     Set-ExecutionPolicy RemoteSigned
     cd 'C:\Program Files\xymon\'
     .\xymonclient.ps1 install
     .\xymonclient.ps1 start

Thank You,
Kris Springer

Xymon mailing list
Xymon at xymon.com


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


More information about the Xymon mailing list