Xymon Mailing List Archive search

Troubleshooting XymonPS

9 messages in this thread

list Steve B · Wed, 18 Mar 2015 18:14:10 +0100 ·
Hi all,

I'm possibly going to make a fool out of myself here but thought I would
pose the question any way.
Thanks to all involved in making the PS client, seems like it's going to be
a great tool for me but I need to work out what I am doing wrong.

I have installed Xymonclient.ps1 on my server (windows server 2012) in
c:\program files\xymon.

 Directory of C:\Program Files\Xymon

18-03-15  17:09    <DIR>          .
18-03-15  17:09    <DIR>          ..
18-03-15  10:09    <DIR>          logs
18-03-15  07:49           331.264 nssm.exe
18-03-15  15:09           107.232 xymonclient.ps1
18-03-15  15:30               380 xymonclient_config.xml
18-03-15  07:49           396.800 XymonPSClient.exe
18-03-15  07:50             1.841 xymonsend.ps1

I have a service running called XymonPSClient.
I have log files saying data is being collected and data has been sent:

end of log file here:
2015-03-18 17:50:52  Main and optional tests finished.
2015-03-18 17:50:52  Sending to server
2015-03-18 17:50:52  Connecting to host (ip of my server)
2015-03-18 17:50:52  Sent 49192 bytes to server
2015-03-18 17:50:52  Received 0 bytes from server
2015-03-18 17:50:52  Executing RepeatTests
2015-03-18 17:50:52  RepeatTests finished
2015-03-18 17:50:52  Delaying until next run: 295.7656229 seconds

But when I check Xymon, no client data is actually being received, no
columns are appearing for the host I defined in bb-hosts. I did a

./bb localhost "hobbitdboard host=(my host name)"

and there is no client information there other than  trends/info/conn which
is fetched by the Xymon server.

Couple of points:

- There are no registry entries for XymonPSClient at the locations listed
in the readme
- I am using an older version of Xymon (hobbit) which works fine with bbwin.
- telnet to hobbit server using port 1984 - all ok.
- xymon-lastcollect.txt has all the information inside that I expect.

XymonSettings as follows:

[XymonConfig]
XymonSettings


serversList                     :  (my xymon server)
wanteddisksList                 : {3}
clientname                      : (my client host name)
clientbbwinmembug               : 1
clientsoftware                  : powershell
loopinterval                    : 300
maxlogage                       : 60
MaxEvents                       : 5000
slowscanrate                    : 72
reportevt                       : 1
EnableWin32_Product             : 0
EnableWin32_QuickFixEngineering : 0
EnableWMISections               : 0
ClientProcessPriority           : Normal
clientlogpath                   : c:\program files\xymon\logs
clientlogretain                 : 0
servergiflocation               : /xymon/gifs/
servers                         : (my xymon server)
clientlogfile                   : c:\program
files\xymon\logs\xymonclient.log
clientconfigfile                : c:\program files\xymon\clientconfig.cfg
clientfqdn                      : 1
clientlower                     : 1
clientremotecfgexec             : 1

note:
clientconfigfile                : c:\program files\xymon\clientconfig.cfg
this file doesn't exist

Any ideas?

Many thanks, sorry for long message but wanted to include as much info as
possible.
list John Rothlisberger · Wed, 18 Mar 2015 18:57:59 +0000 ·
Dumb question #1 – is there anything showing up in the ghost client list?

Thanks,
John
Upcoming PTO:

John Rothlisberger
IT Strategy, Infrastructure & Security - Technology Growth Platform
TGP for Business Process Outsourcing
Accenture
XXX.XXX.XXXX office
quoted from Steve B

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve B
Sent: Wednesday, March 18, 2015 12:14 PM
To: Xymon at xymon.com
Subject: [Xymon] Troubleshooting XymonPS

Hi all,
I'm possibly going to make a fool out of myself here but thought I would pose the question any way.
Thanks to all involved in making the PS client, seems like it's going to be a great tool for me but I need to work out what I am doing wrong.
I have installed Xymonclient.ps1 on my server (windows server 2012) in c:\program files\xymon.

 Directory of C:\Program Files\Xymon

18-03-15  17:09    <DIR>          .
18-03-15  17:09    <DIR>          ..
18-03-15  10:09    <DIR>          logs
18-03-15  07:49           331.264 nssm.exe
18-03-15  15:09           107.232 xymonclient.ps1
18-03-15  15:30               380 xymonclient_config.xml
18-03-15  07:49           396.800 XymonPSClient.exe
18-03-15  07:50             1.841 xymonsend.ps1
I have a service running called XymonPSClient.
I have log files saying data is being collected and data has been sent:

