Checking Bacula Server
Masopust, Christian
christian.masopust at siemens.com
Tue Apr 28 22:09:06 CEST 2009
Hello Eduardo,
your command-line is wrong:
[root at atvies00nx etc]# ../libexec/check_bacula -h
Copyright (C) 2005 Christian Masopust
Written by Christian Masopust (2005)
Version: 2.2.6 (10 November 2007) i686-pc-linux-gnu redhat Enterprise release
Usage: check_bacula [-d debug_level] -H host -D daemon -M name -P port
-H <host> hostname where daemon runs
-D <daemon> which daemon to check: dir|sd|fd
-M <name> name of monitor (as in bacula-*.conf)
-K <md5-hash> password for access to daemon
-P <port> port where daemon listens
-dnn set debug level to nn
-? print this message.
so, for example, checking director you need:
/check_bacula -H $HOSTADDRESS$ -D dir -M <name of monitor> -K $USER2$ -P 9101
for sd:
check_bacula -H $HOSTADDRESS$ -D sd -M <name of monitor> -K $USER2$ -P 9103
christian
--
"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
________________________________
From: Eduardo Barreto [mailto:lecb79 at gmail.com]
Sent: Tuesday, April 28, 2009 8:11 PM
To: Masopust, Christian
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Checking Bacula Server
I've setted the check_bacula for one of the host (bacula), and nagios is showing "null" for status information and status is critical.
on (/usr/local/nagios/etc/objects/commands.cfg):
define command{
command_name check_bacula
command_line $USER1$/check_bacula -H $HOSTADDRESS -d $ARG1$ -M $ARG2$ -K $ARG3$
}
What do I have to do to get it working?
On Tue, Apr 28, 2009 at 2:38 PM, Masopust, Christian <christian.masopust at siemens.com> wrote:
> Eduardo Barreto wrote:
> > Hi all,
> >
> > Does anybody know how to check a Bacula Server? I've installed
> > check-bacula but it's not working fine.
> > Anybody to give me a clue?
> >
> >
> > Thanks in advance
> >
> >
> > Eduardo
> >
Hi Eduardo,
what are your problems when using check_bacula (I assume you are using
the C-program in bacula-x.x.x/examples/nagios/nagios_plugin_check_bacula.tgz) ?
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090428/fa434da1/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list