Xymon Mailing List Archive search

ps output cut

7 messages in this thread

list Gautier Begin · Wed, 1 Apr 2015 15:11:05 +0200 ·
Hello,

On machines having a long ps output, the output arrived cut in the XYMON server, provoking false alert on the check of the presence of processes.
How to solve that ?

Cordialement, Regards,Mit freundlichen Grüßen,

Gautier BEGIN


Global Service Support Solutions - Tools Support
CACEIS and APERAM accounts
CSC Computer Sciences Luxembourg S.A.
12D Impasse Drosbach
L-1882 Luxembourg

Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 | user-083785ae1711@xymon.invalid | www.csc.com


CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.  NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose
 • CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10 Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in France: RCS Nanterre B 315 268 664
list John Horne · Wed, 01 Apr 2015 15:14:06 +0100 ·
▸ quoted from Gautier Begin
On Wed, 2015-04-01 at 15:11 +0200, Gautier Begin wrote:
On machines having a long ps output, the output arrived cut in the
XYMON server, provoking false alert on the check of the presence of
processes. 
How to solve that ? 
Increase the 'MAXMSG_CLIENT' setting in 'xymonserver.cfg'. The
xymonserver.cfg man page has details about it:
https://www.xymon.com/help/manpages/man5/xymonserver.cfg.5.html


John.

-- 
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK
list Zak Beck · Wed, 1 Apr 2015 14:23:24 +0000 ·
Hi Gautier

 
Which client (Linux / BBWin / Windows PS Client / something else)?

 
How long is long (typically)?

 
Thanks

Zak 
▸ quoted from Gautier Begin

 
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gautier Begin
Sent: 01 April 2015 14:11
To: xymon at xymon.com; Xymon
Subject: [Xymon] ps output cut

 
Hello, 

On machines having a long ps output, the output arrived cut in the XYMON server, provoking false alert on the check of the presence of processes. 
How to solve that ? 

Cordialement, Regards,Mit freundlichen Grüßen,

Gautier BEGIN


Global Service Support Solutions - Tools Support
CACEIS and APERAM accounts
CSC Computer Sciences Luxembourg S.A.
12D Impasse Drosbach
L-1882 Luxembourg

Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 | user-083785ae1711@xymon.invalid <mailto:user-083785ae1711@xymon.invalid>  | www.csc.com
▸ quoted from Gautier Begin


CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.  NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose
• CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10 Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in France: RCS Nanterre B 315 268 664
list Gautier Begin · Wed, 1 Apr 2015 17:10:29 +0200 ·
Hello,

Solaris 10
The output in XYMON display stops at 1532 lines, the real ps total output is 2221 lines long.
▸ quoted from Zak Beck


Cordialement, Regards,Mit freundlichen Grüßen,

Gautier BEGIN


Global Service Support Solutions - Tools Support
CACEIS and APERAM accounts
CSC Computer Sciences Luxembourg S.A.
12D Impasse Drosbach
L-1882 Luxembourg

Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 | user-083785ae1711@xymon.invalid | www.csc.com


CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.  NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose
 • CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10 Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in France: RCS Nanterre B 315 268 664


From:   <user-aada0fa38bf8@xymon.invalid>
To:     Gautier Begin/LUX/CSC at CSC, <xymon at xymon.com>, <xymon-bounces at xymon.com>
Date:   04/01/2015 04:21 PM
Subject:        RE: [Xymon]  ps output cut


Hi Gautier
 Which client (Linux / BBWin / Windows PS Client / something else)?
 How long is long (typically)?
 Thanks
Zak  From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gautier Begin
Sent: 01 April 2015 14:11
To: xymon at xymon.com; Xymon
Subject: [Xymon] ps output cut
 Hello, 
On machines having a long ps output, the output arrived cut in the XYMON server, provoking false alert on the check of the presence of processes. How to solve that ? 
Cordialement, Regards,Mit freundlichen Grüßen,

Gautier BEGIN


Global Service Support Solutions - Tools Support
CACEIS and APERAM accounts
CSC Computer Sciences Luxembourg S.A.
12D Impasse Drosbach
L-1882 Luxembourg

Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 | user-083785ae1711@xymon.invalid | www.csc.com


CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.  NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose
• CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10 Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in France: RCS Nanterre B 315 268 664
list Gautier Begin · Wed, 1 Apr 2015 17:16:20 +0200 ·
Hello John,


Config on the XYMON proxy:

MAXMSGSPERCOMBO="40"            # Default 100 - prev 50 - 0 =>unlimited  | decrease if the flow rises
SLEEPBETWEENMSGS="100000"       # microseconds - prev 5000               | increase if the flow does so
                                # prev 5000 => but blocking the XYMON server
                                # prev 10000 => No more blocking but false alerts


Config on the XYMOn server

# Pbl semaphore avec "209715200" => que faire ??
MAXLINE="209715200"

# Previous value - 10485760
# Max size of a checkpoint files: 50M => 52428800
# but mux be double: current + the next one
MAXMSG_CLIENT="209715200"
  MAXMSG_DATA="209715200"