end of log file here:
2015-03-18 17:50:52  Main and optional tests finished.
2015-03-18 17:50:52  Sending to server
2015-03-18 17:50:52  Connecting to host (ip of my server)
2015-03-18 17:50:52  Sent 49192 bytes to server
2015-03-18 17:50:52  Received 0 bytes from server
2015-03-18 17:50:52  Executing RepeatTests
2015-03-18 17:50:52  RepeatTests finished
2015-03-18 17:50:52  Delaying until next run: 295.7656229 seconds
But when I check Xymon, no client data is actually being received, no columns are appearing for the host I defined in bb-hosts. I did a

./bb localhost "hobbitdboard host=(my host name)"
and there is no client information there other than  trends/info/conn which is fetched by the Xymon server.
Couple of points:
- There are no registry entries for XymonPSClient at the locations listed in the readme
- I am using an older version of Xymon (hobbit) which works fine with bbwin.
- telnet to hobbit server using port 1984 - all ok.
- xymon-lastcollect.txt has all the information inside that I expect.
XymonSettings as follows:

[XymonConfig]
XymonSettings


serversList                     :  (my xymon server)
wanteddisksList                 : {3}
clientname                      : (my client host name)
clientbbwinmembug               : 1
clientsoftware                  : powershell
loopinterval                    : 300
maxlogage                       : 60
MaxEvents                       : 5000
slowscanrate                    : 72
reportevt                       : 1
EnableWin32_Product             : 0
EnableWin32_QuickFixEngineering : 0
EnableWMISections               : 0
ClientProcessPriority           : Normal
clientlogpath                   : c:\program files\xymon\logs
clientlogretain                 : 0
servergiflocation               : /xymon/gifs/
servers                         : (my xymon server)
clientlogfile                   : c:\program files\xymon\logs\xymonclient.log
clientconfigfile                : c:\program files\xymon\clientconfig.cfg
clientfqdn                      : 1
clientlower                     : 1
clientremotecfgexec             : 1
note:
clientconfigfile                : c:\program files\xymon\clientconfig.cfg
this file doesn't exist
Any ideas?
Many thanks, sorry for long message but wanted to include as much info as possible.


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.

www.accenture.com
list Steve B · Wed, 18 Mar 2015 20:18:55 +0100 ·
Hi John,

no - nothing. I had actually tested this out by removing the host from
bb-hosts and then it did appear in the ghost client list.

rgds

S
quoted from John Rothlisberger

On Wed, Mar 18, 2015 at 7:57 PM, <user-7adce57665bb@xymon.invalid> wrote:
 Dumb question #1 – is there anything showing up in the ghost client list?


Thanks,

John

Upcoming PTO:


John Rothlisberger

IT Strategy, Infrastructure & Security - Technology Growth Platform

TGP for Business Process Outsourcing

Accenture

XXX.XXX.XXXX office


*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Steve B
*Sent:* Wednesday, March 18, 2015 12:14 PM
*To:* Xymon at xymon.com
*Subject:* [Xymon] Troubleshooting XymonPS


Hi all,

I'm possibly going to make a fool out of myself here but thought I would
pose the question any way.

Thanks to all involved in making the PS client, seems like it's going to
be a great tool for me but I need to work out what I am doing wrong.

I have installed Xymonclient.ps1 on my server (windows server 2012) in
c:\program files\xymon.

 Directory of C:\Program Files\Xymon

18-03-15  17:09    <DIR>          .
18-03-15  17:09    <DIR>          ..
18-03-15  10:09    <DIR>          logs
18-03-15  07:49           331.264 nssm.exe
18-03-15  15:09           107.232 xymonclient.ps1
18-03-15  15:30               380 xymonclient_config.xml
18-03-15  07:49           396.800 XymonPSClient.exe
18-03-15  07:50             1.841 xymonsend.ps1

I have a service running called XymonPSClient.

I have log files saying data is being collected and data has been sent:


end of log file here:

2015-03-18 17:50:52  Main and optional tests finished.
2015-03-18 17:50:52  Sending to server
2015-03-18 17:50:52  Connecting to host (ip of my server)
2015-03-18 17:50:52  Sent 49192 bytes to server
2015-03-18 17:50:52  Received 0 bytes from server
2015-03-18 17:50:52  Executing RepeatTests
2015-03-18 17:50:52  RepeatTests finished
2015-03-18 17:50:52  Delaying until next run: 295.7656229 seconds

But when I check Xymon, no client data is actually being received, no
columns are appearing for the host I defined in bb-hosts. I did a


./bb localhost "hobbitdboard host=(my host name)"

and there is no client information there other than  trends/info/conn
which is fetched by the Xymon server.

Couple of points:

- There are no registry entries for XymonPSClient at the locations listed
in the readme

- I am using an older version of Xymon (hobbit) which works fine with
bbwin.

- telnet to hobbit server using port 1984 - all ok.

- xymon-lastcollect.txt has all the information inside that I expect.

XymonSettings as follows:

[XymonConfig]
XymonSettings


serversList                     :  (my xymon server)
wanteddisksList                 : {3}
clientname                      : (my client host name)
clientbbwinmembug               : 1
clientsoftware                  : powershell
loopinterval                    : 300
maxlogage                       : 60
MaxEvents                       : 5000
slowscanrate                    : 72
reportevt                       : 1
EnableWin32_Product             : 0
EnableWin32_QuickFixEngineering : 0
EnableWMISections               : 0
ClientProcessPriority           : Normal
clientlogpath                   : c:\program files\xymon\logs
clientlogretain                 : 0
servergiflocation               : /xymon/gifs/
servers                         : (my xymon server)
clientlogfile                   : c:\program
files\xymon\logs\xymonclient.log
clientconfigfile                : c:\program files\xymon\clientconfig.cfg
clientfqdn                      : 1
clientlower                     : 1
clientremotecfgexec             : 1

note:

clientconfigfile                : c:\program files\xymon\clientconfig.cfg
this file doesn't exist

Any ideas?

Many thanks, sorry for long message but wanted to include as much info as
possible.


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.


www.accenture.com
list Brandon Dale · Wed, 18 Mar 2015 23:57:47 +0000 ·
Something else to try is turn off eventlog collection in the powershell client and/or increase the MAXMSG sizes in the hobbit equivalent of the xymonserver.cfg and see if that makes a difference.

Regards,


Brandon
quoted from Steve B

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve B
Sent: Thursday, 19 March 2015 6:19 AM
To: Xymon at xymon.com
Subject: Re: [Xymon] Troubleshooting XymonPS [senderbase]

Hi John,
no - nothing. I had actually tested this out by removing the host from bb-hosts and then it did appear in the ghost client list.
rgds
S

On Wed, Mar 18, 2015 at 7:57 PM, <user-7adce57665bb@xymon.invalid<mailto:user-7adce57665bb@xymon.invalid>> wrote:
Dumb question #1 – is there anything showing up in the ghost client list?

Thanks,
John
Upcoming PTO:

John Rothlisberger
IT Strategy, Infrastructure & Security - Technology Growth Platform
TGP for Business Process Outsourcing
Accenture

XXX.XXX.XXXX<tel:XXX.XXX.XXXX> office
list Steve B · Thu, 19 Mar 2015 16:32:43 +0100 ·
Thanks Brandon,

unfortunately no change with switching off the evt logs.

I have found an error though in clientdata.log:

clientdata.log:2015-03-19 16:16:51 No client backend for OS 'powershell'
sent by (ip address of host)

so will look into it from this angle.

cheers!


On Thu, Mar 19, 2015 at 12:57 AM, Brandon Dale <user-bf8ff8e1cedb@xymon.invalid>
quoted from Brandon Dale
wrote:
 Something else to try is turn off eventlog collection in the powershell
client and/or increase the MAXMSG sizes in the hobbit equivalent of the
xymonserver.cfg and see if that makes a difference.


Regards,


*Brandon *


*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Steve B
*Sent:* Thursday, 19 March 2015 6:19 AM
*To:* Xymon at xymon.com
*Subject:* Re: [Xymon] Troubleshooting XymonPS [senderbase]


Hi John,

no - nothing. I had actually tested this out by removing the host from
bb-hosts and then it did appear in the ghost client list.

rgds

S


On Wed, Mar 18, 2015 at 7:57 PM, <user-7adce57665bb@xymon.invalid>
wrote:

Dumb question #1 – is there anything showing up in the ghost client list?


Thanks,

John

Upcoming PTO:


John Rothlisberger

IT Strategy, Infrastructure & Security - Technology Growth Platform

TGP for Business Process Outsourcing

Accenture

XXX.XXX.XXXX office

list Steve B · Thu, 19 Mar 2015 17:07:39 +0100 ·
Set clientsoftware entry in xml config file to bbwin and it's working now.
Thanks to all
S
quoted from Steve B

On Thu, Mar 19, 2015 at 4:32 PM, Steve B <user-df463d3c0721@xymon.invalid> wrote:
Thanks Brandon,

unfortunately no change with switching off the evt logs.

I have found an error though in clientdata.log:

clientdata.log:2015-03-19 16:16:51 No client backend for OS 'powershell'
sent by (ip address of host)

so will look into it from this angle.

cheers!


On Thu, Mar 19, 2015 at 12:57 AM, Brandon Dale <user-bf8ff8e1cedb@xymon.invalid>
wrote:
 Something else to try is turn off eventlog collection in the powershell
client and/or increase the MAXMSG sizes in the hobbit equivalent of the
xymonserver.cfg and see if that makes a difference.


Regards,


*Brandon *


*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Steve B
*Sent:* Thursday, 19 March 2015 6:19 AM
*To:* Xymon at xymon.com
*Subject:* Re: [Xymon] Troubleshooting XymonPS [senderbase]


Hi John,

no - nothing. I had actually tested this out by removing the host from
bb-hosts and then it did appear in the ghost client list.

rgds

S


On Wed, Mar 18, 2015 at 7:57 PM, <user-7adce57665bb@xymon.invalid>
wrote:

Dumb question #1 – is there anything showing up in the ghost client list?


Thanks,

John

Upcoming PTO:


John Rothlisberger

IT Strategy, Infrastructure & Security - Technology Growth Platform

TGP for Business Process Outsourcing

Accenture

XXX.XXX.XXXX office

list Japheth Cleaver · Sun, 22 Mar 2015 01:07:47 -0700 ·
quoted from Steve B
On Thu, March 19, 2015 9:07 am, Steve B wrote:
Set clientsoftware entry in xml config file to bbwin and it's working now.
Thanks to all
S

On Thu, Mar 19, 2015 at 4:32 PM, Steve B <user-df463d3c0721@xymon.invalid> wrote:
Thanks Brandon,

unfortunately no change with switching off the evt logs.

I have found an error though in clientdata.log:

clientdata.log:2015-03-19 16:16:51 No client backend for OS 'powershell'
sent by (ip address of host)

so will look into it from this angle.

Steve,


You mentioned this was an older version of Hobbit; if it's pre-4.3.0, that
would explain it.

'powershell' client/OS identifier support wasn't available until
https://sourceforge.net/p/xymon/code/6386/


Regards,

-jc
list Steve B · Mon, 23 Mar 2015 10:31:24 +0100 ·
Hi J.C,

thanks a lot for that comment!  I thought it was something like this, we
are indeed on older version - 4.3.0.0 beta 2 (so pre Xymon) and are testing
the upgrade at the moment. As we have this older version in production and
a few thousand hosts throughout the world and with many custom things put
in place over the years, it's not a simple upgrade..

PS client working well over here. Thanks again to all involved.

On Sun, Mar 22, 2015 at 9:07 AM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
On Thu, March 19, 2015 9:07 am, Steve B wrote:
Set clientsoftware entry in xml config file to bbwin and it's working
now.
Thanks to all
S

On Thu, Mar 19, 2015 at 4:32 PM, Steve B <user-df463d3c0721@xymon.invalid> wrote:
Thanks Brandon,

unfortunately no change with switching off the evt logs.

I have found an error though in clientdata.log:

clientdata.log:2015-03-19 16:16:51 No client backend for OS 'powershell'
sent by (ip address of host)

so will look into it from this angle.

Steve,


You mentioned this was an older version of Hobbit; if it's pre-4.3.0, that
would explain it.

'powershell' client/OS identifier support wasn't available until
https://sourceforge.net/p/xymon/code/6386/


Regards,

-jc

list Paul Root · Mon, 23 Mar 2015 14:03:36 +0000 ·
The client and server versions of Xymon and Hobbit are inter-operable. You don’t have to do an all for one upgrade.

Paul.
quoted from Steve B

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve B
Sent: Monday, March 23, 2015 4:31 AM
To: Xymon at xymon.com
Subject: Re: [Xymon] Troubleshooting XymonPS

Hi J.C,
thanks a lot for that comment!  I thought it was something like this, we are indeed on older version - 4.3.0.0 beta 2 (so pre Xymon) and are testing the upgrade at the moment. As we have this older version in production and a few thousand hosts throughout the world and with many custom things put in place over the years, it's not a simple upgrade..
PS client working well over here. Thanks again to all involved.

On Sun, Mar 22, 2015 at 9:07 AM, J.C. Cleaver <user-87556346d4af@xymon.invalid<mailto:user-87556346d4af@xymon.invalid>> wrote:
On Thu, March 19, 2015 9:07 am, Steve B wrote:
Set clientsoftware entry in xml config file to bbwin and it's working now.
Thanks to all
S

On Thu, Mar 19, 2015 at 4:32 PM, Steve B <user-df463d3c0721@xymon.invalid<mailto:user-df463d3c0721@xymon.invalid>> wrote:
Thanks Brandon,

unfortunately no change with switching off the evt logs.

I have found an error though in clientdata.log:

clientdata.log:2015-03-19 16:16:51 No client backend for OS 'powershell'
sent by (ip address of host)

so will look into it from this angle.

Steve,


You mentioned this was an older version of Hobbit; if it's pre-4.3.0, that
would explain it.

'powershell' client/OS identifier support wasn't available until
https://sourceforge.net/p/xymon/code/6386/


Regards,

-jc

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.