: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_Ut4FEm5cQaM9pUV.EV3AXs/"; protocol="application/pgp-signature"; micalg=PGP-SHA1
--Sig_Ut4FEm5cQaM9pUV.EV3AXs/ Content-Type: multipart/mixed; boundary=MP_foVR.nBzbNRteR1pc2KpBj0
--MP_foVR.nBzbNRteR1pc2KpBj0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hello again ;)
I have a couple of core dump in server/ and server/tmp/ on my new system :=20 Linux Ubuntu Gutsy 2.6.22-14-generic #1 SMP x86_64 Hobbit 4.2.0 + hobbit_perl_client-1.15.tar.gz (I'm using especially dbche= ck.pl) gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) =20 I used to work a couple of weeks but now, I can't monitor all my databases, it seems dbcheck.pl is linked to the crash because all others extensions works Fine. =20 Any help is reallyyyy appreciated ;) =20 Thanks
=20
gdb bin/bbgen core
GNU gdb 6.6-debian Copyright (C) 2006 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 "x86_64-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". Reading symbols from /usr/lib/libpcre.so.3...done. Loaded symbols for /usr/lib/libpcre.so.3 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Core was generated by `bbgen --recentgifs --subpagecolumns=3D2 --report'. Program terminated with signal 6, Aborted. #0 0x00002b03c4ad5765 in raise () from /lib/libc.so.6 (gdb) (gdb) (gdb) bt #0 0x00002b03c4ad5765 in raise () from /lib/libc.so.6 #1 0x00002b03c4ad71c0 in abort () from /lib/libc.so.6 #2 0x000000000041aba9 in xstrdup (s=3D<value optimized out>) at memory.c:169 #3 0x000000000040522c in init_host (hostname=3D0x7fffe643b140 "VISUALIS", issummary=3D0, displayname=3D<value optimized out>, clientalias=3D0x0, comment=3D0x0, description=3D0x64784c "Ora Srv 2:", ip1=3D0, ip2=3D0, i= p3=3D0, ip4=3D0, dialup=3D0, warnpct=3D97, reporttime=3D0x0, alerts=3D0x0, nktime= =3D1, waps=3D0x0, nopropyellowtests=3D0x0, nopropredtests=3D0x647863 "-dbcheck", noproppurpletests=3D0x0, nopropacktests=3D0x0, modembanksize=3D0) at loadbbhosts.c:233 #4 0x0000000000405faa in load_bbhosts (pgset=3D0x42d9fb "") at loadbbhosts.c:707 #5 0x0000000000402b9a in main (argc=3D4, argv=3D0x7fffe6444628) at bbgen.c:574 =20 =20 =20 =20 =20
gdb bin/bbgen tmp/core
GNU gdb 6.6-debian Copyright (C) 2006 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 "x86_64-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". =20 warning: .dynamic section for "/usr/lib/libpcre.so.3" is not at the expected address (wrong library or version mismatch?) Reading symbols from /usr/lib/libpcre.so.3...done. Loaded symbols for /usr/lib/libpcre.so.3 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Core was generated by `bbgen --recentgifs --subpagecolumns=3D2 --report'. Program terminated with signal 6, Aborted. #0 0x00002ba63b238765 in raise () from /lib/libc.so.6 (gdb) bt #0 0x00002ba63b238765 in raise () from /lib/libc.so.6 #1 0x00002ba63b23a1c0 in abort () from /lib/libc.so.6 #2 0x0000000000420763 in sigsegv_handler (signum=3D<value optimized out>) at sig.c:57 #3 <signal handler called> #4 main (argc=3D4, argv=3D0x7fff6fce53f8) at bbgen.c:600 =20
---------------------------------------------------------------------------=
Here is a part of the dbcheck.pl $Hobbit_fd_lib::MultiThread =3D 5; $Hobbit_fd_lib::HOBBIT =3D 1; # Use hobbit features $Hobbit_fd_lib::USEBBHG= REP =3D 1; # If using hobbit put this to 1 to use BBHOSTGREP or 0 to only check in the bb-hosts file $Hobbit_fd_l= ib::BBMAXSIZE =3D 32768; # Max message size to send to BB (not used for Hobbit) # Set debug to 1 for addit= ional information when the script runs # Set to 1 to display debug information # Set to 2 to display the full= message $Hobbit_fd_lib::debug=3D1;
Set disponly to 1 to prevent results from being sent to the BB server $Ho=
bbit_fd_lib::disponly =3D 0; $Hobbit_fd_lib::TEST=3D"dbcheck";
---------------------------------------------------------------------------=
Hobbitlaunch.cfg [dbcheck] ENVFILE /home/users/hobbit/application/server/etc/hobbitserver.cfg NEEDS hobbitd CMD $BBHOME/ext/dbcheck.pl LOGFILE $BBSERVERLOGS/bb-dbcheck.log INTERVAL 5m
--MP_foVR.nBzbNRteR1pc2KpBj0 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D968210222-03122007></SPAN><FONT face=3D"Trebuchet MS"=20
size=3D2>I<SPAN class=3D968210222-03122007> have a couple of core dump in=20
server/ and server/tmp/ on my new system : </SPAN><BR><SPA=
N=20
class=3D968210222-03122007> </SPAN>Linux Ubuntu Gutsy 2.6.22-14-gener=
ic #1=20
SMP x86_64</FONT></DIV>
<DIV><FONT face=3D"Trebuchet MS"><FONT size=3D2><SPAN=20
class=3D968210222-03122007> </SPAN>Hobbit 4.2.0 +=20
hobbit_perl_client-1.15.tar.gz (<SPAN class=3D968210222-03122007>I'm using=
=20
especially </SPAN>especially dbcheck.pl)</FONT></FONT></DIV>
<DIV><FONT face=3D"Trebuchet MS"><FONT size=3D2><SPAN=20
class=3D968210222-03122007> </SPAN>gcc (GCC) 4.1.3 20070929 (prerelea=
se)=20
(Ubuntu 4.1.2-16ubuntu2)</FONT></FONT></DIV>
<DIV><FONT face=3D"Trebuchet MS"><FONT size=3D2></FONT></FONT> </DIV>
<DIV><FONT><SPAN class=3D968210222-03122007><FONT face=3D"Trebuchet MS" siz=
e=3D2>I=20
used to work a couple of weeks but now, I can't monitor all my dabatases, i=
t=20
seems dbcheck.pl is linked to the crash because all others extentions works=
=20
Fine.</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=3D968210222-03122007><FONT face=3D"Trebuchet MS"=20
size=3D2></FONT></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=3D968210222-03122007><FONT face=3D"Trebuchet MS"=20
size=3D2> Any help is reallyyyy apreciated ;)</FONT></SPAN></FONT></D=
IV>
<DIV><FONT><SPAN class=3D968210222-03122007><FONT face=3D"Trebuchet MS"=20
size=3D2></FONT></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=3D968210222-03122007><FONT face=3D"Trebuchet MS"=20
size=3D2> Thanks</FONT></SPAN></DIV>
<DIV><FONT face=3D"Trebuchet MS"><BR><FONT size=3D2></FONT></FONT></DIV></F=
ONT>
<DIV><FONT face=3D"Trebuchet MS" size=3D2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Trebuchet MS" size=3D2># gdb bin/bbgen core<BR>GNU gdb=20
6.6-debian<BR>Copyright (C) 2006 Free Software Foundation, Inc.<BR>GDB is f=
ree=20
software, covered by the GNU General Public License, and you are<BR>welcome=
to=20
change it and/or distribute copies of it under certain conditions.<BR>Type =
"show=20
copying" to see the conditions.<BR>There is absolutely no warranty for=20
GDB. Type "show warranty" for details.<BR>This GDB was configured as=
=20
"x86_64-linux-gnu"...<BR>Using host libthread_db library=20
"/lib/libthread_db.so.1".<BR>Reading symbols from=20
/usr/lib/libpcre.so.3...done.<BR>Loaded symbols for=20
/usr/lib/libpcre.so.3<BR>Reading symbols from /lib/libc.so.6...done.<BR>Loa=
ded=20
symbols for /lib/libc.so.6<BR>Reading symbols from=20
/lib/ld-linux-x86-64.so.2...done.<BR>Loaded symbols for=20
/lib64/ld-linux-x86-64.so.2<BR>Core was generated by bbgen --recentgifs=20 --subpagecolumns=3D2 --report'.<BR>Program terminated with signal 6,=20 Aborted.<BR>#0 0x00002b03c4ad5765 in raise () from=20 /lib/libc.so.6<BR>(gdb)<BR>(gdb)<BR>(gdb) bt<BR>#0 0x00002b03c4ad5765= in=20 raise () from /lib/libc.so.6<BR>#1 0x00002b03c4ad71c0 in abort () fro= m=20 /lib/libc.so.6<BR>#2 0x000000000041aba9 in xstrdup (s=3D<value opt= imized=20 out>) at memory.c:169<BR>#3 0x000000000040522c in init_host=20 (hostname=3D0x7fffe643b140 "VISUALIS", issummary=3D0, displayname=3D<val= ue=20 optimized out>, clientalias=3D0x0,<BR> comment=3D0x0,= =20 description=3D0x64784c "Ora Srv 2:", ip1=3D0, ip2=3D0, ip3=3D0, ip4=3D0, di= alup=3D0,=20 warnpct=3D97, reporttime=3D0x0, alerts=3D0x0, nktime=3D1,=20 waps=3D0x0,<BR> nopropyellowtests=3D0x0, nopropredtests= =3D0x647863=20 "-dbcheck", noproppurpletests=3D0x0, nopropacktests=3D0x0, modembanksize=3D= 0) at=20 loadbbhosts.c:233<BR>#4 0x0000000000405faa in load_bbhosts (pgset=3D0= x42d9fb=20 "") at loadbbhosts.c:707<BR>#5 0x0000000000402b9a in main (argc=3D4,= =20 argv=3D0x7fffe6444628) at bbgen.c:574</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Trebuchet MS" size=3D2></FONT> </DIV> <DIV> </DIV> <DIV><FONT face=3D"Trebuchet MS" size=3D2></FONT> </DIV> <DIV> </DIV> <DIV><FONT face=3D"Trebuchet MS" size=3D2># gdb bin/bbgen tmp/core<BR>GNU g= db=20 6.6-debian<BR>Copyright (C) 2006 Free Software Foundation, Inc.<BR>GDB is f= ree=20 software, covered by the GNU General Public License, and you are<BR>welcome= to=20 change it and/or distribute copies of it under certain conditions.<BR>Type = "show=20 copying" to see the conditions.<BR>There is absolutely no warranty for=20 GDB. Type "show warranty" for details.<BR>This GDB was configured as= =20 "x86_64-linux-gnu"...<BR>Using host libthread_db library=20 "/lib/libthread_db.so.1".</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Trebuchet MS" size=3D2>warning: .dynamic section for=20 "/usr/lib/libpcre.so.3" is not at the expected address (wrong library or ve= rsion=20 mismatch?)<BR>Reading symbols from /usr/lib/libpcre.so.3...done.<BR>Loaded= =20 symbols for /usr/lib/libpcre.so.3<BR>Reading symbols from=20 /lib/libc.so.6...done.<BR>Loaded symbols for /lib/libc.so.6<BR>Reading symb= ols=20 from /lib/ld-linux-x86-64.so.2...done.<BR>Loaded symbols for=20 /lib64/ld-linux-x86-64.so.2<BR>Core was generated by bbgen --recentgifs=20
--subpagecolumns=3D2 --report'.<BR>Program terminated with signal 6,=20
Aborted.<BR>#0 0x00002ba63b238765 in raise () from /lib/libc.so.6<BR>=
(gdb)=20
bt<BR>#0 0x00002ba63b238765 in raise () from /lib/libc.so.6<BR>#1&nbs=
p;=20
0x00002ba63b23a1c0 in abort () from /lib/libc.so.6<BR>#2 =20
0x0000000000420763 in sigsegv_handler (signum=3D<value optimized out>=
) at=20
sig.c:57<BR>#3 <signal handler called><BR>#4 main (argc=
=3D4,=20
argv=3D0x7fff6fce53f8) at bbgen.c:600</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Trebuchet MS" size=3D2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Trebuchet MS" size=3D2></FONT> </DIV></BODY><!--[ob=
ject_id=3D#SID=3D0105000000000005150000002361022f1b23322cb239223801020000#]=
--><P><FONT face=3DArial>
<HR>
</FONT>
<P><FONT face=3DArial size=3D2>"Les informations contenues dans ce message =
electronique peuvent etre de nature confidentielles et soumises a une oblig=
ation de secret. Elles sont destinees a l'usage exclusif du reel destinatai=
re. Si vous n'etes pas le reel destinataire, ou si vous recevez ce message =
par erreur, merci de le detruire immediatement et de le notifier a son emet=
teur."</FONT></P>
<P><FONT face=3DArial size=3D2></FONT></P>
<DIV><FONT face=3DArial size=3D2>"The information contained in this e-mail =
may be privileged and confidential. It is intended for the exclusive use of=
the designated recipients named above. If you are not the intended recipie=
nt or if you receive this e-mail in error, please delete it and immediately=
notify the sender."</FONT></DIV>
<P><FONT face=3DArial></FONT></P><FONT face=3DArial>
<HR>
</FONT></HTML>
--MP_foVR.nBzbNRteR1pc2KpBj0--
--Sig_Ut4FEm5cQaM9pUV.EV3AXs/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHVIBz9RRBtLv+ZGURAqs4AJ0aDlGKNbrpP1pW7aGFBhRthKrVHgCcCnIR KLjorApgSt1ZZaemMGURbjs= =xqC+ -----END PGP SIGNATURE-----
--Sig_Ut4FEm5cQaM9pUV.EV3AXs/--
Hello,
Today, I have a new question with Hobbit :
- I would like to report a RED status to the upper level only if "conn" & "http" of this host are RED ?
worst now ;)
- Is it possible to report a RED status to the upper level only if "conn" & "http" of 2 hosts are RED ?
Thanks by advance
Search for the "bbcombotest" feature to create a new test which combines the tests you wish.
Use the NOPROPRED tag for the individual original tests that you do not want to move to upper levels.
--Hezki On 12/4/07, L.M.J. <linuxmasterjedi at free.fr> wrote:
Hello,
Today, I have a new question with Hobbit :
- I would like to report a RED status to the upper level only if "conn" & "http" of this host are RED ?
worst now ;)
- Is it possible to report a RED status to the upper level only if "conn" & "http" of 2 hosts are RED ?
Thanks by advance
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Thanks you very much, gonna investigate
Search for the "bbcombotest" feature to create a new test which combines the tests you wish.
Use the NOPROPRED tag for the individual original tests that you do not want to move to upper levels.
--Hezki On 12/4/07, L.M.J. <linuxmasterjedi at free.fr> wrote:
Hello,
Today, I have a new question with Hobbit :
- I would like to report a RED status to the upper level only if "conn" & "http" of this host are RED ?
worst now ;)
- Is it possible to report a RED status to the upper level only if "conn" & "http" of 2 hosts are RED ?
Thanks by advance
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Le Tue, 4 Dec 2007 13:25:29 +0200, "Hezki Englander" <me2unix at gmail.com> a écrit :
Search for the "bbcombotest" feature to create a new test which combines the tests you wish.
Use the NOPROPRED tag for the individual original tests that you do not want to move to upper levels.
--Hezki On 12/4/07, L.M.J. <linuxmasterjedi at free.fr> wrote:
Hello,
Today, I have a new question with Hobbit :
- I would like to report a RED status to the upper level only if "conn" & "http" of this host are RED ?
worst now ;)
- Is it possible to report a RED status to the upper level only if "conn" & "http" of 2 hosts are RED ?
Thanks by advance
Thanks Hezki and all other for the answers ;) But I don't understand something : I put something like this "WebCluster.http = (Web1.http || Web2.http) " in my $BBHOME/etc/bbcombotest.cfg according Web1 & Web2 are name of my servers...
- Where will appear "WebCluster.http" ? Should I create it in bb-hosts?
About NOPROPRED, it works fine on the web interface, but I still receive emails with RED status of the NOPROPRED'ed hosts. Is there a way to shutdown emails too ?
PS : Is there a Hobbit Wiki to share all my experience for the new users?
Thanks!
On Dec 5, 2007 9:00 PM, L.M.J <linuxmasterjedi at free.fr> wrote:
Le Tue, 4 Dec 2007 13:25:29 +0200, "Hezki Englander" <me2unix at gmail.com> a écrit :
Search for the "bbcombotest" feature to create a new test which combines the tests you wish.
Use the NOPROPRED tag for the individual original tests that you do not want to move to upper levels.
--Hezki On 12/4/07, L.M.J. <linuxmasterjedi at free.fr> wrote:
Hello,
Today, I have a new question with Hobbit :
- I would like to report a RED status to the upper level only if
"conn" &
"http" of this host are RED ?
worst now ;)
- Is it possible to report a RED status to the upper level only if "conn" & "http" of 2 hosts are RED ?
Thanks by advance
Thanks Hezki and all other for the answers ;) But I don't understand something : I put something like this "WebCluster.http = (Web1.http || Web2.http) " in my $BBHOME/etc/bbcombotest.cfg according Web1 & Web2 are name of my servers...
- Where will appear "WebCluster.http" ? Should I create it in bb-hosts?
Yes, in bb-hosts you need to create a line like : 0.0.0.0 WebCluster # noconn
The comobotext.cfg will automaticaly get you an http "dot" by the Webcluster on the page where you defined it.
p.s. : Take a look at /var/log/hobbit/combotext.log for syntax errors, and remember to use a "\" before every "-" in the combotext.cfg file.
About NOPROPRED, it works fine on the web interface, but I still receive emails with RED status of the NOPROPRED'ed hosts. Is there a way to shutdown emails too ?
PS : Is there a Hobbit Wiki to share all my experience for the new users?
Thanks!
If you want to exclude a host or a service from trigreing alerts, you should find the rule in hobbit-alerts.cfg which is relevant and exclude the unwanted message accroding to the hobbit-alerts format (either EXHOST=something or EXSERVICE=seomthing or catching this alert with a STOP tag on the begining of the file) There is a Hobbit wiki, here : http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/FAQ
Enjoy :-)
On Tuesday 04 December 2007 12:06:19 L.M.J. wrote:
Hello,
Today, I have a new question with Hobbit :
- I would like to report a RED status to the upper level only if "conn" & "http" of this host are RED ?
For this, I think you should rather set up your critical services view. I don't see the point of a combo test here, as by default http will never be red if conn is red (it will be clear). So have of these on the Critical Services view.
worst now ;)
- Is it possible to report a RED status to the upper level only if "conn" & "http" of 2 hosts are RED ?
Combo test for conn for both hosts, and http for both hosts, and have these on the critical services view.
Regards, Buchan
So you're saying bbcombotest is only for testing the same test (conn, http, ssh, etc) between multiple (up to 2? 5? 10?) hosts?
Just trying to be clear on this =)
On 12/5/07, Buchan Milne <bgmilne at staff.telkomsa.net> wrote:
On Tuesday 04 December 2007 12:06:19 L.M.J. wrote:
Hello,
Today, I have a new question with Hobbit :
- I would like to report a RED status to the upper level only if "conn" & "http" of this host are RED ?
For this, I think you should rather set up your critical services view. I don't see the point of a combo test here, as by default http will never be red if conn is red (it will be clear). So have of these on the Critical Services view.
worst now ;)
- Is it possible to report a RED status to the upper level only if "conn" & "http" of 2 hosts are RED ?
Combo test for conn for both hosts, and http for both hosts, and have these on the critical services view.
Regards, Buchan
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Wed, December 5, 2007 09:22, Josh Luthman wrote:
So you're saying bbcombotest is only for testing the same test (conn, http, ssh, etc) between multiple (up to 2? 5? 10?) hosts?
Just trying to be clear on this =)
Clarity would be welcome in this thread. What I'm getting is Buchan saying, "Don't use combo test, use critical services view AND combo test", followed by Josh drawing from that the inference that there is only one scenario for the application of combo testing. Huh?
On 12/5/07, Buchan Milne <bgmilne at staff.telkomsa.net> wrote:
On Tuesday 04 December 2007 12:06:19 L.M.J. wrote:
Hello,
Today, I have a new question with Hobbit :
- I would like to report a RED status to the upper level only if "conn" & "http" of this host are RED ?
For this, I think you should rather set up your critical services view. I don't see the point of a combo test here, as by default http will never be red if conn is red (it will be clear). So have of these on the Critical Services view.
worst now ;) - Is it possible to report a RED status to the upper level only if "conn" & "http" of 2 hosts are RED ?
Combo test for conn for both hosts, and http for both hosts, and have these on the critical services view.
On Wednesday 05 December 2007 16:22:11 Josh Luthman wrote:
So you're saying bbcombotest is only for testing the same test (conn, http, ssh, etc) between multiple (up to 2? 5? 10?) hosts?
No, I'm saying it's pointless testing for conn==red && http ==red, that will never happen (http will be clear if conn is red).
I have a combo that looks like this: (webmail.http&&webmail.imap&&webmail.pop3&&(webmail.smtp|| webmail2mx.smtp)&&apiserver.webmailapi&&apiserver.pop3)
My suggestion was for your situation, not a statement on what is possible with combo tests.
Regards, Buchan
participants (5)
-
bgmilne@staff.telkomsa.net
-
hobbit@epperson.homelinux.net
-
josh@imaginenetworksllc.com
-
linuxmasterjedi@free.fr
-
me2unix@gmail.com