MAXMSG_STATUS="209715200"
MAXMSG_STACHG="209715200"               # No reason to change -  Current value of the MAXMSG_STATUS setting ( 256 )
MAXMSG_NOTES="1229056"          # Not used ?
  MAXMSG_PAGE="209715200"               # No reason to change -  Current value of the MAXMSG_STATUS setting ( 256 )
MAXMSG_ENADIS="614656"          # Not used ?
MAXMSG_CLICHG="209715200"       #  Default: Current value of the MAXMSG_CLIENT setting ( 512 )
▸ quoted from Gautier Begin


Cordialement, Regards,Mit freundlichen Grüßen,

Gautier BEGIN


Global Service Support Solutions - Tools Support
CACEIS and APERAM accounts
CSC Computer Sciences Luxembourg S.A.
12D Impasse Drosbach
L-1882 Luxembourg

Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 | user-083785ae1711@xymon.invalid | www.csc.com


CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.  NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose
 • CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10 Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in France: RCS Nanterre B 315 268 664


From:   John Horne <user-e95f1ec2f147@xymon.invalid>
To:     xymon at xymon.com
Date:   04/01/2015 04:37 PM
Subject:        Re: [Xymon] ps output cut

Sent by:        "Xymon" <xymon-bounces at xymon.com>
▸ quoted from Gautier Begin


On Wed, 2015-04-01 at 15:11 +0200, Gautier Begin wrote:
On machines having a long ps output, the output arrived cut in the
XYMON server, provoking false alert on the check of the presence of
processes. How to solve that ? 
Increase the 'MAXMSG_CLIENT' setting in 'xymonserver.cfg'. The
xymonserver.cfg man page has details about it:
https://www.xymon.com/help/manpages/man5/xymonserver.cfg.5.html


John.

-- 
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK
list Gautier Begin · Fri, 3 Apr 2015 08:10:36 +0200 ·
Any news ?

Cordialement, Regards,Mit freundlichen Grüßen,

Gautier BEGIN


Global Service Support Solutions - Tools Support
CACEIS and APERAM accounts
CSC Computer Sciences Luxembourg S.A.
12D Impasse Drosbach
L-1882 Luxembourg

Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 | user-083785ae1711@xymon.invalid | www.csc.com


CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.  NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose
 • CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10 Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in France: RCS Nanterre B 315 268 664


From:   Gautier Begin/LUX/CSC
To:     John Horne <user-e95f1ec2f147@xymon.invalid>
Cc:     xymon at xymon.com, "Xymon" <xymon-bounces at xymon.com>
Date:   04/01/2015 05:18 PM
Subject:        Re: [Xymon] ps output cut


Hello John,


Config on the XYMON proxy:

MAXMSGSPERCOMBO="40"            # Default 100 - prev 50 - 0 =>unlimited  | decrease if the flow rises
SLEEPBETWEENMSGS="100000"       # microseconds - prev 5000               | increase if the flow does so
                                # prev 5000 => but blocking the XYMON server
                                # prev 10000 => No more blocking but false alerts


Config on the XYMOn server

# Pbl semaphore avec "209715200" => que faire ??
MAXLINE="209715200"

# Previous value - 10485760
# Max size of a checkpoint files: 50M => 52428800
# but mux be double: current + the next one
MAXMSG_CLIENT="209715200"
  MAXMSG_DATA="209715200"
MAXMSG_STATUS="209715200"
MAXMSG_STACHG="209715200"               # No reason to change -  Current value of the MAXMSG_STATUS setting ( 256 )
MAXMSG_NOTES="1229056"          # Not used ?
  MAXMSG_PAGE="209715200"               # No reason to change -  Current value of the MAXMSG_STATUS setting ( 256 )
MAXMSG_ENADIS="614656"          # Not used ?
MAXMSG_CLICHG="209715200"       #  Default: Current value of the MAXMSG_CLIENT setting ( 512 )


Cordialement, Regards,Mit freundlichen Grüßen,

Gautier BEGIN


Global Service Support Solutions - Tools Support
CACEIS and APERAM accounts
CSC Computer Sciences Luxembourg S.A.
12D Impasse Drosbach
L-1882 Luxembourg

Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 | user-083785ae1711@xymon.invalid | www.csc.com


CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.  NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose
 • CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10 Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in France: RCS Nanterre B 315 268 664


From:   John Horne <user-e95f1ec2f147@xymon.invalid>
To:     xymon at xymon.com
Date:   04/01/2015 04:37 PM
Subject:        Re: [Xymon] ps output cut
Sent by:        "Xymon" <xymon-bounces at xymon.com>


On Wed, 2015-04-01 at 15:11 +0200, Gautier Begin wrote:
On machines having a long ps output, the output arrived cut in the
XYMON server, provoking false alert on the check of the presence of
processes. How to solve that ? 
Increase the 'MAXMSG_CLIENT' setting in 'xymonserver.cfg'. The
xymonserver.cfg man page has details about it:
https://www.xymon.com/help/manpages/man5/xymonserver.cfg.5.html


