Bacula-users

Re: [Bacula-users] Monitoring bacula with Nagios

2009-03-26 20:50:50
Subject: Re: [Bacula-users] Monitoring bacula with Nagios
From: mark.bergman AT uphs.upenn DOT edu
To: Mike <mike AT csits DOT net>
Date: Thu, 26 Mar 2009 20:24:39 -0400

In the message dated: Thu, 26 Mar 2009 23:21:53 -0000,
The pithy ruminations from Mike on 
<[Bacula-users] Monitoring bacula with Nagios> were:
=> 

=> 
=> Folks,
=> 
=> Does anyone have any tips for montioring Bacula with Nagios?

Yes.


=> 
=> Ideally I was thinking of connecting to the sockets and doing a hello to
=> make sure it was happy.  I haven't been able to find any plugings and
=> tinking with the protocol there seems to be some non printing characters
=> which makes it a little tricky to write my own.
=> 
=> Any other suggestions for achiving it?

Sure.

I'm using the Nagios "nrpe" facility to have the nagios server issue calls to 
each client to run the nagios "check_procs" command, looking for the presence 
of the process "bacula-fd". You can do similar things to check for the 
bacula-sd and bacula-dir daemons.

Here are some config file snippets:

===nagios server===
checkcommands.cfg
        command_line    /usr/lib/nagios/check_nrpe -H $HOSTADDRESS$ -c 
check_bacula-fd -t 20


===backup client===
nrpe.cfg
        command[check_bacula-fd]=/usr/local/nagios/libexec/check_procs  -C 
bacula-fd -c 1: -w :2


=> 
=> Mike.
=> 

----
Mark Bergman                              voice: 215-662-7310
mark.bergman AT uphs.upenn DOT edu                 fax: 215-614-0266
System Administrator     Section of Biomedical Image Analysis
Department of Radiology            University of Pennsylvania
      PGP Key: https://www.rad.upenn.edu/sbia/bergman



The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. If the reader of 
this message is not the intended recipient or an agent responsible for 
delivering it to the intended recipient, you are hereby notified that you have 
received this document in error and that any review, dissemination, 
distribution, or copying of this message is strictly prohibited. If you have 
received this communication in error, please notify us immediately by e-mail, 
and delete the original message.

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users