[xymon] About Windows PS Client
David Baldwin
david.baldwin at ausport.gov.au
Tue Jan 25 01:28:09 CET 2011
On 25/01/11 8:05 AM, dOCtoR MADneSs wrote:
> Le 24/01/2011 07:10, David Baldwin a écrit :
>> On 24/01/11 3:55 AM, dOCtoR MADneSs wrote:
>>> Hi,
>>>
>>> I found this Xymon client :
>>> http://xymon.svn.sourceforge.net/viewvc/xymon/sandbox/WinPSClient/
>>> I tried to install it the way I found logical.
>>>
>>> 1st : I fought with Windows 7 Home Premium to allow execution on
>>> PowerShell scripts. I finally edited registry and allow it manually.
>>> 2nd : As administrator, I ran "powershell", then tried to install the
>>> service this way :
>>> .\xymonclient.ps1 install
>>>
>>> But I got many errors about adding service and modifying registry (all
>>> errors are related to permission denial).
>>>
>>> Can D Baldwin, or anyone else informed about powershell and Xymon client
>>> installation, help me ?
>>>
>> You'd need to have Administrator access to install I'm pretty sure.
>>
>> Please send me the errors and I'll see what I can do. I can probably
>> find a Windows 7 box to test on.
>>
>> Thanks, David.
>>
> Hi,
>
> Can you give me informations about XymonPSClient.exe ?
XymonPSClient.exe is just a renamed copy of ABC_SRVANY.EXE which is just
the service runner that spawns the powershell process to run the script
- it is xymonclient.ps1 that is the actual client code.
> Where logs and temporary files are stored ?
%TEMP%\xymonclient.log - contains date stamp and a copy of the last
client report - written out as a debugging aid, the script doesn't
actually need any temporary files
%TEMP%\xymonconfig.cfg - contains the config returned from the server
after each report is sent (i.e client-local.cfg section).
Note that value of %TEMP% - or in PS $env:TEMP - will depend on whether
you are running the service as specific user or just as a local service,
and on the version of Windows you are using.
David.
--
David Baldwin - IT Unit
Australian Sports Commission www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------
More information about the Xymon
mailing list