John.

-- 
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK
list Japheth Cleaver · Thu, 9 Apr 2015 22:51:39 -0700 ·
Gautier,

If it's being truncated by xymond (due to an oversize message), you should
see a line in the xymond.log file (and test) indicating a truncation. If
not, then it's most likely something occurring during during the initial
transport/TCP connection of the report.

Unfortunately, there's no inherent end delimiter, so if something closes
the connection early only a partial data set might come through.

I'd look for a potential network or system issue (sysctl tuning?) that
might be occurring here. We occasionally would see a rash of these when a
DMVPN device connecting a remote datacenter to our where our primary xymon
server was located started acting up.

As a quick patch, you can add "--filter='\\[clock\\]'" to the
xymond_channel options before xymond_client. That should prevent partial
messages from getting parsed by xymond_client into false statuses.


HTH,

-jc


On Thu, April 2, 2015 11:10 pm, Gautier Begin wrote:
Any news ?

Cordialement, Regards,Mit freundlichen Grüßen,
▸ quoted from Gautier Begin

Gautier BEGIN


Global Service Support Solutions - Tools Support
CACEIS and APERAM accounts
CSC Computer Sciences Luxembourg S.A.
12D Impasse Drosbach
L-1882 Luxembourg

Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 |
user-083785ae1711@xymon.invalid | www.csc.com


CSC • This is a PRIVATE message. If you are not the intended recipient,
▸ quoted from Gautier Begin
please delete without copying and kindly advise us by e-mail of the
mistake in delivery.  NOTE: Regardless of content, this e-mail shall not
operate to bind CSC to any order or other contract unless pursuant to
explicit written agreement or government initiative expressly permitting
the use of e-mail for such purpose

 •
CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10
Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in
▸ quoted from Gautier Begin
France: RCS Nanterre B 315 268 664


From:   Gautier Begin/LUX/CSC
To:     John Horne <user-e95f1ec2f147@xymon.invalid>
Cc:     xymon at xymon.com, "Xymon" <xymon-bounces at xymon.com>
Date:   04/01/2015 05:18 PM
Subject:        Re: [Xymon] ps output cut


Hello John,


Config on the XYMON proxy:

MAXMSGSPERCOMBO="40"            # Default 100 - prev 50 - 0 =>unlimited  |
decrease if the flow rises
SLEEPBETWEENMSGS="100000"       # microseconds - prev 5000               |
increase if the flow does so
                                # prev 5000 => but blocking the XYMON
server
                                # prev 10000 => No more blocking but false
alerts


Config on the XYMOn server

# Pbl semaphore avec "209715200" => que faire ??
MAXLINE="209715200"

# Previous value - 10485760
# Max size of a checkpoint files: 50M => 52428800
# but mux be double: current + the next one
MAXMSG_CLIENT="209715200"
  MAXMSG_DATA="209715200"
MAXMSG_STATUS="209715200"
MAXMSG_STACHG="209715200"               # No reason to change -  Current
value of the MAXMSG_STATUS setting ( 256 )
MAXMSG_NOTES="1229056"          # Not used ?
  MAXMSG_PAGE="209715200"               # No reason to change -  Current
value of the MAXMSG_STATUS setting ( 256 )
MAXMSG_ENADIS="614656"          # Not used ?
MAXMSG_CLICHG="209715200"       #  Default: Current value of the
MAXMSG_CLIENT setting ( 512 )


Cordialement, Regards,Mit freundlichen Grüßen,
▸ quoted from Gautier Begin

Gautier BEGIN


Global Service Support Solutions - Tools Support
CACEIS and APERAM accounts
CSC Computer Sciences Luxembourg S.A.
12D Impasse Drosbach
L-1882 Luxembourg

Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 |
user-083785ae1711@xymon.invalid | www.csc.com


CSC • This is a PRIVATE message. If you are not the intended recipient,
▸ quoted from Gautier Begin
please delete without copying and kindly advise us by e-mail of the
mistake in delivery.  NOTE: Regardless of content, this e-mail shall not
operate to bind CSC to any order or other contract unless pursuant to
explicit written agreement or government initiative expressly permitting
the use of e-mail for such purpose

 •
CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10
Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in
▸ quoted from Gautier Begin
France: RCS Nanterre B 315 268 664


From:   John Horne <user-e95f1ec2f147@xymon.invalid>
To:     xymon at xymon.com
Date:   04/01/2015 04:37 PM
Subject:        Re: [Xymon] ps output cut
Sent by:        "Xymon" <xymon-bounces at xymon.com>


On Wed, 2015-04-01 at 15:11 +0200, Gautier Begin wrote:
On machines having a long ps output, the output arrived cut in the
XYMON server, provoking false alert on the check of the presence of
processes.
How to solve that ?
Increase the 'MAXMSG_CLIENT' setting in 'xymonserver.cfg'. The
xymonserver.cfg man page has details about it:
https://www.xymon.com/help/manpages/man5/xymonserver.cfg.5.html


John.

--
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK