Hello Reynier,

have you seen that there's a "check_bacula" within Bacula source
distribution?  Look for it in examples/nagios.

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  

> -----Original Message-----
> From: Reynier Pérez Mira [mailto:rper...@uci.cu] 
> Sent: Wednesday, September 23, 2009 12:28 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Checking Bacula with Nagios
> 
> Hi every:
> I need to check Bacula status over Nagios. For that I follow 
> the steps 
> explained here: 
> http://wiki.bacula.org/doku.php?id=nagios_active_checks. 
> After get NRPE working I get this error in my Nagios:
> NRPE: Unable to read output.
> 
> The NRPE configuration on Bacula Server is this one:
> command[check_bacula_baculaserver_dir]=/usr/local/nagios/libex
> ec/check_bacula.pl 
> -H 24 -w 2 -c 1 -j SP_SVEXPBD01-FD
> 
> And the NRPE command in Nagios config is this:
> #Check Bacula
> define service{
>       use                    local-service
>          host_name              10.128.50.11
>          service_description    Check Bacula Job
>          check_command          
> check_nrpe!check_bacula_baculaserver_dir
> }
> 
> Can any tell me where the problem is?
> Cheers and thanks in advance
> 
> --------------------------------------------------------------
> ----------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. 
> Jumpstart your
> developing skills, take BlackBerry mobile applications to 
> market and stay 
> ahead of the curve. Join us from November 9-12, 2009. 
> Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@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
> 
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to