 |
Page 1 of 1
|
| Author |
Message |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
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).
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=check+bacula
http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula
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?
Thanks,
DAve
--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?
Maybe they forgot who made that choice possible.
|
| Mon Mar 05, 2007 6:45 pm |
|
 |
Guest
|
 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=check+bacula
http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+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 al < at > it...
Arno Lehmann http://www.its-lehmann.de
|
| Tue Mar 06, 2007 8:41 am |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
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.=20
Blue Screen leads to downtime, downtime leads to suffering. NT is the =
path to the darkside."=20
- Unknown Unix Jedi =20
-----Original Message-----
From: bacula-users-bounces < at > li...=20
[mailto:bacula-users-bounces < at > li...] On Behalf=20
Of Arno Lehmann
Sent: Tuesday, March 06, 2007 12:41 PM
To: bacula-users
Subject: Re: [Bacula-users] nagios check_bacula plugin and=20
Bacula 2.0.1
=20
Hello,
=20
On 3/5/2007 10:44 PM, DAve wrote:
We are still fighting with Windows Fd connection issues. I=20
would like to=20
use the check_bacula plugin to monitor my Fds. Either=20
nagios will keep=20
the client firewall open, or prove the issue is not Bacula=20
(to my senior=20
sysadmin).
=20
Hmm... but a connection closing problem would not be solved=20
by this, I=20
think. A router usually tracks the TCP connection, and thus your=20
monitoring connection would not affect the FD connection=20
issues with the=20
DIR or SD.
=20
I had lots of problems building at first but found most of=20
the solution=20
in the archives. I followed the instructions from this thread,
=20
=20
http://article.gmane.org/gmane.comp.bacula.user/26619/match=3Dch
eck+bacula
=20
http://article.gmane.org/gmane.comp.bacula.user/27144/match=3Dch
eck+bacula
=20
Oh god... that one really is difficult. I would really like to see=20
Christian working on the source, and someone - at least not=20
me - on the=20
build system
=20
check_bacula nearly compiles but fails with the following error,
=20
=3D=3D>Entering directory =
/usr/local/src/bacula-2.0.1/src/check_bacula
/usr/bin/g++ -c -I/usr/local/include -fno-strict-aliasing=20
-fno-exceptions -fno-rtti -I. -I.. -g -O2 -Wall=20
-fno-strict-aliasing=20
-fno-exceptions -fno-rtti check_bacula.c
/usr/bin/g++ -c -I/usr/local/include -fno-strict-aliasing=20
-fno-exceptions -fno-rtti -I. -I.. -g -O2 -Wall=20
-fno-strict-aliasing=20
-fno-exceptions -fno-rtti authenticate.c
/usr/bin/g++ -O -L../lib -L../cats -o check_bacula check_bacula.o=20
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:=20
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:=20
undefined reference to `libintl_textdomain'
../lib/libbac.a(bsys.o)(.text+0x1d4): In function=20
`b_malloc(char const*,=20
int, unsigned int)':
/usr/local/src/bacula-2.0.1/src/lib/bsys.c:221: undefined=20
reference to=20
`gettext'
../lib/libbac.a(bsys.o)(.text+0x27b): In function `brealloc(void*,=20
unsigned int)':
/usr/local/src/bacula-2.0.1/src/lib/bsys.c:244: undefined=20
reference to=20
`gettext'
../lib/libbac.a(bsys.o)(.text+0x30b): In function=20
`bcalloc(unsigned int,=20
unsigned int)':
/usr/local/src/bacula-2.0.1/src/lib/bsys.c:257: undefined=20
reference to=20
`gettext'
../lib/libbac.a(bsys.o)(.text+0x38f): In function=20
`_p(pthread_mutex**)':
../lib/berrno.h:87: undefined reference to `gettext'
../lib/libbac.a(bsys.o)(.text+0x41b): In function=20
`_v(pthread_mutex**)':
../lib/berrno.h:87: undefined reference to `gettext'
=20
../lib/libbac.a(bsys.o)(.text+0x4a0):/usr/local/src/bacula-2.0
.1/src/lib/bsys.c:365:=20
more undefined references to `gettext' follow
*** Error code 1
=20
Stop in /usr/local/src/bacula-2.0.1/src/check_bacula.
=20
=20
=3D=3D=3D=3D=3D=3D Error in=20
/usr/local/src/bacula-2.0.1/src/check_bacula =3D=3D=3D=3D=3D=3D
=20
=20
This is on FreeBSD 5.4, not a port, unpached, unmolested=20
Bacula source.=20
Built with noting but ./configure --with-mysql=3D/usr/local
Anyone got a solution?
=20
Not a solution, only a hint from a non-programmer.
=20
This is all related to the gettext stuff, so you might need=20
to include=20
the path to the relevant libraries and header files into your=20
makefile.=20
Don't ask me for details, though - I have no iea where on a FreeBSD=20
system you would expect them, why the ./configure script doesn't pick=20
them up, and where in the makefile to add the information.
=20
Hope you get this working,
=20
Arno
=20
Thanks,
=20
DAve
=20
--=20
IT-Service Lehmann al < at > it...
Arno Lehmann http://www.its-lehmann.de
=20
--------------------------------------------------------------
-----------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the=20
chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge
&CID=3DDEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
=20
|
| Tue Mar 06, 2007 10:11 am |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
Arno Lehmann wrote:
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.
Understood, the situation is like this.
Me -> "Why did fs1 drop the connection again last night? Bacula failed."
SA -> "There is nothing wrong with fs1, check your setup".
Me -> "Uh, we go through a PIX, a switch, fiber, another (unknown)
Firewall, and another switch. Have those been checked with the docs I
sent you about Bacula? Bacula has been working for two years *inside*
your PIX, kinda narrows the problem down a bit for me."
SA -> "There is nothing wrong with fs1".
Grasp -> Straw -> Repeat
In any event, monitoring will be good so I would like it working, no
problem helping whatever way I can.
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=check+bacula
http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+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,
<snip>
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,
I added GETTEXT_LIBS = < at > LIBINTL < at > to the Makefile.in of check_bacula, it
expanded properly, same compile failure. I am getting new sources from
the author.
Thank you,
DAve
--Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?
Maybe they forgot who made that choice possible.
|
| Tue Mar 06, 2007 11:14 am |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
On Tuesday 06 March 2007 14:07, Masopust, Christian wrote:
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)
I recommend to send the new version again. Normally *all* pending stuff
remains in my inbox, but I have nothing from you, and as far as I can tell,
the last nagios submission is dated
rwxr-xr-x root/other 0 2005-11-29 12:11:13 ./check_bacula/
Regards,
Kern
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: bacula-users-bounces < at > li...
[mailto:bacula-users-bounces < at > li...] 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 al < at > it...
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 < at > li...
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 < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
| Tue Mar 06, 2007 4:43 pm |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
DAve wrote:
Arno Lehmann wrote:
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.
Understood, the situation is like this.
Me -> "Why did fs1 drop the connection again last night? Bacula failed."
SA -> "There is nothing wrong with fs1, check your setup".
Me -> "Uh, we go through a PIX, a switch, fiber, another (unknown)
Firewall, and another switch. Have those been checked with the docs I
sent you about Bacula? Bacula has been working for two years *inside*
your PIX, kinda narrows the problem down a bit for me."
SA -> "There is nothing wrong with fs1".
Grasp -> Straw -> Repeat
In any event, monitoring will be good so I would like it working, no
problem helping whatever way I can.
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=check+bacula
http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+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,
<snip>
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,
I added GETTEXT_LIBS = < at > LIBINTL < at > to the Makefile.in of check_bacula, it
expanded properly, same compile failure. I am getting new sources from
the author.
Thank you,
DAve
Sorry Christian,
Maybe I am doing something wrong, but the source you sent fails as well.
Sightly different output, but still a gettext issue it would seem. I did
double check, gettext and lintl are installed and working.
==>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+0x463): 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 ======
Getext is installed,
/usr/local/bin/gettext
/usr/local/bin/gettext.sh
/usr/local/bin/gettextize
/usr/local/bin/ngettext
/usr/local/bin/xgettext
/usr/local/include/gettext-po.h
/usr/local/lib/gettext
/usr/local/lib/libgettextlib-0.14.1.so
/usr/local/lib/libgettextlib.a
/usr/local/lib/libgettextlib.so
/usr/local/lib/libgettextpo.a
/usr/local/lib/libgettextpo.so
/usr/local/lib/libgettextpo.so.1
/usr/local/lib/libgettextsrc-0.14.1.so
/usr/local/lib/libgettextsrc.so
/usr/local/include/libintl.h
/usr/local/lib/libintl.a
/usr/local/lib/libintl.so
/usr/local/lib/libintl.so.6
DAve
--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?
Maybe they forgot who made that choice possible.
|
| Tue Mar 06, 2007 6:24 pm |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
Hi,
On 3/6/2007 10:23 PM, DAve wrote:
DAve wrote:
Arno Lehmann wrote:
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.
Understood, the situation is like this.
Me -> "Why did fs1 drop the connection again last night? Bacula failed."
SA -> "There is nothing wrong with fs1, check your setup".
Me -> "Uh, we go through a PIX, a switch, fiber, another (unknown)
Firewall, and another switch. Have those been checked with the docs I
sent you about Bacula? Bacula has been working for two years *inside*
your PIX, kinda narrows the problem down a bit for me."
SA -> "There is nothing wrong with fs1".
Grasp -> Straw -> Repeat
Great. Just the kind of response you need when fixing a problem... now
you need a good contact to the SA's boss :-)
In any event, monitoring will be good
Yup, I agree...
so I would like it working, no
problem helping whatever way I can.
...
Sorry Christian,
Maybe I am doing something wrong, but the source you sent fails as well.
Sightly different output, but still a gettext issue it would seem. I did
double check, gettext and lintl are installed and working.
Probably it would be a good idea to get your local FreeBSD wizard
working on this - or try to get Dan to have a loo at it ;-)
(sorry Dan :-)
Arno
--
IT-Service Lehmann al < at > it...
Arno Lehmann http://www.its-lehmann.de
|
| Tue Mar 06, 2007 7:08 pm |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
Arno Lehmann wrote:
Hi,
On 3/6/2007 10:23 PM, DAve wrote:
DAve wrote:
Arno Lehmann wrote:
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.
Understood, the situation is like this.
Me -> "Why did fs1 drop the connection again last night? Bacula failed."
SA -> "There is nothing wrong with fs1, check your setup".
Me -> "Uh, we go through a PIX, a switch, fiber, another (unknown)
Firewall, and another switch. Have those been checked with the docs I
sent you about Bacula? Bacula has been working for two years *inside*
your PIX, kinda narrows the problem down a bit for me."
SA -> "There is nothing wrong with fs1".
Grasp -> Straw -> Repeat
Great. Just the kind of response you need when fixing a problem... now
you need a good contact to the SA's boss :-)
In any event, monitoring will be good
Yup, I agree...
so I would like it working, no
problem helping whatever way I can.
...
Sorry Christian,
Maybe I am doing something wrong, but the source you sent fails as well.
Sightly different output, but still a gettext issue it would seem. I did
double check, gettext and lintl are installed and working.
Probably it would be a good idea to get your local FreeBSD wizard
working on this - or try to get Dan to have a loo at it ;-)
That would be me 8^( I hope to get a few hours to do more than give a
passing look over the problem. It's another day I am wishing I knew C.
Thanks,
DAve
--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?
Maybe they forgot who made that choice possible.
|
| Tue Mar 06, 2007 7:27 pm |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
Hi,
On 3/6/2007 11:27 PM, DAve wrote:
Arno Lehmann wrote:
...
Probably it would be a good idea to get your local FreeBSD wizard
working on this ...
That would be me 8^( I hope to get a few hours to do more than give a
passing look over the problem. It's another day I am wishing I knew C.
And I always thought that, to become a FreeBSD wizard, you'd have to be
fluent in C
;-)
Arno
Thanks,
DAve
--
IT-Service Lehmann al < at > it...
Arno Lehmann http://www.its-lehmann.de
|
| Tue Mar 06, 2007 7:37 pm |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
=20
Maybe I am doing something wrong, but the source you sent=20
fails as well.
Sightly different output, but still a gettext issue it would=20
seem. I did
double check, gettext and lintl are installed and working.
=20
=3D=3D>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+0x463): 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=20
`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=20
`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=20
`_p(pthread_mutex**)':
../lib/berrno.h:87: undefined reference to `gettext'
../lib/libbac.a(bsys.o)(.text+0x41b): In function=20
`_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:=20
=20
more undefined references to `gettext' follow
*** Error code 1
=20
Stop in /usr/local/src/bacula-2.0.1/src/check_bacula.
=20
Hello Dave,
seems that something during configure went wrong... when looking
at your protocol... compile does it fine when adding /usr/local/include
to the include-path, but when linking check_bacula the order "-L =
/usr/local/lib"=20
is missing (this is, in your case, where the libraries for gettext are =
installed)
Chris
=20
=3D=3D=3D=3D=3D=3D Error in =
/usr/local/src/bacula-2.0.1/src/check_bacula =3D=3D=3D=3D=3D=3D
=20
Getext is installed,
=20
/usr/local/bin/gettext
/usr/local/bin/gettext.sh
/usr/local/bin/gettextize
/usr/local/bin/ngettext
/usr/local/bin/xgettext
/usr/local/include/gettext-po.h
/usr/local/lib/gettext
/usr/local/lib/libgettextlib-0.14.1.so
/usr/local/lib/libgettextlib.a
/usr/local/lib/libgettextlib.so
/usr/local/lib/libgettextpo.a
/usr/local/lib/libgettextpo.so
/usr/local/lib/libgettextpo.so.1
/usr/local/lib/libgettextsrc-0.14.1.so
/usr/local/lib/libgettextsrc.so
=20
/usr/local/include/libintl.h
/usr/local/lib/libintl.a
/usr/local/lib/libintl.so
/usr/local/lib/libintl.so.6
=20
=20
DAve
=20
=20
--=20
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?
=20
Maybe they forgot who made that choice possible.
=20
=20
--------------------------------------------------------------
-----------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the=20
chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge
&CID=3DDEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
=20
|
| Wed Mar 07, 2007 3:46 am |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
/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+0x463): In function `main':
/usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:110:
undefined reference to `libintl_textdomain'
<snip>
Stop in /usr/local/src/bacula-2.0.1/src/check_bacula.
=20
=20
Hello Dave,
=20
seems that something during configure went wrong... when looking
at your protocol... compile does it fine when adding=20
/usr/local/include
to the include-path, but when linking check_bacula the order=20
"-L /usr/local/lib"=20
is missing (this is, in your case, where the libraries for=20
gettext are installed)
=20
Chris
=20
time for a cup of coffee.... not only "-L /usr/local/lib" is missing...
also "-lgettext" is missing....
chris
|
| Wed Mar 07, 2007 3:50 am |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
Masopust, Christian wrote:
/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+0x463): In function `main':
/usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:110:
undefined reference to `libintl_textdomain'
<snip>
Stop in /usr/local/src/bacula-2.0.1/src/check_bacula.
Hello Dave,
seems that something during configure went wrong... when looking
at your protocol... compile does it fine when adding
/usr/local/include
to the include-path, but when linking check_bacula the order
"-L /usr/local/lib"
is missing (this is, in your case, where the libraries for
gettext are installed)
Chris
time for a cup of coffee.... not only "-L /usr/local/lib" is missing...
also "-lgettext" is missing....
chris
Duh! I added the GETTEXT_LIB to Makefile.in, but left it out of the
build line (or whatever you C guys call it). Added the following to
check_bacula/Makefile.in,
46 check_bacula: $(MONITOROBJS) ../lib/libbac.a
47 $(CXX) $(LDFLAGS) $(MONITOR_LDFLAGS) -L../lib -L../cats -o $ < at >
$(MONITOROBJS) \
48 $(DLIB) -lbac -lm $(LIBS) $(GETTEXT_LIBS)
^^^^^^^^^^^^^^^
configure, make, test is good.
bash-2.05b# ./check_bacula -H 10.0.240.200 -D dir -P 49001 -M
director-mon -K 'xxxxxxxxxxxxxxx'
BACULA OK - Director Status OK
Thank you for catching that. Now, with what I have and what I know, what
do you want me to do with it? I can untar a new copy of Bacula-2.0.1 and
create clean altered src that will compile check_bacula, then send you
the diff of the Bacula source.
Just let me know what I can do.
DAve
--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?
Maybe they forgot who made that choice possible.
|
| Wed Mar 07, 2007 11:07 am |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
Where can I the latest code for check_bacula?
ZK
--- DAve <dave.list < at > pi...> wrote:
Masopust, Christian wrote:
/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+0x463): In function `main':
/usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:110:
undefined reference to `libintl_textdomain'
<snip>
Stop in
/usr/local/src/bacula-2.0.1/src/check_bacula.
Hello Dave,
seems that something during configure went
wrong... when looking
at your protocol... compile does it fine when
adding
/usr/local/include
to the include-path, but when linking
check_bacula the order
"-L /usr/local/lib"
is missing (this is, in your case, where the
libraries for
gettext are installed)
Chris
time for a cup of coffee.... not only "-L
/usr/local/lib" is missing...
also "-lgettext" is missing....
chris
Duh! I added the GETTEXT_LIB to Makefile.in, but
left it out of the
build line (or whatever you C guys call it). Added
the following to
check_bacula/Makefile.in,
46 check_bacula: $(MONITOROBJS) ../lib/libbac.a
47 $(CXX) $(LDFLAGS) $(MONITOR_LDFLAGS) -L../lib
-L../cats -o $ < at >
$(MONITOROBJS) \
48 $(DLIB) -lbac -lm $(LIBS)
$(GETTEXT_LIBS)
^^^^^^^^^^^^^^^
configure, make, test is good.
bash-2.05b# ./check_bacula -H 10.0.240.200 -D dir -P
49001 -M
director-mon -K 'xxxxxxxxxxxxxxx'
BACULA OK - Director Status OK
Thank you for catching that. Now, with what I have
and what I know, what
do you want me to do with it? I can untar a new copy
of Bacula-2.0.1 and
create clean altered src that will compile
check_bacula, then send you
the diff of the Bacula source.
Just let me know what I can do.
DAve
--
Three years now I've asked Google why they don't
have a
logo change for Memorial Day. Why do they choose to
do logos
for other non-international holidays, but nothing
for
Veterans?
Maybe they forgot who made that choice possible.
-------------------------------------------------------------------------
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 < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
|
| Wed Mar 07, 2007 3:58 pm |
|
 |
