Hi,

I've a perl-script which checks in the bacula-db of the database host if
jobs were completed successfully. Got it from someone which I don't
remember. (check_bacula.pl version 0.0.1)

..

Googled and found him.
Julian Hein (www.netways.de) posted it here 1 year ago. 

You can find it here: 
http://64.233.183.104/search?q=cache:o5fXJqTn8OUJ:sourceforge.net/mailarchiv
e/forum.php%3Fforum_id%3D8833%26max_rows%3D25%26style%3Dnested%26viewmonth%3
D200403+check_bacula.pl&hl=de

Perhaps Julian already has a newer version if this script? 

Bye
Roland

 

-----Ursprüngliche Nachricht-----
Von: Arno Lehmann [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 18. April 2005 11:07
An: Marcin Wasilewski
Cc: bacula-users@lists.sourceforge.net
Betreff: Re: [Bacula-users] Bacula and Nagios

Hi.

Marcin Wasilewski wrote:

> Hello,
> 
> I am using Bacula and I think about integrating it with Nagios.
> Is it possible for bacula to send trap after the backup is done?
> Anyone tried this?

Yup.

I have three things set up and tried, but currently Nagios is not working
here due to some sort of problem nobody can do anything about :-(

First two things are "invented" by me:
1. Use RunAfterJob to notify a Nagios instance of a finished backup. I use a
script that calls send-nsca with some parameters. This is some sort of a
hack, though. This is trivial.
2. Use snmp from the monitoring server to verify baculas daemons are
running. Simply a shell script as a wrapper around snmpwalk. The script is
trivial, my thinking why I check for the processes is not: I want to have a
way of checking for the necessary processes without having to distribute the
bacula keys on another server, and without having to modify existing
configuration files to include monitor sections.
3. Christian Masopust created a program to connect to baculas daemons as a
monitor, get their status, and return what Nagios needs. This works ok, as
far as I know. I tried the program, but I guess it's better if you ask him
for it - perhaps he improved it, and at least it would be polite to have it
"released" by the actual author ;-) By the way: That check_bacula program is
based on a modified tray monitor - my suggestion was to basically remove the
gui part and have the configuration done by command line, and I think
Christian did it like this, so it uses baculas own network communication
functions and not something re-engineered.

In case Christian does read not the list at the moment: Use
[EMAIL PROTECTED] to contact him.

Arno

> Best regards
> Marcin
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide Read honest & candid 
> reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews
on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to