Xymon Mailing List Archive search

xymon 4.3.10 not working for HP-UX 11.31 !

5 messages in this thread

list Andersson Tomas · Thu, 30 Aug 2012 10:50:07 +0200 ·
Hi there!

I have still no Luck with the xymon v 4.3.10 to function on my systems that is:
HP-UX hpivm006 B.11.31 U ia64 1185740114 unlimited-user license
ia64 hp server Integrity Virtual Machine

The folloving logfiles only contain rows of: " Peer not up, flushing message queue"

alert.log
clientdata.log
history.log
hostdata.log
rrd-data.log
rrd-status.log

the xymonlaunch.log looks OK:
2012-08-29 13:53:59 Loading tasklist configuration from /opt/xymon/server/etc/tasks.cfg
2012-08-29 13:53:59 Loading hostnames
2012-08-29 13:53:59 Loading saved state
2012-08-29 13:53:59 Setting up network listener on 0.0.0.0:1984
2012-08-29 13:53:59 Setting up signal handlers
2012-08-29 13:53:59 Setting up xymond channels
2012-08-29 13:53:59 Setting up logfiles

I now have a dev server for test (a clone of the prod server)
Here I have installed both the current running version 4.3.7 and the 4.3.10
I've compiled them both OK.
I installed the 4.3.7 version and all started and functioned OK.
Then I installed the 4.3.10 and this is not functioning at all.
I get no messages from the test clients and eventually the system goes purple on all but the conn, info and trend columns. (even for the server itself)
Apparently the "xymond_channel" processes starts to eat CPU and after a while I had to stop the system to prevent it
From  using to much CPU (since I have a virtual environment and there was prod servers that was affected)

Anybody have a clue of what is wrong or anybody has succeded to run the xymopn 4.3.10 on hp-ux ??


Best Regards,
/Tomas Andersson

Unix System Admin/Tech/Dev
SCA IT Services

Tel. +46 31 7460313
Mob. +46 703 610313


This message  may contain confidential, proprietary or legally
privileged information and is intended for the addressee's use
only. Any usage, disclosure, distribution, print or copying of
any  part  of  this  message  is prohibited unless you are the
intended  recipient.  If  you  receive  this message in error,
please  delete it from any computer and notify the sender.  If
you  suspect  that  this message may have been altered, please
notify the sender. SCA has taken every  reasonable  precaution
to ensure that this  e-mail and any attachments to this e-mail
has  been  scanned for viruses. However,  SCA does  not accept
liability for any damage caused by software viruses brought to
you by this mail.
list Henrik Størner · Thu, 30 Aug 2012 11:15:41 +0200 ·
quoted from Andersson Tomas
On 30-08-2012 10:50, Andersson Tomas wrote:
Hi there!

I have still no Luck with the xymon v 4.3.10 to function on my systems that is:
HP-UX hpivm006 B.11.31 U ia64 1185740114 unlimited-user license
ia64 hp server Integrity Virtual Machine

The folloving logfiles only contain rows of: " Peer not up, flushing message queue"

alert.log
clientdata.log
history.log
hostdata.log
rrd-data.log
rrd-status.log
The only reason I can think of is that the various xymond_* modules won't run for some reason.

See if you can run them by hand. You can disable all of the xymond_channel+xymond_* tasks in tasks.cfg to avoid the system spinning out of control, then start Xymon. You should only have xymonlaunch and xymond running (xymonnet and the client will also run, once every 5 minutes).

Then - as the user xymond runs as! - run "xymoncmd xymond_channel --channel=status cat". This should result in all incoming status-messages being dumped on your screen. If that works, then try "xymoncmd xymond_channel --channel=client xymond_client --debug" - this should start the client data handler, so you should start getting status updates from your clients (cpu, disk, memory etc).


Regards,
Henrik
list Andersson Tomas · Thu, 30 Aug 2012 13:00:50 +0200 ·
Hi Henrik !

Thanks for reply !
I tried what you suggested but it didn't work I did not get anything but the following:

xymon at hpivm010:/opt/xymon # xymoncmd xymond_channel --channel=status cat
2012-08-30 12:45:10 Using default environment file /opt/xymon/server/etc/xymonserver.cfg
2012-08-30 12:45:43 Peer not up, flushing message queue
2012-08-30 12:46:38 Peer not up, flushing message queue
2012-08-30 12:48:37 Peer not up, flushing message queue
2012-08-30 12:48:37 Peer not up, flushing message queue
2012-08-30 12:48:37 Peer not up, flushing message queue
2012-08-30 12:48:37 Peer not up, flushing message queue

If you look at the top command then you see the process xymond_channel is consuming huge amount of cpu:

System: hpivm010                                      Thu Aug 30 12:54:02 2012
Load averages: 0.31, 0.39, 1.03
179 processes: 123 sleeping, 56 running
Cpu states:
CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
 0    0.53  63.4%   0.0%  36.6%   0.0%   0.0%   0.0%   0.0%   0.0%
 1    0.08   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%
---   ----  -----  -----  -----  -----  -----  -----  -----  -----
avg   0.31  32.0%   0.0%  18.0%  50.0%   0.0%   0.0%   0.0%   0.0%

System Page Size: 4Kbytes
Memory: 376932K (187064K) real, 830024K (428180K) virtual, 3418312K free  Page# 1/4

CPU TTY    PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
 0 pts/0 26422 xymon    223 20 15376K   588K run      0:15 65.76 48.71 xymond_channel
 1   ?    2153 root     168 20 15568K  1120K sleep   12:30  0.36  0.36 utild
 1   ?   25829 root     154 20 24352K  2008K sleep    0:00  0.06  0.06 sshd:
 0   ?     920 root     127 20 12976K   844K sleep    0:46  0.04  0.04 netfmt
 0   ?      77 root     152 20   216K   192K run      3:01  0.04  0.04 pm_schedcpu
 1   ?      63 root     -32 20    72K    64K sleep    0:18  0.03  0.03 progressdaemon
 0   ?      75 root     152 20  2160K  1920K run      1:35  0.03  0.03 vxfsd
 0   ?    1493 root     154 20 11116K  1168K sleep    2:40  0.02  0.02 sendmail:
 0   ?    1565 root     154 20  6876K   668K sleep    0:51  0.02  0.02 ipv6agt
 0   ?   25578 xymon    154 20 42192K  1084K sleep    0:00  0.01  0.01 xymond
 0   ?       0 root     127 20    72K    64K sleep    0:25  0.00  0.00 swapper
 0   ?       1 root     152 20  2480K   656K run      0:00  0.00  0.00 init
 1   ?       2 root     128 20    72K    64K sleep    0:03  0.00  0.00 vhand
 1   ?       3 root     152 20    72K    64K sleep    0:28  0.00  0.00 statdaemon


This is what you get when doing a tusc of the process

semop(24592, 0x7fffd5a8, 1) .................................................................................. ERR#11 EAGAIN
sigprocmask(SIG_BLOCK, 0x7fffd500, 0x7fffd520) ............................................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffd540, 0x7fffd560) ............................................................. = 0
sigprocmask(SIG_BLOCK, 0x7fffd4f0, 0x7fffd510) ............................................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffd530, 0x7fffd550) ............................................................. = 0
semop(24592, 0x7fffd5a8, 1) .................................................................................. ERR#11 EAGAIN
sigprocmask(SIG_BLOCK, 0x7fffd500, 0x7fffd520) ............................................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffd540, 0x7fffd560) ............................................................. = 0
sigprocmask(SIG_BLOCK, 0x7fffd4f0, 0x7fffd510) ............................................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffd530, 0x7fffd550) ............................................................. = 0
semop(24592, 0x7fffd5a8, 1) .................................................................................. ERR#11 EAGAIN
sigprocmask(SIG_BLOCK, 0x7fffd500, 0x7fffd520) ............................................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffd540, 0x7fffd560) ............................................................. = 0
sigprocmask(SIG_BLOCK, 0x7fffd4f0, 0x7fffd510) ............................................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffd530, 0x7fffd550) ............................................................. = 0
semop(24592, 0x7fffd5a8, 1) .................................................................................. ERR#11 EAGAIN
sigprocmask(SIG_BLOCK, 0x7fffd500, 0x7fffd520) ............................................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffd540, 0x7fffd560) ............................................................. = 0
sigprocmask(SIG_BLOCK, 0x7fffd4f0, 0x7fffd510) ............................................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffd530, 0x7fffd550) ............................................................. = 0
semop(24592, 0x7fffd5a8, 1) .................................................................................. ERR#11 EAGAIN