Guest
|
 nagios check_bacula plugin and Bacula 2.0.1
On Wednesday 07 March 2007 19:58, Zakai Kinan wrote:
Where can I the latest code for check_bacula?
It is in release version 2.0.3 on the Source Forge site -- in the
examples/nagios directory.
ZK
--- DAve <dave.list < at > pi...> wrote:
Masopust, Christian wrote:
/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+0x463): In function `main':
/usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:110:
undefined reference to `libintl_textdomain'
<snip>
Stop in
/usr/local/src/bacula-2.0.1/src/check_bacula.
Hello Dave,
seems that something during configure went
wrong... when looking
at your protocol... compile does it fine when
adding
/usr/local/include
to the include-path, but when linking
check_bacula the order
"-L /usr/local/lib"
is missing (this is, in your case, where the
libraries for
gettext are installed)
Chris
time for a cup of coffee.... not only "-L
/usr/local/lib" is missing...
also "-lgettext" is missing....
chris
Duh! I added the GETTEXT_LIB to Makefile.in, but
left it out of the
build line (or whatever you C guys call it). Added
the following to
check_bacula/Makefile.in,
46 check_bacula: $(MONITOROBJS) ../lib/libbac.a
47 $(CXX) $(LDFLAGS) $(MONITOR_LDFLAGS) -L../lib
-L../cats -o $ < at >
$(MONITOROBJS) \
48 $(DLIB) -lbac -lm $(LIBS)
$(GETTEXT_LIBS)
^^^^^^^^^^^^^^^
configure, make, test is good.
bash-2.05b# ./check_bacula -H 10.0.240.200 -D dir -P
49001 -M
director-mon -K 'xxxxxxxxxxxxxxx'
BACULA OK - Director Status OK
Thank you for catching that. Now, with what I have
and what I know, what
do you want me to do with it? I can untar a new copy
of Bacula-2.0.1 and
create clean altered src that will compile
check_bacula, then send you
the diff of the Bacula source.
Just let me know what I can do.
DAve
--
Three years now I've asked Google why they don't
have a
logo change for Memorial Day. Why do they choose to
do logos
for other non-international holidays, but nothing
for
Veterans?
Maybe they forgot who made that choice possible.
-------------------------------------------------------------------------
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 < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
___________________________________________________________________________
_________ Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
-------------------------------------------------------------------------
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 < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
| Wed Mar 07, 2007 5:21 pm |
|
 |
|
|
The time now is Fri May 25, 2012 12:03 am | All times are GMT - 8 Hours
|
Page 1 of 1
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|