Windows PS xymonclient
list Paul Root
So I only have 6 windows servers that I'm concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window. This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I'm looking for RDP, but I'm getting no output at all. Going into who, it is also blank. Processes and SVCS are both fine. So next I started the powershell as an administrator, and did the 'Set-ExecutablePolicy RemoteSigned" and then did a .\xymonclient.ps1 install. Then a stop and start. Still stays the same blank page. Does anyone have any ideas? Paul Root Lead Operations Engineer - IT Managed Services XXX Commerce Dr Woodbury, Mn 55125 XXX-XXX-XXXX user-76fdb6883669@xymon.invalid This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Kris Springer
Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it. Kris Springer
▸
On 2/20/19 10:47 AM, Root, Paul T wrote:So I only have 6 windows servers that I’m concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no user-8825bf4f9707@xymon.invalid into who, it is also blank.
▸
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer- IT Managed Services
390 Commerce Dr
Woodbury, Mn 55125
user-fd56013747ee@xymon.invalid
▸
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Paul Root
Thanks Kris,
No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using.
Paul.
▸
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
Sent: Wednesday, February 20, 2019 12:01 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid>; xymon at xymon.com
Subject: Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I'm concerned with in my xymon installation.
Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I'm looking for RDP, but I'm getting no output at all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the 'Set-ExecutablePolicy RemoteSigned" and then did a .\xymonclient.ps1 install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>
▸
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Paul Root
Old version was 2.19, not 2.18. I put it back in on one of the machines and ports and who are back to normal.
▸
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Root, Paul T
Sent: Wednesday, February 20, 2019 12:03 PM
To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
Subject: Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using.
Paul.
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>
Sent: Wednesday, February 20, 2019 12:01 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I'm concerned with in my xymon installation.
Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I'm looking for RDP, but I'm getting no output at all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the 'Set-ExecutablePolicy RemoteSigned" and then did a .\xymonclient.ps1 install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Sebastian Auriol
Hi Paul, Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-) Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.) BTW, the empty sections I was getting are: [netstat] [ports] [ipconfig] [route] Kind regards, SebA On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid>
▸
wrote:
Old version was 2.19, not 2.18.
I put it back in on one of the machines and ports and who are back to
normal.
*From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T
*Sent:* Wednesday, February 20, 2019 12:03 PM
*To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both ports and who
worked with the 2.18 version, that I was using.
Paul.
*From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
*Sent:* Wednesday, February 20, 2019 12:01 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is blank for
Windows Home editions. Only Pro editions or Servers shows me 'who'
output. Also, Windows Home editions don't have RDP, so it wouldn't be
there anyway. Also, I've seen these sorts of issues on my servers before,
and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I’m concerned with in my xymon
installation.
Today, I decided to upgrade the service. So I downloaded the v2.34 ps1
file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports
test gone red because I’m looking for RDP, but I’m getting no output at
all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the
‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1
install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
list Paul Root
Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines.
▸
From: SebA <user-4631430d620a@xymon.invalid>
Sent: Wednesday, February 20, 2019 12:10 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid>
Cc: Kris Springer <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
Subject: Re: [Xymon] Windows PS xymonclient
Hi Paul,
Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-)
Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.)
BTW, the empty sections I was getting are:
[netstat]
[ports]
[ipconfig]
[route]
Kind regards,
SebA
On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote:
Old version was 2.19, not 2.18.
I put it back in on one of the machines and ports and who are back to normal.
From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T
Sent: Wednesday, February 20, 2019 12:03 PM
To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using.
Paul.
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>
Sent: Wednesday, February 20, 2019 12:01 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I’m concerned with in my xymon installation.
Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Timothy Williams
Another issue I had with missing data categories was the size of the data file exceeding the buffer size set in Xymon. File got truncated leading to missing data to analyse. Check the size of MAXMSG_STATUS, MAXMSG_CLIENT and MAXMSG_DATA. Also, on one server, a user had installed a service with square brackets as part of the name [ xx ], which Xymon interpreted as a section, then would not read the rest of the data file. Got that service name changed.. Tim Williams On Wed, Feb 20, 2019 at 1:55 PM Root, Paul T <user-76fdb6883669@xymon.invalid>
▸
wrote:
Nope, 2.34. That was what was on github, or where ever it was that I got
it.
I’m not a developer, and don’t really get how to use git. I poked and
prodded until I got the file.
I’ll try to find 2.28 and try it on those 2 machines.
*From:* SebA <user-4631430d620a@xymon.invalid>
*Sent:* Wednesday, February 20, 2019 12:10 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid>
*Cc:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Hi Paul,
Do you mean v2.37 (that's the latest)? If so, I had the same issue on one
of our servers. Downgrading to v2.28 fixed it, restarting the new version
fixed it multiple times for just the 1st cycle, I got it working in a
powershell admin prompt (running for at least an hour), then closed it and
restarted the service on the new version, and it's been fine since then!
I'm not touching it now! ;-)
Clutching at straws a little bit, but I wonder if it might be related to
not much memory being available. On the first run, it's using less memory
so it works... (We have a process hogging almost all the RAM on that
server.)
BTW, the empty sections I was getting are:
[netstat]
[ports]
[ipconfig]
[route]
Kind regards,
SebA
On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid>
wrote:
Old version was 2.19, not 2.18.
I put it back in on one of the machines and ports and who are back to
normal.
*From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T
*Sent:* Wednesday, February 20, 2019 12:03 PM
*To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both ports and who
worked with the 2.18 version, that I was using.
Paul.
*From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
*Sent:* Wednesday, February 20, 2019 12:01 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is blank for
Windows Home editions. Only Pro editions or Servers shows me 'who'
output. Also, Windows Home editions don't have RDP, so it wouldn't be
there anyway. Also, I've seen these sorts of issues on my servers before,
and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I’m concerned with in my xymon
installation.
Today, I decided to upgrade the service. So I downloaded the v2.34 ps1
file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports
test gone red because I’m looking for RDP, but I’m getting no output at
all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the
‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1
install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
list Paul Root
The xymond test on the server wasn’t complaining about those machines. It is complaining about a Cisco ASA we have in devmon, so I’m upping those settings, and will see what happens there. Just got 2.28 version. Will try it.
▸
From: Timothy Williams <user-1a5482fb085e@xymon.invalid>
Sent: Wednesday, February 20, 2019 1:09 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid>
Cc: SebA <user-4631430d620a@xymon.invalid>; xymon at xymon.com
Subject: Re: [Xymon] Windows PS xymonclient
Another issue I had with missing data categories was the size of the data file exceeding the buffer size set in Xymon. File got truncated leading to missing data to analyse. Check the size of MAXMSG_STATUS, MAXMSG_CLIENT and MAXMSG_DATA.
Also, on one server, a user had installed a service with square brackets as part of the name [ xx ], which Xymon interpreted as a section, then would not read the rest of the data file. Got that service name changed..
Tim Williams
On Wed, Feb 20, 2019 at 1:55 PM Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote:
Nope, 2.34. That was what was on github, or where ever it was that I got it.
I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file.
I’ll try to find 2.28 and try it on those 2 machines.
From: SebA <user-4631430d620a@xymon.invalid<mailto:user-4631430d620a@xymon.invalid>>
Sent: Wednesday, February 20, 2019 12:10 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>
Cc: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Hi Paul,
Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-)
Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.)
BTW, the empty sections I was getting are:
[netstat]
[ports]
[ipconfig]
[route]
Kind regards,
SebA
On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote:
Old version was 2.19, not 2.18.
I put it back in on one of the machines and ports and who are back to normal.
From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T
Sent: Wednesday, February 20, 2019 12:03 PM
To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using.
Paul.
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>
Sent: Wednesday, February 20, 2019 12:01 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I’m concerned with in my xymon installation.
Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Kris Springer
Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/ Kris Springer
▸
On 2/20/19 11:55 AM, Root, Paul T wrote:Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines.
*From:*SebA <user-4631430d620a@xymon.invalid>
▸
*Sent:* Wednesday, February 20, 2019 12:10 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid>
*Cc:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Hi Paul,
Do you mean v2.37 (that's the latest)? If so, I had the same issue on
one of our servers. Downgrading to v2.28 fixed it, restarting the new
version fixed it multiple times for just the 1st cycle, I got it
working in a powershell admin prompt (running for at least an hour),
then closed it and restarted the service on the new version, and it's
been fine since then! I'm not touching it now! ;-)
Clutching at straws a little bit, but I wonder if it might be related
to not much memory being available. On the first run, it's using less
memory so it works... (We have a process hogging almost all the RAM
on that server.)
BTW, the empty sections I was getting are:
[netstat]
[ports]
[ipconfig]
[route]
Kind regards,
SebA
On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid
<mailto:user-76fdb6883669@xymon.invalid>> wrote:
Old version was 2.19, not 2.18.
I put it back in on one of the machines and ports and who are back
to normal.
*From:*Xymon <xymon-bounces at xymon.com
<mailto:xymon-bounces at xymon.com>> *On Behalf Of *Root, Paul T
*Sent:* Wednesday, February 20, 2019 12:03 PM
*To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid
<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com
<mailto:xymon at xymon.com>
▸
*Subject:* Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both ports and
who worked with the 2.18 version, that I was using.
Paul.
*From:*Kris Springer <user-c2caa0a7a8d5@xymon.invalid
▸
*Sent:* Wednesday, February 20, 2019 12:01 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid
<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com
<mailto:xymon at xymon.com>
▸
*Subject:* Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is
blank for Windows Home editions. Only Pro editions or Servers
shows me 'who' output. Also, Windows Home editions don't have
RDP, so it wouldn't be there anyway. Also, I've seen these sorts
of issues on my servers before, and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I’m concerned with in my
xymon installation.
Today, I decided to upgrade the service. So I downloaded the
v2.34 ps1 file. And I copied the file in place and restarted
via the services window.
This worked just fine on 4 machines. But on 2 machines, I
get the ports test gone red because I’m looking for RDP, but
I’m getting no output at all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did
the ‘Set-ExecutablePolicy RemoteSigned” and then did a
.\xymonclient.ps1 install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid
This communication is the property of CenturyLink and may
contain confidential or privileged information. Unauthorized
use of this communication is strictly prohibited and may be
unlawful. If you have received this communication in error,
please immediately notify the sender by reply e-mail and
destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you
have received this communication in error, please immediately
notify the sender by reply e-mail and destroy all copies of the
communication and any attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you
have received this communication in error, please immediately
notify the sender by reply e-mail and destroy all copies of the
communication and any attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the
sender by reply e-mail and destroy all copies of the communication and
any attachments.list Paul Root
Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try.
▸
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid> Sent: Wednesday, February 20, 2019 2:40 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid> Cc: xymon at xymon.com Subject: Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/ Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines. From: SebA <user-4631430d620a@xymon.invalid><mailto:user-4631430d620a@xymon.invalid> Sent: Wednesday, February 20, 2019 12:10 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: Kris Springer <user-c2caa0a7a8d5@xymon.invalid><mailto:user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Hi Paul, Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-) Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.) BTW, the empty sections I was getting are: [netstat] [ports] [ipconfig] [route] Kind regards, SebA On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Old version was 2.19, not 2.18. I put it back in on one of the machines and ports and who are back to normal. From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T Sent: Wednesday, February 20, 2019 12:03 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Thanks Kris, No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using. Paul. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 12:01 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it. Kris Springer On 2/20/19 10:47 AM, Root, Paul T wrote: So I only have 6 windows servers that I’m concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window. This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank. Processes and SVCS are both fine. So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start. Still stays the same blank page. Does anyone have any ideas? Paul Root Lead Operations Engineer - IT Managed Services XXX Commerce Dr Woodbury, Mn 55125 XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Timothy Williams
On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid>
▸
wrote:
Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. *From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> *Sent:* Wednesday, February 20, 2019 2:40 PM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/ Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines. *From:* SebA <user-4631430d620a@xymon.invalid> <user-4631430d620a@xymon.invalid> *Sent:* Wednesday, February 20, 2019 12:10 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid> <user-76fdb6883669@xymon.invalid>
*Cc:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
▸
<user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Hi Paul,
Do you mean v2.37 (that's the latest)? If so, I had the same issue on one
of our servers. Downgrading to v2.28 fixed it, restarting the new version
fixed it multiple times for just the 1st cycle, I got it working in a
powershell admin prompt (running for at least an hour), then closed it and
restarted the service on the new version, and it's been fine since then!
I'm not touching it now! ;-)
Clutching at straws a little bit, but I wonder if it might be related to
not much memory being available. On the first run, it's using less memory
so it works... (We have a process hogging almost all the RAM on that
server.)
BTW, the empty sections I was getting are:
[netstat]
[ports]
[ipconfig]
[route]
Kind regards,
SebA
On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid>
wrote:
Old version was 2.19, not 2.18.
I put it back in on one of the machines and ports and who are back to
normal.
*From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T
*Sent:* Wednesday, February 20, 2019 12:03 PM
*To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both ports and who
worked with the 2.18 version, that I was using.
Paul.
*From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
*Sent:* Wednesday, February 20, 2019 12:01 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is blank for
Windows Home editions. Only Pro editions or Servers shows me 'who'
output. Also, Windows Home editions don't have RDP, so it wouldn't be
there anyway. Also, I've seen these sorts of issues on my servers before,
and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I’m concerned with in my xymon
installation.
Today, I decided to upgrade the service. So I downloaded the v2.34 ps1
file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports
test gone red because I’m looking for RDP, but I’m getting no output at
all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the
‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1
install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
list Kris Springer
I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since. Kris Springer
▸
On 2/20/19 2:23 PM, Timothy Williams wrote:On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid <mailto:user-76fdb6883669@xymon.invalid>> wrote:
Thanks.I was on github, it’s only up to 2.34.
▸
So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3^rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. *From:*Kris Springer <user-c2caa0a7a8d5@xymon.invalid *Sent:* Wednesday, February 20, 2019 2:40 PM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid> *Cc:* xymon at xymon.com <mailto:xymon at xymon.com> *Subject:* Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/ Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines.
*From:* SebA <user-4631430d620a@xymon.invalid> <mailto:user-4631430d620a@xymon.invalid>
▸
*Sent:* Wednesday, February 20, 2019 12:10 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid>
*Cc:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
<mailto:user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
<mailto:xymon at xymon.com>
*Subject:* Re: [Xymon] Windows PS xymonclient
Hi Paul,
Do you mean v2.37 (that's the latest)? If so, I had the same
issue on one of our servers. Downgrading to v2.28 fixed it,
restarting the new version fixed it multiple times for just
the 1st cycle, I got it working in a powershell admin prompt
(running for at least an hour), then closed it and restarted
the service on the new version, and it's been fine since
then! I'm not touching it now! ;-)
Clutching at straws a little bit, but I wonder if it might be
related to not much memory being available. On the first run,
it's using less memory so it works... (We have a process
hogging almost all the RAM on that server.)
BTW, the empty sections I was getting are:
[netstat]
[ports]
[ipconfig]
[route]
Kind regards,
SebA
On Wed, 20 Feb 2019 at 18:06, Root, Paul T
<user-76fdb6883669@xymon.invalid <mailto:user-76fdb6883669@xymon.invalid>>
wrote:
Old version was 2.19, not 2.18.
I put it back in on one of the machines and ports and who
are back to normal.
*From:* Xymon <xymon-bounces at xymon.com
<mailto:xymon-bounces at xymon.com>> *On Behalf Of *Root, Paul T
*Sent:* Wednesday, February 20, 2019 12:03 PM
*To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid
<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com
<mailto:xymon at xymon.com>
*Subject:* Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both
ports and who worked with the 2.18 version, that I was using.
Paul.
*From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid
*Sent:* Wednesday, February 20, 2019 12:01 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid
<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com
<mailto:xymon at xymon.com>
*Subject:* Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that
'who' is blank for Windows Home editions. Only Pro
editions or Servers shows me 'who' output. Also, Windows
Home editions don't have RDP, so it wouldn't be there
anyway. Also, I've seen these sorts of issues on my
servers before, and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I’m concerned
with in my xymon installation.
Today, I decided to upgrade the service. So I
downloaded the v2.34 ps1 file. And I copied the file
in place and restarted via the services window.
This worked just fine on 4 machines. But on 2
machines, I get the ports test gone red because I’m
looking for RDP, but I’m getting no output at all.
Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator,
and did the ‘Set-ExecutablePolicy RemoteSigned” and
then did a .\xymonclient.ps1 install. Then a stop and
start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid
This communication is the property of CenturyLink and
may contain confidential or privileged information.
Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received
this communication in error, please immediately notify
the sender by reply e-mail and destroy all copies of
the communication and any attachments.
This communication is the property of CenturyLink and may
contain confidential or privileged information.
Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this
communication in error, please immediately notify the
sender by reply e-mail and destroy all copies of the
communication and any attachments.
This communication is the property of CenturyLink and may
contain confidential or privileged information.
Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this
communication in error, please immediately notify the
sender by reply e-mail and destroy all copies of the
communication and any attachments.
This communication is the property of CenturyLink and may
contain confidential or privileged information. Unauthorized
use of this communication is strictly prohibited and may be
unlawful. If you have received this communication in error,
please immediately notify the sender by reply e-mail and
destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you
have received this communication in error, please immediately
notify the sender by reply e-mail and destroy all copies of the
communication and any attachments.
list Paul Root
It’s not size. 2.37 is only sending 74k The lastcollected file shows that the [ports] and [who] sections are empty. Running netstat and qwinsta inside the powershell manually works as expected. 2019-02-20 16:37:36.481 Sent 73872 bytes to server
▸
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid> Sent: Wednesday, February 20, 2019 3:34 PM To: Timothy Williams <user-1a5482fb085e@xymon.invalid>; Root, Paul T <user-76fdb6883669@xymon.invalid> Cc: xymon at xymon.com Subject: Re: [Xymon] Windows PS xymonclient I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since. Kris Springer On 2/20/19 2:23 PM, Timothy Williams wrote: On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 2:40 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/ Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines. From: SebA <user-4631430d620a@xymon.invalid><mailto:user-4631430d620a@xymon.invalid> Sent: Wednesday, February 20, 2019 12:10 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: Kris Springer <user-c2caa0a7a8d5@xymon.invalid><mailto:user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Hi Paul, Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-) Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.) BTW, the empty sections I was getting are: [netstat] [ports] [ipconfig] [route] Kind regards, SebA On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Old version was 2.19, not 2.18. I put it back in on one of the machines and ports and who are back to normal. From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T Sent: Wednesday, February 20, 2019 12:03 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Thanks Kris, No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using. Paul. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 12:01 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it. Kris Springer On 2/20/19 10:47 AM, Root, Paul T wrote: So I only have 6 windows servers that I’m concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window. This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank. Processes and SVCS are both fine. So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start. Still stays the same blank page. Does anyone have any ideas? Paul Root Lead Operations Engineer - IT Managed Services XXX Commerce Dr Woodbury, Mn 55125 XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Paul Root
So I added to the log file and got this:
2019-02-20 17:16:22.079 XymonWho start
2019-02-20 17:16:22.079 XymonWho running SESSIONNAME USERNAME ID STATE TYPE DEVICE >services 0 Disc rdp-tcp#0 ptroot 1 Active rdpwd ccivers 2 Disc console 3 Conn ab57545 4 Disc dmjenso 5 Disc rdp-tcp 65536 Listen Total sessions created: 62 Total sessions disconnected: 105 Total sessions reconnected: 46
2019-02-20 17:16:22.079 XymonWho finished.
The code as follow
function XymonWho
{
WriteLog "XymonWho start"
if( $HaveCmd.qwinsta)
{
"[who]"
if ($script:usersessions -eq $null)
{
WriteLog "XymonWho running qwinsta"
qwinsta.exe /counter
}
else
{
WriteLog "XymonWho running $Script:Usersessions"
$script:usersessions
}
}
WriteLog "XymonWho finished."
}
So we see that the script ran, and not qwinsta. And that there is output, but it goes to the wrong place apparently.
Ah, function UserSessionCount runs the qwinsta /counter and saves the output.
▸
From: Root, Paul T Sent: Wednesday, February 20, 2019 3:58 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; Timothy Williams <user-1a5482fb085e@xymon.invalid> Cc: xymon at xymon.com Subject: RE: [Xymon] Windows PS xymonclient It’s not size. 2.37 is only sending 74k The lastcollected file shows that the [ports] and [who] sections are empty. Running netstat and qwinsta inside the powershell manually works as expected. 2019-02-20 16:37:36.481 Sent 73872 bytes to server From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 3:34 PM To: Timothy Williams <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>>; Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since. Kris Springer On 2/20/19 2:23 PM, Timothy Williams wrote: On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 2:40 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/ Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines. From: SebA <user-4631430d620a@xymon.invalid><mailto:user-4631430d620a@xymon.invalid> Sent: Wednesday, February 20, 2019 12:10 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: Kris Springer <user-c2caa0a7a8d5@xymon.invalid><mailto:user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Hi Paul, Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-) Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.) BTW, the empty sections I was getting are: [netstat] [ports] [ipconfig] [route] Kind regards, SebA On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Old version was 2.19, not 2.18. I put it back in on one of the machines and ports and who are back to normal. From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T Sent: Wednesday, February 20, 2019 12:03 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Thanks Kris, No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using. Paul. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 12:01 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it. Kris Springer On 2/20/19 10:47 AM, Root, Paul T wrote: So I only have 6 windows servers that I’m concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window. This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank. Processes and SVCS are both fine. So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start. Still stays the same blank page. Does anyone have any ideas? Paul Root Lead Operations Engineer - IT Managed Services XXX Commerce Dr Woodbury, Mn 55125 XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Zak Beck
Hi xymon-lastcollect.txt contains the last data sent to the server – what does it show under [who], [ports] etc? Nothing has changed in these functions for some time… Thanks Zak
▸
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Root, Paul T
Sent: Wednesday, 20 February 2019 22:29
To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; 'Timothy Williams' <user-1a5482fb085e@xymon.invalid>
Cc: 'xymon at xymon.com' <xymon at xymon.com>
Subject: [External] Re: [Xymon] Windows PS xymonclient
This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.
▸
So I added to the log file and got this:
2019-02-20 17:16:22.079 XymonWho start
2019-02-20 17:16:22.079 XymonWho running SESSIONNAME USERNAME ID STATE TYPE DEVICE >services 0 Disc rdp-tcp#0 ptroot 1 Active rdpwd ccivers 2 Disc console 3 Conn ab57545 4 Disc dmjenso 5 Disc rdp-tcp 65536 Listen Total sessions created: 62 Total sessions disconnected: 105 Total sessions reconnected: 46
2019-02-20 17:16:22.079 XymonWho finished.
The code as follow
function XymonWho
{
WriteLog "XymonWho start"
if( $HaveCmd.qwinsta)
{
"[who]"
if ($script:usersessions -eq $null)
{
WriteLog "XymonWho running qwinsta"
qwinsta.exe /counter
}
else
{
WriteLog "XymonWho running $Script:Usersessions"
$script:usersessions
}
}
WriteLog "XymonWho finished."
}
So we see that the script ran, and not qwinsta. And that there is output, but it goes to the wrong place apparently.
Ah, function UserSessionCount runs the qwinsta /counter and saves the output.
From: Root, Paul T
Sent: Wednesday, February 20, 2019 3:58 PM
To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; Timothy Williams <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: RE: [Xymon] Windows PS xymonclient
It’s not size. 2.37 is only sending 74k
The lastcollected file shows that the [ports] and [who] sections are empty.
Running netstat and qwinsta inside the powershell manually works as expected.
2019-02-20 16:37:36.481 Sent 73872 bytes to server
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>
Sent: Wednesday, February 20, 2019 3:34 PM
To: Timothy Williams <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>>; Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since.
Kris Springer
On 2/20/19 2:23 PM, Timothy Williams wrote:
On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024.
2019-02-20 16:16:58 Sending to server
2019-02-20 16:16:58 Using ASCII encoding
2019-02-20 16:16:59 Connecting to host
2019-02-20 16:16:59 Sent 101438 bytes to server
2019-02-20 16:17:00 Received 436 bytes from server
Tim
On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote:
Thanks. I was on github, it’s only up to 2.34.
So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green.
A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something.
Dropping down to 2.28 didn’t help. Ports is still empty. As is who.
I’ll give 2.37 a try.
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>
Sent: Wednesday, February 20, 2019 2:40 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Here's the download location of the latest XymonPSclient.https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/<https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_p_xymon_code_HEAD_tree_sandbox_WinPSClient_&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=e7VnGi_W3qoklVGIds1ztc7L9BwTgB6fWCgXeP4j5OU&e=>;
▸
Kris Springer
On 2/20/19 11:55 AM, Root, Paul T wrote:
Nope, 2.34. That was what was on github, or where ever it was that I got it.
I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file.
I’ll try to find 2.28 and try it on those 2 machines.
From: SebA <user-4631430d620a@xymon.invalid><mailto:user-4631430d620a@xymon.invalid>
Sent: Wednesday, February 20, 2019 12:10 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid>
Cc: Kris Springer <user-c2caa0a7a8d5@xymon.invalid><mailto:user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Hi Paul,
Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-)
Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.)
BTW, the empty sections I was getting are:
[netstat]
[ports]
[ipconfig]
[route]
Kind regards,
SebA
On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote:
Old version was 2.19, not 2.18.
I put it back in on one of the machines and ports and who are back to normal.
From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T
Sent: Wednesday, February 20, 2019 12:03 PM
To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using.
Paul.
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>
Sent: Wednesday, February 20, 2019 12:01 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I’m concerned with in my xymon installation.
Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>;
▸
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>;
▸
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 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. www.accenture.com
list Sebastian Auriol
Hi Paul, Like I said to Zak in a one-to-one e-mail last week, I think this is a Windows issue, not a client issue exactly, although it would be handy if the client log showed an error and what the error was. Do the new versions work fine in a Administrative powershell prompt if you run it manually from there? Or do you get any errors related to these empty sections? Kind regards, SebA
▸
On Thu, 21 Feb 2019 at 09:18, Beck, Zak <user-aada0fa38bf8@xymon.invalid> wrote:
Hi xymon-lastcollect.txt contains the last data sent to the server – what does it show under [who], [ports] etc? Nothing has changed in these functions for some time… Thanks Zak *From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T *Sent:* Wednesday, 20 February 2019 22:29 *To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; 'Timothy Williams' < user-1a5482fb085e@xymon.invalid> *Cc:* 'xymon at xymon.com' <xymon at xymon.com> *Subject:* [External] Re: [Xymon] Windows PS xymonclient This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments. So I added to the log file and got this: 2019-02-20 17:16:22.079 XymonWho start 2019-02-20 17:16:22.079 XymonWho running SESSIONNAME USERNAME ID STATE TYPE DEVICEservices 0Disc rdp-tcp#0 ptroot 1 Active rdpwd ccivers 2 Disc console 3 Conn ab57545 4 Disc dmjenso 5 Disc rdp-tcp 65536 Listen Total sessions created: 62 Total sessions disconnected: 105 Total sessions reconnected: 46 2019-02-20 17:16:22.079 XymonWho finished. The code as follow function XymonWho { WriteLog "XymonWho start" if( $HaveCmd.qwinsta) { "[who]" if ($script:usersessions -eq $null) { WriteLog "XymonWho running qwinsta" qwinsta.exe /counter } else { WriteLog "XymonWho running $Script:Usersessions" $script:usersessions } } WriteLog "XymonWho finished." } So we see that the script ran, and not qwinsta. And that there is output, but it goes to the wrong place apparently. Ah, function UserSessionCount runs the qwinsta /counter and saves the output. *From:* Root, Paul T *Sent:* Wednesday, February 20, 2019 3:58 PM *To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; Timothy Williams < user-1a5482fb085e@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* RE: [Xymon] Windows PS xymonclient It’s not size. 2.37 is only sending 74k The lastcollected file shows that the [ports] and [who] sections are empty. Running netstat and qwinsta inside the powershell manually works as expected. 2019-02-20 16:37:36.481 Sent 73872 bytes to server *From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> *Sent:* Wednesday, February 20, 2019 3:34 PM *To:* Timothy Williams <user-1a5482fb085e@xymon.invalid>; Root, Paul T < user-76fdb6883669@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since. Kris Springer On 2/20/19 2:23 PM, Timothy Williams wrote: On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid> wrote: Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. *From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> *Sent:* Wednesday, February 20, 2019 2:40 PM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid> <user-76fdb6883669@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/
<https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_p_xymon_code_HEAD_tree_sandbox_WinPSClient_&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=e7VnGi_W3qoklVGIds1ztc7L9BwTgB6fWCgXeP4j5OU&e=>;
▸
Kris Springer
On 2/20/19 11:55 AM, Root, Paul T wrote:
Nope, 2.34. That was what was on github, or where ever it was that I got
it.
I’m not a developer, and don’t really get how to use git. I poked and
prodded until I got the file.
I’ll try to find 2.28 and try it on those 2 machines.
*From:* SebA <user-4631430d620a@xymon.invalid> <user-4631430d620a@xymon.invalid>
*Sent:* Wednesday, February 20, 2019 12:10 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid> <user-76fdb6883669@xymon.invalid>
*Cc:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
<user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Hi Paul,
Do you mean v2.37 (that's the latest)? If so, I had the same issue on one
of our servers. Downgrading to v2.28 fixed it, restarting the new version
fixed it multiple times for just the 1st cycle, I got it working in a
powershell admin prompt (running for at least an hour), then closed it and
restarted the service on the new version, and it's been fine since then!
I'm not touching it now! ;-)
Clutching at straws a little bit, but I wonder if it might be related to
not much memory being available. On the first run, it's using less memory
so it works... (We have a process hogging almost all the RAM on that
server.)
BTW, the empty sections I was getting are:
[netstat]
[ports]
[ipconfig]
[route]
Kind regards,
SebA
On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid>
wrote:
Old version was 2.19, not 2.18.
I put it back in on one of the machines and ports and who are back to
normal.
*From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T
*Sent:* Wednesday, February 20, 2019 12:03 PM
*To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Thanks Kris,
No, these are all 2008R2 servers. Both ports and who
worked with the 2.18 version, that I was using.
Paul.
*From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
*Sent:* Wednesday, February 20, 2019 12:01 PM
*To:* Root, Paul T <user-76fdb6883669@xymon.invalid>; xymon at xymon.com
*Subject:* Re: [Xymon] Windows PS xymonclient
Not sure if it's your issue or not, but I've found that 'who' is blank for
Windows Home editions. Only Pro editions or Servers shows me 'who'
output. Also, Windows Home editions don't have RDP, so it wouldn't be
there anyway. Also, I've seen these sorts of issues on my servers before,
and a reboot usually fixes it.
Kris Springer
On 2/20/19 10:47 AM, Root, Paul T wrote:
So I only have 6 windows servers that I’m concerned with in my xymon
installation.
Today, I decided to upgrade the service. So I downloaded the v2.34 ps1
file. And I copied the file in place and restarted via the services window.
This worked just fine on 4 machines. But on 2 machines, I get the ports
test gone red because I’m looking for RDP, but I’m getting no output at
all. Going into who, it is also blank.
Processes and SVCS are both fine.
So next I started the powershell as an administrator, and did the
‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1
install. Then a stop and start.
Still stays the same blank page.
Does anyone have any ideas?
Paul Root
Lead Operations Engineer - IT Managed Services
XXX Commerce Dr
Woodbury, Mn 55125
XXX-XXX-XXXX user-76fdb6883669@xymon.invalid
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
Xymon at xymon.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>;
▸
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>;
▸
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
This communication is the property of CenturyLink and may contain
confidential or privileged information. Unauthorized use of this
communication is strictly prohibited and may be unlawful. If you have
received this communication in error, please immediately notify the sender
by reply e-mail and destroy all copies of the communication and any
attachments.
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>;
▸
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 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. www.accenture.com
list Paul Root
It appears to run fine manually. It does pump out pages and pages of errors. Looks like most of them are the same.
2019-02-21 10:13:21.923 XymonPorts start
You cannot call a method on a null-valued expres
At C:\Program Files\xymon\xymonclient-2.37.ps1:2
+ if ($script:clientlocalcfg_entries.Contain
+ CategoryInfo : InvalidOperation:
+ FullyQualifiedErrorId : InvokeMethodOnNull
2019-02-21 10:13:22.001 XymonPorts finished.
The error for ports is a bit different:
2019-02-21 10:13:21.923 XymonPorts start
You cannot call a method on a null-valued expres
At C:\Program Files\xymon\xymonclient-2.37.ps1:2
+ if ($script:clientlocalcfg_entries.Contain
+ CategoryInfo : InvalidOperation:
+ FullyQualifiedErrorId : InvokeMethodOnNull
2019-02-21 10:13:22.001 XymonPorts finished.
▸
From: SebA <user-4631430d620a@xymon.invalid> Sent: Thursday, February 21, 2019 6:15 AM To: Beck, Zak <user-aada0fa38bf8@xymon.invalid>; Xymon Mailing List <xymon at xymon.com>; Root, Paul T <user-76fdb6883669@xymon.invalid> Subject: Re: [Xymon] Windows PS xymonclient Hi Paul, Like I said to Zak in a one-to-one e-mail last week, I think this is a Windows issue, not a client issue exactly, although it would be handy if the client log showed an error and what the error was. Do the new versions work fine in a Administrative powershell prompt if you run it manually from there? Or do you get any errors related to these empty sections? Kind regards, SebA On Thu, 21 Feb 2019 at 09:18, Beck, Zak <user-aada0fa38bf8@xymon.invalid<mailto:user-aada0fa38bf8@xymon.invalid>> wrote: Hi xymon-lastcollect.txt contains the last data sent to the server – what does it show under [who], [ports] etc? Nothing has changed in these functions for some time… Thanks Zak From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T Sent: Wednesday, 20 February 2019 22:29 To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; 'Timothy Williams' <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>> Cc: 'xymon at xymon.com<mailto:xymon at xymon.com>' <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: [External] Re: [Xymon] Windows PS xymonclient This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments. So I added to the log file and got this: 2019-02-20 17:16:22.079 XymonWho start 2019-02-20 17:16:22.079 XymonWho running SESSIONNAME USERNAME ID STATE TYPE DEVICE >services 0 Disc rdp-tcp#0 ptroot 1 Active rdpwd ccivers 2 Disc console 3 Conn ab57545 4 Disc dmjenso 5 Disc rdp-tcp 65536 Listen Total sessions created: 62 Total sessions disconnected: 105 Total sessions reconnected: 46 2019-02-20 17:16:22.079 XymonWho finished. The code as follow function XymonWho { WriteLog "XymonWho start" if( $HaveCmd.qwinsta) { "[who]" if ($script:usersessions -eq $null) { WriteLog "XymonWho running qwinsta" qwinsta.exe /counter } else { WriteLog "XymonWho running $Script:Usersessions" $script:usersessions } } WriteLog "XymonWho finished." } So we see that the script ran, and not qwinsta. And that there is output, but it goes to the wrong place apparently. Ah, function UserSessionCount runs the qwinsta /counter and saves the output. From: Root, Paul T Sent: Wednesday, February 20, 2019 3:58 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; Timothy Williams <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: RE: [Xymon] Windows PS xymonclient It’s not size. 2.37 is only sending 74k The lastcollected file shows that the [ports] and [who] sections are empty. Running netstat and qwinsta inside the powershell manually works as expected. 2019-02-20 16:37:36.481 Sent 73872 bytes to server From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 3:34 PM To: Timothy Williams <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>>; Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since. Kris Springer On 2/20/19 2:23 PM, Timothy Williams wrote: On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 2:40 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/<https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_p_xymon_code_HEAD_tree_sandbox_WinPSClient_&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=e7VnGi_W3qoklVGIds1ztc7L9BwTgB6fWCgXeP4j5OU&e=>; Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines. From: SebA <user-4631430d620a@xymon.invalid><mailto:user-4631430d620a@xymon.invalid> Sent: Wednesday, February 20, 2019 12:10 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: Kris Springer <user-c2caa0a7a8d5@xymon.invalid><mailto:user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Hi Paul, Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-) Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.) BTW, the empty sections I was getting are: [netstat] [ports] [ipconfig] [route] Kind regards, SebA On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Old version was 2.19, not 2.18. I put it back in on one of the machines and ports and who are back to normal. From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T Sent: Wednesday, February 20, 2019 12:03 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Thanks Kris, No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using. Paul. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 12:01 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it. Kris Springer On 2/20/19 10:47 AM, Root, Paul T wrote: So I only have 6 windows servers that I’m concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window. This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank. Processes and SVCS are both fine. So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start. Still stays the same blank page. Does anyone have any ideas? Paul Root Lead Operations Engineer - IT Managed Services XXX Commerce Dr Woodbury, Mn 55125 XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 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.
www.accenture.com<http://www.accenture.com>;
▸
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Paul Root
They were empy.
▸
From: Beck, Zak <user-aada0fa38bf8@xymon.invalid> Sent: Thursday, February 21, 2019 3:18 AM To: Root, Paul T <user-76fdb6883669@xymon.invalid>; 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; 'Timothy Williams' <user-1a5482fb085e@xymon.invalid> Cc: 'xymon at xymon.com' <xymon at xymon.com> Subject: RE: [Xymon] Windows PS xymonclient Hi xymon-lastcollect.txt contains the last data sent to the server – what does it show under [who], [ports] etc? Nothing has changed in these functions for some time… Thanks Zak From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T Sent: Wednesday, 20 February 2019 22:29 To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; 'Timothy Williams' <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>> Cc: 'xymon at xymon.com' <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: [External] Re: [Xymon] Windows PS xymonclient This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments. So I added to the log file and got this: 2019-02-20 17:16:22.079 XymonWho start 2019-02-20 17:16:22.079 XymonWho running SESSIONNAME USERNAME ID STATE TYPE DEVICE >services 0 Disc rdp-tcp#0 ptroot 1 Active rdpwd ccivers 2 Disc console 3 Conn ab57545 4 Disc dmjenso 5 Disc rdp-tcp 65536 Listen Total sessions created: 62 Total sessions disconnected: 105 Total sessions reconnected: 46 2019-02-20 17:16:22.079 XymonWho finished. The code as follow function XymonWho { WriteLog "XymonWho start" if( $HaveCmd.qwinsta) { "[who]" if ($script:usersessions -eq $null) { WriteLog "XymonWho running qwinsta" qwinsta.exe /counter } else { WriteLog "XymonWho running $Script:Usersessions" $script:usersessions } } WriteLog "XymonWho finished." } So we see that the script ran, and not qwinsta. And that there is output, but it goes to the wrong place apparently. Ah, function UserSessionCount runs the qwinsta /counter and saves the output. From: Root, Paul T Sent: Wednesday, February 20, 2019 3:58 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; Timothy Williams <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: RE: [Xymon] Windows PS xymonclient It’s not size. 2.37 is only sending 74k The lastcollected file shows that the [ports] and [who] sections are empty. Running netstat and qwinsta inside the powershell manually works as expected. 2019-02-20 16:37:36.481 Sent 73872 bytes to server From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 3:34 PM To: Timothy Williams <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>>; Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since. Kris Springer On 2/20/19 2:23 PM, Timothy Williams wrote: On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 2:40 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/<https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_p_xymon_code_HEAD_tree_sandbox_WinPSClient_&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=e7VnGi_W3qoklVGIds1ztc7L9BwTgB6fWCgXeP4j5OU&e=>; Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines. From: SebA <user-4631430d620a@xymon.invalid><mailto:user-4631430d620a@xymon.invalid> Sent: Wednesday, February 20, 2019 12:10 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: Kris Springer <user-c2caa0a7a8d5@xymon.invalid><mailto:user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Hi Paul, Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-) Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.) BTW, the empty sections I was getting are: [netstat] [ports] [ipconfig] [route] Kind regards, SebA On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Old version was 2.19, not 2.18. I put it back in on one of the machines and ports and who are back to normal. From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T Sent: Wednesday, February 20, 2019 12:03 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Thanks Kris, No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using. Paul. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 12:01 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it. Kris Springer On 2/20/19 10:47 AM, Root, Paul T wrote: So I only have 6 windows servers that I’m concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window. This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank. Processes and SVCS are both fine. So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start. Still stays the same blank page. Does anyone have any ideas? Paul Root Lead Operations Engineer - IT Managed Services XXX Commerce Dr Woodbury, Mn 55125 XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 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. www.accenture.com<http://www.accenture.com>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Sebastian Auriol
So, does ports go green when run manually? Regarding those errors, v2.37 is supposed to fix them (line 3240) - if I understand the context of the error correctly... Do you have a matching entry in client-local.cfg? (Are you using remote / central config using client-local.cfg or a local config?) Does it not print the line number of the error? Kind regards, SebA On Thu, 21 Feb 2019 at 15:18, Root, Paul T <user-76fdb6883669@xymon.invalid>
▸
wrote:
It appears to run fine manually. It does pump out pages and pages of errors. Looks like most of them are the same. 2019-02-21 10:13:21.923 XymonPorts start You cannot call a method on a null-valued expres At C:\Program Files\xymon\xymonclient-2.37.ps1:2 + if ($script:clientlocalcfg_entries.Contain + CategoryInfo : InvalidOperation: + FullyQualifiedErrorId : InvokeMethodOnNull 2019-02-21 10:13:22.001 XymonPorts finished. The error for ports is a bit different: 2019-02-21 10:13:21.923 XymonPorts start You cannot call a method on a null-valued expres At C:\Program Files\xymon\xymonclient-2.37.ps1:2 + if ($script:clientlocalcfg_entries.Contain + CategoryInfo : InvalidOperation: + FullyQualifiedErrorId : InvokeMethodOnNull 2019-02-21 10:13:22.001 XymonPorts finished. *From:* SebA <user-4631430d620a@xymon.invalid> *Sent:* Thursday, February 21, 2019 6:15 AM *To:* Beck, Zak <user-aada0fa38bf8@xymon.invalid>; Xymon Mailing List < xymon at xymon.com>; Root, Paul T <user-76fdb6883669@xymon.invalid> *Subject:* Re: [Xymon] Windows PS xymonclient Hi Paul, Like I said to Zak in a one-to-one e-mail last week, I think this is a Windows issue, not a client issue exactly, although it would be handy if the client log showed an error and what the error was. Do the new versions work fine in a Administrative powershell prompt if you run it manually from there? Or do you get any errors related to these empty sections? Kind regards, SebA On Thu, 21 Feb 2019 at 09:18, Beck, Zak <user-aada0fa38bf8@xymon.invalid> wrote: Hi xymon-lastcollect.txt contains the last data sent to the server – what does it show under [who], [ports] etc? Nothing has changed in these functions for some time… Thanks Zak *From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T *Sent:* Wednesday, 20 February 2019 22:29 *To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; 'Timothy Williams' < user-1a5482fb085e@xymon.invalid> *Cc:* 'xymon at xymon.com' <xymon at xymon.com> *Subject:* [External] Re: [Xymon] Windows PS xymonclient This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments. So I added to the log file and got this: 2019-02-20 17:16:22.079 XymonWho start 2019-02-20 17:16:22.079 XymonWho running SESSIONNAME USERNAME ID STATE TYPE DEVICEservices 0Disc rdp-tcp#0 ptroot 1 Active rdpwd ccivers 2 Disc console 3 Conn ab57545 4 Disc dmjenso 5 Disc rdp-tcp 65536 Listen Total sessions created: 62 Total sessions disconnected: 105 Total sessions reconnected: 46 2019-02-20 17:16:22.079 XymonWho finished. The code as follow function XymonWho { WriteLog "XymonWho start" if( $HaveCmd.qwinsta) { "[who]" if ($script:usersessions -eq $null) { WriteLog "XymonWho running qwinsta" qwinsta.exe /counter } else { WriteLog "XymonWho running $Script:Usersessions" $script:usersessions } } WriteLog "XymonWho finished." } So we see that the script ran, and not qwinsta. And that there is output, but it goes to the wrong place apparently. Ah, function UserSessionCount runs the qwinsta /counter and saves the output. *From:* Root, Paul T *Sent:* Wednesday, February 20, 2019 3:58 PM *To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; Timothy Williams < user-1a5482fb085e@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* RE: [Xymon] Windows PS xymonclient It’s not size. 2.37 is only sending 74k The lastcollected file shows that the [ports] and [who] sections are empty. Running netstat and qwinsta inside the powershell manually works as expected. 2019-02-20 16:37:36.481 Sent 73872 bytes to server *From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> *Sent:* Wednesday, February 20, 2019 3:34 PM *To:* Timothy Williams <user-1a5482fb085e@xymon.invalid>; Root, Paul T < user-76fdb6883669@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since. Kris Springer On 2/20/19 2:23 PM, Timothy Williams wrote: On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid> wrote: Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. *From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> *Sent:* Wednesday, February 20, 2019 2:40 PM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid> <user-76fdb6883669@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/ <https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_p_xymon_code_HEAD_tree_sandbox_WinPSClient_&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=e7VnGi_W3qoklVGIds1ztc7L9BwTgB6fWCgXeP4j5OU&e=>; Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines. *From:* SebA <user-4631430d620a@xymon.invalid> <user-4631430d620a@xymon.invalid> *Sent:* Wednesday, February 20, 2019 12:10 PM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid> <user-76fdb6883669@xymon.invalid> *Cc:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Hi Paul, Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-) Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.) BTW, the empty sections I was getting are: [netstat] [ports] [ipconfig] [route] Kind regards, SebA On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid> wrote: Old version was 2.19, not 2.18. I put it back in on one of the machines and ports and who are back to normal. *From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T *Sent:* Wednesday, February 20, 2019 12:03 PM *To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Thanks Kris, No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using. Paul. *From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> *Sent:* Wednesday, February 20, 2019 12:01 PM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid>; xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it. Kris Springer On 2/20/19 10:47 AM, Root, Paul T wrote: So I only have 6 windows servers that I’m concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window. This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank. Processes and SVCS are both fine. So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start. Still stays the same blank page. Does anyone have any ideas? Paul Root Lead Operations Engineer - IT Managed Services XXX Commerce Dr Woodbury, Mn 55125 XXX-XXX-XXXX user-76fdb6883669@xymon.invalid This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 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. www.accenture.com This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Paul Root
Yes, all tests go green, and have data in them when the script (any version) is run from the command line. I use central configuration. The only thing I have in client-local.cfg for windows machines is the adreplicationcheck for the domain servers. Neither of which are showing this problem.
▸
From: SebA <user-4631430d620a@xymon.invalid> Sent: Friday, February 22, 2019 7:21 AM To: Root, Paul T <user-76fdb6883669@xymon.invalid> Cc: Beck, Zak <user-aada0fa38bf8@xymon.invalid>; Xymon Mailing List <xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient So, does ports go green when run manually? Regarding those errors, v2.37 is supposed to fix them (line 3240) - if I understand the context of the error correctly... Do you have a matching entry in client-local.cfg? (Are you using remote / central config using client-local.cfg or a local config?) Does it not print the line number of the error? Kind regards, SebA On Thu, 21 Feb 2019 at 15:18, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: It appears to run fine manually. It does pump out pages and pages of errors. Looks like most of them are the same. 2019-02-21 10:13:21.923 XymonPorts start You cannot call a method on a null-valued expres At C:\Program Files\xymon\xymonclient-2.37.ps1:2 + if ($script:clientlocalcfg_entries.Contain + CategoryInfo : InvalidOperation: + FullyQualifiedErrorId : InvokeMethodOnNull 2019-02-21 10:13:22.001 XymonPorts finished. The error for ports is a bit different: 2019-02-21 10:13:21.923 XymonPorts start You cannot call a method on a null-valued expres At C:\Program Files\xymon\xymonclient-2.37.ps1:2 + if ($script:clientlocalcfg_entries.Contain + CategoryInfo : InvalidOperation: + FullyQualifiedErrorId : InvokeMethodOnNull 2019-02-21 10:13:22.001 XymonPorts finished. From: SebA <user-4631430d620a@xymon.invalid<mailto:user-4631430d620a@xymon.invalid>> Sent: Thursday, February 21, 2019 6:15 AM To: Beck, Zak <user-aada0fa38bf8@xymon.invalid<mailto:user-aada0fa38bf8@xymon.invalid>>; Xymon Mailing List <xymon at xymon.com<mailto:xymon at xymon.com>>; Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> Subject: Re: [Xymon] Windows PS xymonclient Hi Paul, Like I said to Zak in a one-to-one e-mail last week, I think this is a Windows issue, not a client issue exactly, although it would be handy if the client log showed an error and what the error was. Do the new versions work fine in a Administrative powershell prompt if you run it manually from there? Or do you get any errors related to these empty sections? Kind regards, SebA On Thu, 21 Feb 2019 at 09:18, Beck, Zak <user-aada0fa38bf8@xymon.invalid<mailto:user-aada0fa38bf8@xymon.invalid>> wrote: Hi xymon-lastcollect.txt contains the last data sent to the server – what does it show under [who], [ports] etc? Nothing has changed in these functions for some time… Thanks Zak From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T Sent: Wednesday, 20 February 2019 22:29 To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; 'Timothy Williams' <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>> Cc: 'xymon at xymon.com<mailto:xymon at xymon.com>' <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: [External] Re: [Xymon] Windows PS xymonclient This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments. So I added to the log file and got this: 2019-02-20 17:16:22.079 XymonWho start 2019-02-20 17:16:22.079 XymonWho running SESSIONNAME USERNAME ID STATE TYPE DEVICE >services 0 Disc rdp-tcp#0 ptroot 1 Active rdpwd ccivers 2 Disc console 3 Conn ab57545 4 Disc dmjenso 5 Disc rdp-tcp 65536 Listen Total sessions created: 62 Total sessions disconnected: 105 Total sessions reconnected: 46 2019-02-20 17:16:22.079 XymonWho finished. The code as follow function XymonWho { WriteLog "XymonWho start" if( $HaveCmd.qwinsta) { "[who]" if ($script:usersessions -eq $null) { WriteLog "XymonWho running qwinsta" qwinsta.exe /counter } else { WriteLog "XymonWho running $Script:Usersessions" $script:usersessions } } WriteLog "XymonWho finished." } So we see that the script ran, and not qwinsta. And that there is output, but it goes to the wrong place apparently. Ah, function UserSessionCount runs the qwinsta /counter and saves the output. From: Root, Paul T Sent: Wednesday, February 20, 2019 3:58 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; Timothy Williams <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: RE: [Xymon] Windows PS xymonclient It’s not size. 2.37 is only sending 74k The lastcollected file shows that the [ports] and [who] sections are empty. Running netstat and qwinsta inside the powershell manually works as expected. 2019-02-20 16:37:36.481 Sent 73872 bytes to server From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 3:34 PM To: Timothy Williams <user-1a5482fb085e@xymon.invalid<mailto:user-1a5482fb085e@xymon.invalid>>; Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since. Kris Springer On 2/20/19 2:23 PM, Timothy Williams wrote: On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 2:40 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/<https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_p_xymon_code_HEAD_tree_sandbox_WinPSClient_&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=e7VnGi_W3qoklVGIds1ztc7L9BwTgB6fWCgXeP4j5OU&e=>; Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines. From: SebA <user-4631430d620a@xymon.invalid><mailto:user-4631430d620a@xymon.invalid> Sent: Wednesday, February 20, 2019 12:10 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid><mailto:user-76fdb6883669@xymon.invalid> Cc: Kris Springer <user-c2caa0a7a8d5@xymon.invalid><mailto:user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Hi Paul, Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-) Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.) BTW, the empty sections I was getting are: [netstat] [ports] [ipconfig] [route] Kind regards, SebA On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>> wrote: Old version was 2.19, not 2.18. I put it back in on one of the machines and ports and who are back to normal. From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Root, Paul T Sent: Wednesday, February 20, 2019 12:03 PM To: 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Thanks Kris, No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using. Paul. From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> Sent: Wednesday, February 20, 2019 12:01 PM To: Root, Paul T <user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Windows PS xymonclient Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it. Kris Springer On 2/20/19 10:47 AM, Root, Paul T wrote: So I only have 6 windows servers that I’m concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window. This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank. Processes and SVCS are both fine. So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start. Still stays the same blank page. Does anyone have any ideas? Paul Root Lead Operations Engineer - IT Managed Services XXX Commerce Dr Woodbury, Mn 55125 XXX-XXX-XXXX user-76fdb6883669@xymon.invalid<mailto:user-76fdb6883669@xymon.invalid> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 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. www.accenture.com<http://www.accenture.com>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Sebastian Auriol
Hi Paul, OK, good, do you have a lack of available RAM on the servers that are not reporting ports, etc.? For me, this was the case. As I said, I ran the latest version from the powershell prompt for a few hours, and it was fine, so then I started the service using the newest version, and it has been fine since then. Also, I would ensure that you have something in your client-local.cfg, especially with the versions that are not the newest version, because with old versions it will generate errors (not normally visible) and leak memory. I used the following to resolve those errors and memory leak: [powershell] # Requires importing BBWin registry to write to the correct place - otherwise it goes to root of C: external:slowscan:async:bb://winupd.vbs|SHA256|9645db60c723d1691251507d29c45e12271607cde56f5214dc57c557d182b692 [XymonPS] # Requires importing BBWin registry to write to the correct place - otherwise it goes to root of C: external:slowscan:async:bb://winupd.vbs|SHA256|9645db60c723d1691251507d29c45e12271607cde56f5214dc57c557d182b692 Kind regards, SebA On Mon, 25 Feb 2019 at 15:01, Root, Paul T <user-76fdb6883669@xymon.invalid>
▸
wrote:
Yes, all tests go green, and have data in them when the script (any version) is run from the command line. I use central configuration. The only thing I have in client-local.cfg for windows machines is the adreplicationcheck for the domain servers. Neither of which are showing this problem. *From:* SebA <user-4631430d620a@xymon.invalid> *Sent:* Friday, February 22, 2019 7:21 AM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid> *Cc:* Beck, Zak <user-aada0fa38bf8@xymon.invalid>; Xymon Mailing List < xymon at xymon.com> *Subject:* Re: [Xymon] Windows PS xymonclient So, does ports go green when run manually? Regarding those errors, v2.37 is supposed to fix them (line 3240) - if I understand the context of the error correctly... Do you have a matching entry in client-local.cfg? (Are you using remote / central config using client-local.cfg or a local config?) Does it not print the line number of the error? Kind regards, SebA On Thu, 21 Feb 2019 at 15:18, Root, Paul T <user-76fdb6883669@xymon.invalid> wrote: It appears to run fine manually. It does pump out pages and pages of errors. Looks like most of them are the same. 2019-02-21 10:13:21.923 XymonPorts start You cannot call a method on a null-valued expres At C:\Program Files\xymon\xymonclient-2.37.ps1:2 + if ($script:clientlocalcfg_entries.Contain + CategoryInfo : InvalidOperation: + FullyQualifiedErrorId : InvokeMethodOnNull 2019-02-21 10:13:22.001 XymonPorts finished. The error for ports is a bit different: 2019-02-21 10:13:21.923 XymonPorts start You cannot call a method on a null-valued expres At C:\Program Files\xymon\xymonclient-2.37.ps1:2 + if ($script:clientlocalcfg_entries.Contain + CategoryInfo : InvalidOperation: + FullyQualifiedErrorId : InvokeMethodOnNull 2019-02-21 10:13:22.001 XymonPorts finished. *From:* SebA <user-4631430d620a@xymon.invalid> *Sent:* Thursday, February 21, 2019 6:15 AM *To:* Beck, Zak <user-aada0fa38bf8@xymon.invalid>; Xymon Mailing List < xymon at xymon.com>; Root, Paul T <user-76fdb6883669@xymon.invalid> *Subject:* Re: [Xymon] Windows PS xymonclient Hi Paul, Like I said to Zak in a one-to-one e-mail last week, I think this is a Windows issue, not a client issue exactly, although it would be handy if the client log showed an error and what the error was. Do the new versions work fine in a Administrative powershell prompt if you run it manually from there? Or do you get any errors related to these empty sections? Kind regards, SebA On Thu, 21 Feb 2019 at 09:18, Beck, Zak <user-aada0fa38bf8@xymon.invalid> wrote: Hi xymon-lastcollect.txt contains the last data sent to the server – what does it show under [who], [ports] etc? Nothing has changed in these functions for some time… Thanks Zak *From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T *Sent:* Wednesday, 20 February 2019 22:29 *To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; 'Timothy Williams' < user-1a5482fb085e@xymon.invalid> *Cc:* 'xymon at xymon.com' <xymon at xymon.com> *Subject:* [External] Re: [Xymon] Windows PS xymonclient This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments. So I added to the log file and got this: 2019-02-20 17:16:22.079 XymonWho start 2019-02-20 17:16:22.079 XymonWho running SESSIONNAME USERNAME ID STATE TYPE DEVICEservices 0Disc rdp-tcp#0 ptroot 1 Active rdpwd ccivers 2 Disc console 3 Conn ab57545 4 Disc dmjenso 5 Disc rdp-tcp 65536 Listen Total sessions created: 62 Total sessions disconnected: 105 Total sessions reconnected: 46 2019-02-20 17:16:22.079 XymonWho finished. The code as follow function XymonWho { WriteLog "XymonWho start" if( $HaveCmd.qwinsta) { "[who]" if ($script:usersessions -eq $null) { WriteLog "XymonWho running qwinsta" qwinsta.exe /counter } else { WriteLog "XymonWho running $Script:Usersessions" $script:usersessions } } WriteLog "XymonWho finished." } So we see that the script ran, and not qwinsta. And that there is output, but it goes to the wrong place apparently. Ah, function UserSessionCount runs the qwinsta /counter and saves the output. *From:* Root, Paul T *Sent:* Wednesday, February 20, 2019 3:58 PM *To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; Timothy Williams < user-1a5482fb085e@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* RE: [Xymon] Windows PS xymonclient It’s not size. 2.37 is only sending 74k The lastcollected file shows that the [ports] and [who] sections are empty. Running netstat and qwinsta inside the powershell manually works as expected. 2019-02-20 16:37:36.481 Sent 73872 bytes to server *From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> *Sent:* Wednesday, February 20, 2019 3:34 PM *To:* Timothy Williams <user-1a5482fb085e@xymon.invalid>; Root, Paul T < user-76fdb6883669@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient I recall having purple issues when I moved from BBwin to the PSclient. I upped our acceptable size to 1024 and haven't had issues since. Kris Springer On 2/20/19 2:23 PM, Timothy Williams wrote: On the problem machines, check the xymonclient.log file on the server, or in console if you load it up. Check the size of the data file. We had to go to 1024. 2019-02-20 16:16:58 Sending to server 2019-02-20 16:16:58 Using ASCII encoding 2019-02-20 16:16:59 Connecting to host 2019-02-20 16:16:59 Sent 101438 bytes to server 2019-02-20 16:17:00 Received 436 bytes from server Tim On Wed, Feb 20, 2019 at 4:18 PM Root, Paul T <user-76fdb6883669@xymon.invalid> wrote: Thanks. I was on github, it’s only up to 2.34. So I upped my MAXMSG_DATA, and MAXMSG_STATUS to 768. It was 648. That cleared up the cisco ASA through devmon. But didn’t help here. So my xymond test for the server is now green. A 3rd machine dropped to red, but came green again, about the time I increased the message sizes. So maybe that’s something. Dropping down to 2.28 didn’t help. Ports is still empty. As is who. I’ll give 2.37 a try. *From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> *Sent:* Wednesday, February 20, 2019 2:40 PM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid> <user-76fdb6883669@xymon.invalid> *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Here's the download location of the latest XymonPSclient. https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/ <https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_p_xymon_code_HEAD_tree_sandbox_WinPSClient_&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=e7VnGi_W3qoklVGIds1ztc7L9BwTgB6fWCgXeP4j5OU&e=>; Kris Springer On 2/20/19 11:55 AM, Root, Paul T wrote: Nope, 2.34. That was what was on github, or where ever it was that I got it. I’m not a developer, and don’t really get how to use git. I poked and prodded until I got the file. I’ll try to find 2.28 and try it on those 2 machines. *From:* SebA <user-4631430d620a@xymon.invalid> <user-4631430d620a@xymon.invalid> *Sent:* Wednesday, February 20, 2019 12:10 PM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid> <user-76fdb6883669@xymon.invalid> *Cc:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Hi Paul, Do you mean v2.37 (that's the latest)? If so, I had the same issue on one of our servers. Downgrading to v2.28 fixed it, restarting the new version fixed it multiple times for just the 1st cycle, I got it working in a powershell admin prompt (running for at least an hour), then closed it and restarted the service on the new version, and it's been fine since then! I'm not touching it now! ;-) Clutching at straws a little bit, but I wonder if it might be related to not much memory being available. On the first run, it's using less memory so it works... (We have a process hogging almost all the RAM on that server.) BTW, the empty sections I was getting are: [netstat] [ports] [ipconfig] [route] Kind regards, SebA On Wed, 20 Feb 2019 at 18:06, Root, Paul T <user-76fdb6883669@xymon.invalid> wrote: Old version was 2.19, not 2.18. I put it back in on one of the machines and ports and who are back to normal. *From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T *Sent:* Wednesday, February 20, 2019 12:03 PM *To:* 'Kris Springer' <user-c2caa0a7a8d5@xymon.invalid>; xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Thanks Kris, No, these are all 2008R2 servers. Both ports and who worked with the 2.18 version, that I was using. Paul. *From:* Kris Springer <user-c2caa0a7a8d5@xymon.invalid> *Sent:* Wednesday, February 20, 2019 12:01 PM *To:* Root, Paul T <user-76fdb6883669@xymon.invalid>; xymon at xymon.com *Subject:* Re: [Xymon] Windows PS xymonclient Not sure if it's your issue or not, but I've found that 'who' is blank for Windows Home editions. Only Pro editions or Servers shows me 'who' output. Also, Windows Home editions don't have RDP, so it wouldn't be there anyway. Also, I've seen these sorts of issues on my servers before, and a reboot usually fixes it. Kris Springer On 2/20/19 10:47 AM, Root, Paul T wrote: So I only have 6 windows servers that I’m concerned with in my xymon installation. Today, I decided to upgrade the service. So I downloaded the v2.34 ps1 file. And I copied the file in place and restarted via the services window. This worked just fine on 4 machines. But on 2 machines, I get the ports test gone red because I’m looking for RDP, but I’m getting no output at all. Going into who, it is also blank. Processes and SVCS are both fine. So next I started the powershell as an administrator, and did the ‘Set-ExecutablePolicy RemoteSigned” and then did a .\xymonclient.ps1 install. Then a stop and start. Still stays the same blank page. Does anyone have any ideas? Paul Root Lead Operations Engineer - IT Managed Services XXX Commerce Dr Woodbury, Mn 55125 XXX-XXX-XXXX user-76fdb6883669@xymon.invalid This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. Xymon at xymon.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=kSa1WUomGWsTEwp5uraFvBrxA34b2zuL6hfE-pZuGfw&s=JpYfFcEQNJwv6kNcHzdwP-TAJY66NjN1sckaTo8WD9s&e=>; This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 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. www.accenture.com This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.