seems like the process is hanging ...

any ideas ?
signature


Best Regards,
/Tomas Andersson

Unix System Admin/Tech/Dev
SCA IT Services

Tel. +46 31 7460313
Mob. +46 703 610313


-----Original Message-----

quoted from Henrik Størner
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: den 30 augusti 2012 11:16
To: xymon at xymon.com
Subject: Re: [Xymon] xymon 4.3.10 not working for HP-UX 11.31 !

On 30-08-2012 10:50, Andersson Tomas wrote:
Hi there!

I have still no Luck with the xymon v 4.3.10 to function on my systems that is:
HP-UX hpivm006 B.11.31 U ia64 1185740114 unlimited-user license
ia64 hp server Integrity Virtual Machine

The folloving logfiles only contain rows of: " Peer not up, flushing message queue"

alert.log
clientdata.log
history.log
hostdata.log
rrd-data.log
rrd-status.log
The only reason I can think of is that the various xymond_* modules won't run for some reason.

See if you can run them by hand. You can disable all of the
xymond_channel+xymond_* tasks in tasks.cfg to avoid the system spinning out of control, then start Xymon. You should only have xymonlaunch and xymond running (xymonnet and the client will also run, once every 5 minutes).

Then - as the user xymond runs as! - run "xymoncmd xymond_channel --channel=status cat". This should result in all incoming status-messages being dumped on your screen. If that works, then try "xymoncmd xymond_channel --channel=client xymond_client --debug" - this should start the client data handler, so you should start getting status updates from your clients (cpu, disk, memory etc).


Regards,
Henrik


This message may contain confidential, proprietary or legally
privileged information and is intended for the addressee's use
only. Any usage, disclosure, distribution, print or copying of
any part of this message is prohibited unless you are the
intended recipient. If you receive this message in error,
please delete it from any computer and notify the sender. If
you suspect that this message may have been altered, please
notify the sender. SCA has taken every reasonable precaution
to ensure that this e-mail and any attachments to this e-mail
has been scanned for viruses. However, SCA does not accept
liability for any damage caused by software viruses brought to
you by this mail.
list Henrik Størner · Fri, 31 Aug 2012 14:05:27 +0200 ·
quoted from Henrik Størner
On 30-08-2012 11:15, Henrik Størner wrote:
On 30-08-2012 10:50, Andersson Tomas wrote:
Hi there!

I have still no Luck with the xymon v 4.3.10 to function on my systems
that is:
HP-UX hpivm006 B.11.31 U ia64 1185740114 unlimited-user license
ia64 hp server Integrity Virtual Machine
The only reason I can think of is that the various xymond_* modules
won't run for some reason.
Tomas did some tests for me, and so far we haven't been able to determine what the cause of this is. I may get access to an HP/UX server next week and will try to figure it out.

As a work-around, the xymond_channel program from 4.3.7 appears to work fine.


Regards,
Henrik
list Ryan Novosielski · Fri, 31 Aug 2012 10:06:53 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
quoted from Henrik Størner

On 08/31/2012 08:05 AM, Henrik Størner wrote:
On 30-08-2012 11:15, Henrik Størner wrote:
On 30-08-2012 10:50, Andersson Tomas wrote:
Hi there!

I have still no Luck with the xymon v 4.3.10 to function on my systems that is: HP-UX hpivm006 B.11.31 U ia64 1185740114 unlimited-user license ia64 hp server Integrity Virtual
Machine
The only reason I can think of is that the various xymond_* modules won't run for some reason.
Tomas did some tests for me, and so far we haven't been able to determine what the cause of this is. I may get access to an HP/UX server next week and will try to figure it out.

As a work-around, the xymond_channel program from 4.3.7 appears to work fine.
I've probably got one I can use for testing if it is required (though we
never got past 11.11 if memory serves -- don't know if it's a free
upgrade or not).

- -- - ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBAxP0ACgkQmb+gadEcsb4C8ACg3/Duc0UWBXh0QlaJ1L/9JTUX
oywAoMyY5TYEsYq4jyJVBj9buyuy0kkV
=gW3z
-----END PGP SIGNATURE-----