<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5764" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2>Hello Eduardo,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2>your command-line is wrong:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2>[root@atvies00nx etc]# ../libexec/check_bacula
-h<BR>Copyright (C) 2005 Christian Masopust<BR>Written by Christian Masopust
(2005)</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2>Version: 2.2.6 (10 November 2007) i686-pc-linux-gnu redhat
Enterprise release</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2>Usage: check_bacula [-d debug_level] -H host -D daemon -M
name -P port<BR> -H
<host> hostname where daemon
runs<BR> -D <daemon> which
daemon to check: dir|sd|fd<BR> -M
<name> name of monitor (as in
bacula-*.conf)<BR> -K <md5-hash>
password for access to daemon<BR> -P
<port> port where daemon
listens<BR>
-dnn set debug level to
nn<BR>
-? print this
message.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2>so, for example, checking director you
need:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=968510520-28042009><FONT face=Arial
color=#0000ff size=2>/check_bacula -H $HOSTADDRESS$ -D dir -M <name of
monitor> -K $USER2$ -P 9101</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=968510520-28042009><FONT face=Arial color=#0000ff size=2>for
sd:</FONT></SPAN></DIV>
<DIV><SPAN class=968510520-28042009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=968510520-28042009><FONT face=Arial color=#0000ff
size=2>check_bacula -H $HOSTADDRESS$ -D sd -M <name of monitor> -K $USER2$
-P 9103</FONT></SPAN></DIV>
<DIV><SPAN class=968510520-28042009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=968510520-28042009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=968510520-28042009><FONT face=Arial color=#0000ff
size=2>christian</FONT></SPAN></DIV>
<DIV><SPAN class=968510520-28042009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>--<BR>"I sense much NT in you, NT leads to Blue Screen.<BR>Blue
Screen leads to downtime, downtime leads to suffering. NT is the path to the
darkside."<BR><BR>- Unknown Unix Jedi </FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Eduardo Barreto
[mailto:lecb79@gmail.com] <BR><B>Sent:</B> Tuesday, April 28, 2009 8:11
PM<BR><B>To:</B> Masopust, Christian<BR><B>Cc:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re: [Nagios-users]
Checking Bacula Server<BR></FONT><BR></DIV>
<DIV></DIV>I've setted the check_bacula for one of the host (bacula), and
nagios is showing "null" for status information and status is critical.
<BR><BR>on (/usr/local/nagios/etc/objects/commands.cfg):<BR><BR>define
command{<BR>command_name
check_bacula<BR>command_line
$USER1$/check_bacula -H $HOSTADDRESS -d $ARG1$ -M $ARG2$ -K
$ARG3$<BR>}<BR><BR>What do I have to do to get it working?<BR><BR><BR>
<DIV class=gmail_quote>On Tue, Apr 28, 2009 at 2:38 PM, Masopust, Christian
<SPAN dir=ltr><<A
href="mailto:christian.masopust@siemens.com">christian.masopust@siemens.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV class=im><BR>> Eduardo Barreto wrote:<BR>> > Hi all,<BR>>
><BR>> > Does anybody know how to check a Bacula Server? I've
installed<BR>> > check-bacula but it's not working fine.<BR>> >
Anybody to give me a clue?<BR>> ><BR>> ><BR>> > Thanks in
advance<BR>> ><BR>> ><BR>> > Eduardo<BR>>
><BR><BR></DIV>Hi Eduardo,<BR><BR>what are your problems when using
check_bacula (I assume you are using<BR>the C-program in
bacula-x.x.x/examples/nagios/nagios_plugin_check_bacula.tgz) ?<BR><FONT
color=#888888><BR>Christian<BR></FONT></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>