[hobbit] Alternate pageset and noconn ?

thomas.seglard.enata at cnp.fr thomas.seglard.enata at cnp.fr
Mon May 29 19:16:12 CEST 2006


Thanks for your help ! But I got this output when patching :

[hobbit at psi200 hobbit-4.1.2p1]$ patch -p0 </tmp/doublehost.patch 
(Stripping trailing CRs from patch.)
patching file bbdisplay/loadbbhosts.c
Hunk #1 FAILED at 10.
Hunk #2 succeeded at 659 (offset 5 lines).
1 out of 2 hunks FAILED -- saving rejects to file 
bbdisplay/loadbbhosts.c.rej

and I can't compile the sources anymore : 

[snip]
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DLINUX -I. 
-I/home/hobbit/hobbit-4.1.2p1/include -I/usr/include/pcre -c -o 
csvreport.o csvreport.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DLINUX -I. 
-I/home/hobbit/hobbit-4.1.2p1/include -I/usr/include/pcre -o bbgen bbgen.o loadbbhosts.o loaddata.o reportdata.o bbconvert.o pagegen.o eventlog.o 
acklog.o process.o wmlgen.o rssgen.o bb-replog.o util.o debug.o 
csvreport.o ../lib/libbbgen.a -L/usr/lib -lpcre
loadbbhosts.o(.text+0x1655): In function `load_bbhosts':
/home/hobbit/hobbit-4.1.2p1/bbdisplay/loadbbhosts.c:679: undefined 
reference to `STRBUF'
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [bbgen] Erreur 1
make[1]: Leaving directory `/home/hobbit/hobbit-4.1.2p1/bbdisplay'
make: *** [bbdisplay-build] Erreur 2

Am I doing something wrong ? I'm trying to patch Hobbit 4.1.2p1 on a 
Centos (Redhat) release 4.2.
Best regards,

Thomas


henrik at hswn.dk (Henrik Stoerner) a écrit sur 29/05/2006 17:35:07 :

> On Mon, May 29, 2006 at 11:40:10AM +0200, thomas.seglard.enata at cnp.fr 
wrote:
> > But I got another problem ! I defined a host to appear twice on my 
defaut 
> > pageset, one time on page A and one time on page B. So, I used the 
> > 'noconn' directive in the bb-hosts to achieve this. Then, I would like 
> > this host to appear on my new pageset. I add MYPAGESET:mypage on 
> the first host's line. 
> > 
> > The question is why this host appears twice on the second pageset ?
> 
> This patch should fix it. It isn't pretty, but it should work.
> 
> 
> Regards,
> Henrik
> 
> [rattachement "doublehost.patch" supprimé par Thomas 
> SEGLARD/FI6/ANFI/CNP Assurances] To unsubscribe from the hobbit 
> list, send an e-mail to
> hobbit-unsubscribe at hswn.dk



Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.




More information about the Xymon mailing list