Hello,

a while ago i already sent a modified check_bacula.tgz to Kern
(the changes to check_bacula were neccessary as there are some
changes in authentication) so that he could add it to the 2.0.x
distribution (i think it was a week after 2.0.0 came out).
i don't know if it has been already added to 2.0.x (yes i know
this is sure not one thing on top of Kern's list :-))) .

anyway.... the instructions you already found in the archive still
apply in building check_bacula (as i'm no autoconf/automake specialist
 i don't have another option in building it... maybe there is someone
who could have a look at this)

christian

p.s.: if anyone is still interested in check_bacula, i could send you
      the modified sources.


--
"I sense much NT in you, NT leads to Blue Screen. 
Blue Screen leads to downtime, downtime leads to suffering. NT is the path to 
the darkside." 

- Unknown Unix Jedi  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Arno Lehmann
> Sent: Tuesday, March 06, 2007 12:41 PM
> To: bacula-users
> Subject: Re: [Bacula-users] nagios check_bacula plugin and 
> Bacula 2.0.1
> 
> Hello,
> 
> On 3/5/2007 10:44 PM, DAve wrote:
> > We are still fighting with Windows Fd connection issues. I 
> would like to 
> > use the check_bacula plugin to monitor my Fds. Either 
> nagios will keep 
> > the client firewall open, or prove the issue is not Bacula 
> (to my senior 
> > sysadmin).
> 
> Hmm... but a connection closing problem would not be solved 
> by this, I 
> think. A router usually tracks the TCP connection, and thus your 
> monitoring connection would not affect the FD connection 
> issues with the 
> DIR or SD.
> 
> > I had lots of problems building at first but found most of 
> the solution 
> > in the archives. I followed the instructions from this thread,
> > 
> > 
> http://article.gmane.org/gmane.comp.bacula.user/26619/match=ch
> eck+bacula
> > 
> http://article.gmane.org/gmane.comp.bacula.user/27144/match=ch
> eck+bacula
> 
> Oh god... that one really is difficult. I would really like to see 
> Christian working on the source, and someone - at least not 
> me - on the 
> build system :-o
> 
> > check_bacula nearly compiles but fails with the following error,
> > 
> > ==>Entering directory /usr/local/src/bacula-2.0.1/src/check_bacula
> > /usr/bin/g++   -c -I/usr/local/include -fno-strict-aliasing 
> > -fno-exceptions -fno-rtti  -I. -I..  -g -O2 -Wall 
> -fno-strict-aliasing 
> > -fno-exceptions -fno-rtti check_bacula.c
> > /usr/bin/g++   -c -I/usr/local/include -fno-strict-aliasing 
> > -fno-exceptions -fno-rtti  -I. -I..  -g -O2 -Wall 
> -fno-strict-aliasing 
> > -fno-exceptions -fno-rtti authenticate.c
> > /usr/bin/g++ -O  -L../lib -L../cats -o check_bacula check_bacula.o 
> > authenticate.o   -lbac -lm -lpthread
> > check_bacula.o(.text+0x1c): In function `usage':
> > /usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:58: 
> > undefined reference to `gettext'
> > check_bacula.o(.text+0x433): In function `main':
> > /usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:110: 
> > undefined reference to `libintl_textdomain'
> > ../lib/libbac.a(bsys.o)(.text+0x1d4): In function 
> `b_malloc(char const*, 
> > int, unsigned int)':
> > /usr/local/src/bacula-2.0.1/src/lib/bsys.c:221: undefined 
> reference to 
> > `gettext'
> > ../lib/libbac.a(bsys.o)(.text+0x27b): In function `brealloc(void*, 
> > unsigned int)':
> > /usr/local/src/bacula-2.0.1/src/lib/bsys.c:244: undefined 
> reference to 
> > `gettext'
> > ../lib/libbac.a(bsys.o)(.text+0x30b): In function 
> `bcalloc(unsigned int, 
> > unsigned int)':
> > /usr/local/src/bacula-2.0.1/src/lib/bsys.c:257: undefined 
> reference to 
> > `gettext'
> > ../lib/libbac.a(bsys.o)(.text+0x38f): In function 
> `_p(pthread_mutex**)':
> > ../lib/berrno.h:87: undefined reference to `gettext'
> > ../lib/libbac.a(bsys.o)(.text+0x41b): In function 
> `_v(pthread_mutex**)':
> > ../lib/berrno.h:87: undefined reference to `gettext'
> > 
> ../lib/libbac.a(bsys.o)(.text+0x4a0):/usr/local/src/bacula-2.0
> .1/src/lib/bsys.c:365: 
> > more undefined references to `gettext' follow
> > *** Error code 1
> > 
> > Stop in /usr/local/src/bacula-2.0.1/src/check_bacula.
> > 
> > 
> >    ====== Error in 
> /usr/local/src/bacula-2.0.1/src/check_bacula ======
> > 
> > 
> > This is on FreeBSD 5.4, not a port, unpached, unmolested 
> Bacula source. 
> > Built with noting but ./configure --with-mysql=/usr/local
> > Anyone got a solution?
> 
> Not a solution, only a hint from a non-programmer.
> 
> This is all related to the gettext stuff, so you might need 
> to include 
> the path to the relevant libraries and header files into your 
> makefile. 
> Don't ask me for details, though - I have no iea where on a FreeBSD 
> system you would expect them, why the ./configure script doesn't pick 
> them up, and where in the makefile to add the information.
> 
> Hope you get this working,
> 
> Arno
> 
> > Thanks,
> > 
> > DAve
> 
> -- 
> IT-Service Lehmann                    [EMAIL PROTECTED]
> Arno Lehmann                  http://www.its-lehmann.de
> 
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the 
> chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to