Xymon Mailing List Archive search

problem with subpagecolums

6 messages in this thread

list Akshar Bhosale · Thu, 7 Oct 2010 22:56:36 +0530 ·
hello Henrik/Xymon Team,

Is subpagecolumns issue resolved in 4.3 version?please help us as we are
praising xymon and encouraging other sysadmin teams to use the same.
your kind help will be appreciated.

---------- Forwarded message ----------
From: akshar bhosale <user-ef04175556bd@xymon.invalid>
Date: Mon, Oct 4, 2010 at 12:01 AM
Subject: subcolumns and display issue
To: xymon at xymon.com


Hi,
we have xymon4.2.2 and rhel 5.2 os. we have a server and 100 clients.

We have 3 sub clusters and above bb-host file. Now our problem is that we
have restriction on subcolumns argument to BBGENOPTS as this is common for
all three subcluster pages..so if we want to add one extra test in one of
the subcluster, we need to increase subcolumns aruments..e.g.all subclusters
have 8 tests, so subcolumns=8, now if we want to configure one more test in
subcluster2 only, how we should do that? because if we do subcolumns=9, all
our display page will be disturbed as there are 8 tests for subcluster1 and
3 and 9 tests for subcluster2. So how to add or remove any service without
disturbing the main display


our hostfile is like:


page rack001 <I>Compute cluster</I>

title <I>Compute Nodes</I>

subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    #
172.29.1.50   node50.mgmt.acc.in    #
172.29.1.51   node51.mgmt.acc.in    #
172.29.1.52   node52.mgmt.acc.in    #
172.29.1.53   node53.mgmt.acc.in    #
172.29.1.54   node54.mgmt.acc.in    #

subpage rack901 cpu
group-only cpu

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn
....and so on

?


Kindly help
list Henrik Størner · Thu, 7 Oct 2010 22:11:34 +0200 ·
What you're trying to do is not really the way the Xymon webpages
was thought out to be. Xymon treats a single host as a whole,
you want to see services instead. So you have ssh for all of the
hosts in one group, conn for all of the hosts in another and so
on. The Xymon webpages works differently - it will group by
host, not by service.

So this issue is not resolved in 4.3.x, and unless someone
provides a different tool for building the webpages, it will
not be resolved. The standard bbgen tool cannot be made to
work the way you want it to.


Regards,
Henrik
quoted from Akshar Bhosale


On Thu, Oct 07, 2010 at 10:56:36PM +0530, akshar bhosale wrote:
hello Henrik/Xymon Team,

Is subpagecolumns issue resolved in 4.3 version?please help us as we are
praising xymon and encouraging other sysadmin teams to use the same.
your kind help will be appreciated.

---------- Forwarded message ----------
From: akshar bhosale <user-ef04175556bd@xymon.invalid>
Date: Mon, Oct 4, 2010 at 12:01 AM
Subject: subcolumns and display issue
To: xymon at xymon.com


Hi,
we have xymon4.2.2 and rhel 5.2 os. we have a server and 100 clients.

We have 3 sub clusters and above bb-host file. Now our problem is that we
have restriction on subcolumns argument to BBGENOPTS as this is common for
all three subcluster pages..so if we want to add one extra test in one of
the subcluster, we need to increase subcolumns aruments..e.g.all subclusters
have 8 tests, so subcolumns=8, now if we want to configure one more test in
subcluster2 only, how we should do that? because if we do subcolumns=9, all
our display page will be disturbed as there are 8 tests for subcluster1 and
3 and 9 tests for subcluster2. So how to add or remove any service without
disturbing the main display


our hostfile is like:


page rack001 <I>Compute cluster</I>

title <I>Compute Nodes</I>

subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    #
172.29.1.50   node50.mgmt.acc.in    #
172.29.1.51   node51.mgmt.acc.in    #
172.29.1.52   node52.mgmt.acc.in    #
172.29.1.53   node53.mgmt.acc.in    #
172.29.1.54   node54.mgmt.acc.in    #

subpage rack901 cpu
group-only cpu

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn
....and so on

?


Kindly help
list Marco Avvisano · Fri, 08 Oct 2010 11:55:40 +0200 ·
Hi,

i'm tryng to update my hobbit server 4.2.0 to xymon 4.3.0 beta2

OS : Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
Linux  2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686 i386 GNU/Linux

hobbitlaunch.log:

2010-10-08 10:08:27 hobbitlaunch starting
2010-10-08 10:08:27 Loading tasklist configuration from /opt/xymon/server/etc/hobbitlaunch.cfg
2010-10-08 10:08:27 Loading hostnames
2010-10-08 10:08:27 Loading saved state
2010-10-08 10:08:27 Cannot access checkpoint file /opt/xymon/server/tmp/hobbitd.chk for restore
2010-10-08 10:08:27 Setting up network listener on 127.0.0.2:1984
2010-10-08 10:08:27 Setting up signal handlers
2010-10-08 10:08:27 Setting up hobbitd channels
2010-10-08 10:08:27 Setting up logfiles
2010-10-08 10:09:35 Task bbdisplay terminated by signal 6
2010-10-08 10:10:36 Task bbdisplay terminated by signal 6
2010-10-08 10:11:37 Task bbdisplay terminated by signal 6
2010-10-08 10:12:37 Task bbdisplay terminated by signal 6
2010-10-08 10:13:37 Task san-display terminated, status 134 (alternate pageset sh)
2010-10-08 10:13:38 Task com-display terminated, status 134 (alternate pageset sh)
2010-10-08 10:13:38 Task internet-display terminated, status 134 (alternate pageset sh)
2010-10-08 10:13:41 Task prov-display terminated, status 134 (alternate pageset sh)
2010-10-08 10:13:41 Task bbdisplay terminated by signal 6
2010-10-08 10:14:26 hobbitlaunch starting
2010-10-08 10:14:26 Loading tasklist configuration from /opt/xymon/server/etc/hobbitlaunch.cfg
2010-10-08 10:14:26 Loading hostnames
2010-10-08 10:14:27 Loading saved state
2010-10-08 10:14:27 Too few fields in record - found 6, expected 17
2010-10-08 10:14:27 Too few fields in record - found 6, expected 17
gdb output

GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `/opt/xymon/server/bin/bbgen --pageset=san /opt/xymon/server/www/san/'.
Program terminated with signal 6, Aborted.


GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `bbgen --recentgifs --subpagecolumns=2'.
Program terminated with signal 6, Aborted.

  rrd-status.log

2010-10-08 10:08:33 Peer not up, flushing message queue
2010-10-08 10:08:33 Peer not up, flushing message queue
2010-10-08 10:08:33 Peer not up, flushing message queue


any ideas ?

regards,

Marco
list Henrik Størner · Fri, 8 Oct 2010 13:22:50 +0000 (UTC) ·
quoted from Marco Avvisano
In <user-7f90f6d9fe1a@xymon.invalid> Marco Avvisano <user-e09c0f3f8c70@xymon.invalid> writes:
i'm tryng to update my hobbit server 4.2.0 to xymon 4.3.0 beta2
you might want to hold that for a few days, or at least I would
urge you to grab the current Subversion code instead of beta2.

I expect to give my official blessings to a new test-version 
sometime next week, so it will be much more interesting if
the problem occurs with the current code also.
quoted from Marco Avvisano
gdb output
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".
Core was generated by `/opt/xymon/server/bin/bbgen --pageset=san 
/opt/xymon/server/www/san/'.
Program terminated with signal 6, Aborted.

Please include the output from the "bt" gdb-command also.


Regards,
Henrik
list Cade Robinson · Fri, 8 Oct 2010 08:33:46 -0500 ·
What revision are you using?
I had issues with r6376 - r6402.
r6376 put in a stackio change that caused crashes - for me anyway.
I have r6415 running and working great. 
quoted from Marco Avvisano
-----Original Message-----
From: Marco Avvisano [mailto:user-e09c0f3f8c70@xymon.invalid] Sent: Friday, October 08, 2010 4:56 AM
To: xymon at xymon.com
Subject: [xymon] bbgen crash on xymon 4.3.0 beta2

Hi,

i'm tryng to update my hobbit server 4.2.0 to xymon 4.3.0 beta2

OS : Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
Linux  2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686 i386 GNU/Linux

hobbitlaunch.log:

2010-10-08 10:08:27 hobbitlaunch starting
2010-10-08 10:08:27 Loading tasklist configuration from /opt/xymon/server/etc/hobbitlaunch.cfg
2010-10-08 10:08:27 Loading hostnames
2010-10-08 10:08:27 Loading saved state
2010-10-08 10:08:27 Cannot access checkpoint file /opt/xymon/server/tmp/hobbitd.chk for restore
2010-10-08 10:08:27 Setting up network listener on 127.0.0.2:1984
2010-10-08 10:08:27 Setting up signal handlers
2010-10-08 10:08:27 Setting up hobbitd channels
2010-10-08 10:08:27 Setting up logfiles
2010-10-08 10:09:35 Task bbdisplay terminated by signal 6
2010-10-08 10:10:36 Task bbdisplay terminated by signal 6
2010-10-08 10:11:37 Task bbdisplay terminated by signal 6
2010-10-08 10:12:37 Task bbdisplay terminated by signal 6
2010-10-08 10:13:37 Task san-display terminated, status 134 (alternate pageset sh)
2010-10-08 10:13:38 Task com-display terminated, status 134 (alternate pageset sh)
2010-10-08 10:13:38 Task internet-display terminated, status 134 (alternate pageset sh)
2010-10-08 10:13:41 Task prov-display terminated, status 134 (alternate pageset sh)
2010-10-08 10:13:41 Task bbdisplay terminated by signal 6
2010-10-08 10:14:26 hobbitlaunch starting
2010-10-08 10:14:26 Loading tasklist configuration from /opt/xymon/server/etc/hobbitlaunch.cfg
2010-10-08 10:14:26 Loading hostnames
2010-10-08 10:14:27 Loading saved state
2010-10-08 10:14:27 Too few fields in record - found 6, expected 17
2010-10-08 10:14:27 Too few fields in record - found 6, expected 17
gdb output

GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `/opt/xymon/server/bin/bbgen --pageset=san /opt/xymon/server/www/san/'.
Program terminated with signal 6, Aborted.


GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `bbgen --recentgifs --subpagecolumns=2'.
Program terminated with signal 6, Aborted.

  rrd-status.log

2010-10-08 10:08:33 Peer not up, flushing message queue
2010-10-08 10:08:33 Peer not up, flushing message queue
2010-10-08 10:08:33 Peer not up, flushing message queue


any ideas ?

regards,

Marco
list Marco Avvisano · Sat, 09 Oct 2010 09:44:39 +0200 ·
ok, i'll test on the new version ..

my bt output :

gdb /opt/xymon/server/bin/bbgen core.18241
quoted from Cade Robinson
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

Core was generated by `bbgen --recentgifs=180 --subpagecolumns=2 --report'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libpcre.so.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /lib/tls/librt.so.1...done.
Loaded symbols for /lib/tls/librt.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x0071aeff in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0x0071aeff in raise () from /lib/tls/libc.so.6
#1  0x0071c705 in abort () from /lib/tls/libc.so.6
#2  0x0806567a in sigsegv_handler (signum=11) at sig.c:57
#3 <signal handler called>
#4  0x007526d7 in fclose@@GLIBC_2.1 () from /lib/tls/libc.so.6
#5  0x0804ea01 in load_state (sumhead=0x13a) at loaddata.c:625
#6  0x08049e53 in main (argc=4, argv=0xbfffc324) at bbgen.c:592


  gdb /opt/xymon/server/bin/bbgen core.31443
quoted from Cade Robinson
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

Core was generated by `/opt/xymon/server/bin/bbgen 

--pageset=areecomintra /opt/xymon/server/www/areeco'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libpcre.so.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /lib/tls/librt.so.1...done.
Loaded symbols for /lib/tls/librt.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x00e4deff in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0x00e4deff in raise () from /lib/tls/libc.so.6
#1  0x00e4f705 in abort () from /lib/tls/libc.so.6
#2  0x0806567a in sigsegv_handler (signum=11) at sig.c:57
#3 <signal handler called>
#4  0x00e856d7 in fclose@@GLIBC_2.1 () from /lib/tls/libc.so.6
#5  0x0804ea01 in load_state (sumhead=0x14a) at loaddata.c:625
#6  0x08049e53 in main (argc=3, argv=0xbfff98e4) at bbgen.c:592
(gdb)

regards,

Marco
quoted from Henrik Størner


Il 08/10/2010 15.22, Henrik Størner ha scritto:
In<user-7f90f6d9fe1a@xymon.invalid>  Marco Avvisano<user-e09c0f3f8c70@xymon.invalid>  writes:

   
i'm tryng to update my hobbit server 4.2.0 to xymon 4.3.0 beta2
     
you might want to hold that for a few days, or at least I would
urge you to grab the current Subversion code instead of beta2.

I expect to give my official blessings to a new test-version
sometime next week, so it will be much more interesting if
the problem occurs with the current code also.

   
gdb output
     
   
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".
     
   
Core was generated by `/opt/xymon/server/bin/bbgen --pageset=san
/opt/xymon/server/www/san/'.
Program terminated with signal 6, Aborted.
     
Please include the output from the "bt" gdb-command also.


Regards,
Henrik