Issues with xymonpsclient and Windows 2019
list Hugh Caldwell
We've run into an issue with the windowspsclient and nssm on Windows 2019 servers. The service is constantly bouncing on 2019 servers causing performance issues. Have their been any other reported issues with xymonpsclient on Windows 2019? Here is an example of the issues we're seeing in our application logs. Log Name: Application Source: nssm Date: 5/4/2020 11:31:37 AM Event ID: 1008 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Started C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy RemoteSigned -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File "C:\program files\xymon\xymonclient.ps1" for service XymonPSClient in C:\Windows\System32\WindowsPowerShell\v1.0. Log Name: Application Source: nssm Date: 5/4/2020 11:31:38 AM Event ID: 1013 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Program C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe for service XymonPSClient exited with return code 1. Log Name: Application Source: nssm Date: 5/4/2020 11:31:38 AM Event ID: 1023 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Killing process tree of process 933840 for service XymonPSClient with exit code 1 Log Name: Application Source: nssm Date: 5/4/2020 11:31:38 AM Event ID: 1027 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Killing PID 933840 in process tree of PID 933840 because service XymonPSClient is stopping. Log Name: Application Source: nssm Date: 5/4/2020 11:31:38 AM Event ID: 1014 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Service XymonPSClient action for exit code 1 is Restart. Attempting to restart C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe. Hugh Caldwell NatWeb Systems Administrator Contractor for ANJV In Support of the United States Geological Survey XXX-XXX-XXXX (Office) XXX-XXX-XXXX (Cellular) user-86a4242a1f0d@xymon.invalid<mailto:user-91c9de41421b@xymon.invalid> Room 4A220
list Timothy Williams
We have been running Xymon PS client on 2019 for over a year. Is this a new install for you on 2019? We run it in a separate folder c:\Utils, not Program Files to allow User permissions. Check permissions on that folder that XymonPS can write logs and download the clientconfig from Xymon if you have it set to remote. *Timothy L. Williams* *Operating Systems Analyst*Virginia Commonweralth University On Tue, May 12, 2020 at 4:03 PM Caldwell, Hugh (Contractor) <
▸
user-86a4242a1f0d@xymon.invalid> wrote:
We've run into an issue with the windowspsclient and nssm on Windows 2019 servers. The service is constantly bouncing on 2019 servers causing performance issues. Have their been any other reported issues with xymonpsclient on Windows 2019? Here is an example of the issues we're seeing in our application logs. Log Name: Application Source: nssm Date: 5/4/2020 11:31:37 AM Event ID: 1008 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Started C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy RemoteSigned -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File "C:\program files\xymon\xymonclient.ps1" for service XymonPSClient in C:\Windows\System32\WindowsPowerShell\v1.0. Log Name: Application Source: nssm Date: 5/4/2020 11:31:38 AM Event ID: 1013 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Program C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe for service XymonPSClient exited with return code 1. Log Name: Application Source: nssm Date: 5/4/2020 11:31:38 AM Event ID: 1023 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Killing process tree of process 933840 for service XymonPSClient with exit code 1 Log Name: Application Source: nssm Date: 5/4/2020 11:31:38 AM Event ID: 1027 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Killing PID 933840 in process tree of PID 933840 because service XymonPSClient is stopping. Log Name: Application Source: nssm Date: 5/4/2020 11:31:38 AM Event ID: 1014 Task Category: None Level: Information Keywords: Classic User: N/A Computer: server.domain Description: Service XymonPSClient action for exit code 1 is Restart. Attempting to restart C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe. Hugh Caldwell NatWeb Systems Administrator Contractor for ANJV In Support of the United States Geological Survey XXX-XXX-XXXX (Office) XXX-XXX-XXXX (Cellular)
user-86a4242a1f0d@xymon.invalid <user-91c9de41421b@xymon.invalid>
Room 4A220
list Hugh Caldwell
Yes this is a new install for 2019. The service is running as the system account so write permissions shouldn't be an issue.
▸
Hugh Caldwell
NatWeb Systems Administrator
Contractor for ANJV
In Support of the United States Geological Survey
XXX-XXX-XXXX (Office)
XXX-XXX-XXXX (Cellular)
user-86a4242a1f0d@xymon.invalid<mailto:user-91c9de41421b@xymon.invalid>
Room 4A220
▸
From: Timothy Williams <user-1a5482fb085e@xymon.invalid>
Sent: Tuesday, May 12, 2020 4:12 PM
To: Caldwell, Hugh (Contractor) <user-86a4242a1f0d@xymon.invalid>
Cc: xymon at xymon.com <xymon at xymon.com>
Subject: [EXTERNAL] Re: [Xymon] Issues with xymonpsclient and Windows 2019
We have been running Xymon PS client on 2019 for over a year. Is this a new install for you on 2019? We run it in a separate folder c:\Utils, not Program Files to allow User permissions. Check permissions on that folder that XymonPS can write logs and download the clientconfig from Xymon if you have it set to remote.
Timothy L. Williams
Operating Systems Analyst
Virginia Commonweralth University
▸
On Tue, May 12, 2020 at 4:03 PM Caldwell, Hugh (Contractor) <user-86a4242a1f0d@xymon.invalid<mailto:user-86a4242a1f0d@xymon.invalid>> wrote:
We've run into an issue with the windowspsclient and nssm on Windows 2019 servers. The service is constantly bouncing on 2019 servers causing performance issues. Have their been any other reported issues with xymonpsclient on Windows 2019? Here is an example of the issues we're seeing in our application logs.
Log Name: Application
Source: nssm
Date: 5/4/2020 11:31:37 AM
Event ID: 1008
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: server.domain
Description:
Started C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy RemoteSigned -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File "C:\program files\xymon\xymonclient.ps1" for service XymonPSClient in C:\Windows\System32\WindowsPowerShell\v1.0.
Log Name: Application
Source: nssm
Date: 5/4/2020 11:31:38 AM
Event ID: 1013
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: server.domain
Description:
Program C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe for service XymonPSClient exited with return code 1.
Log Name: Application
Source: nssm
Date: 5/4/2020 11:31:38 AM
Event ID: 1023
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: server.domain
Description:
Killing process tree of process 933840 for service XymonPSClient with exit code 1
Log Name: Application
Source: nssm
Date: 5/4/2020 11:31:38 AM
Event ID: 1027
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: server.domain
Description:
Killing PID 933840 in process tree of PID 933840 because service XymonPSClient is stopping.
Log Name: Application
Source: nssm
Date: 5/4/2020 11:31:38 AM
Event ID: 1014
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: server.domain
Description:
Service XymonPSClient action for exit code 1 is Restart. Attempting to restart C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.
Hugh Caldwell
NatWeb Systems Administrator
Contractor for ANJV
In Support of the United States Geological Survey
XXX-XXX-XXXX (Office)
XXX-XXX-XXXX (Cellular)
user-86a4242a1f0d@xymon.invalid<mailto:user-91c9de41421b@xymon.invalid>
Room 4A220