Bacula-users

[Bacula-users] RunAfterJob when verify differences fails...

2010-06-10 06:08:01
Subject: [Bacula-users] RunAfterJob when verify differences fails...
From: Kalin Damyanov <kalin AT datamax DOT bg>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 10 Jun 2010 12:37:27 +0300
Hi! Im trying to find a work around this problem:

Im using nagios to receive bacula notifications of the jobs exit status.
So, my problem is that the afterjobs scripts are executed by bacula 
after every job (backup or catalog init ) except when the exit status is 
of the job "Verify Differences"
Like this:
---------------------------------------------------------------------
Verify JobId:           10316
   Verify Job:
   Start time:             10-Jun-2010 12:18:42
   End time:               10-Jun-2010 12:19:52
   Files Examined:         28,710
   Non-fatal FD errors:    0
   FD termination status:  OK
   Termination:            Verify Differences
----------------------------------------------------------------------
some info on the job configuration:
---------------------------------------
JobDefs {
   Name = "Job-xxx-verify"
   Type = Verify
   Level = Catalog
   Schedule = "VerifyCycle"
   Storage = File-xxx-sd
   Messages = Standard
   Pool = Pool-xxx-sd
   Priority = 10
   Maximum Concurrent Jobs = 60
   SpoolData = yes
   RunAfterJob = "/etc/bacula/bacula2nagios.sh \"%n\" 0 \"%e %l %v\""
   RunAfterFailedJob = "/etc/bacula/bacula2nagios.sh \"%n\" 1 \"%e %l %v\""
}
----------------------------------

Client and server version of bacula is 5.02
Can someone help with solving that issue?
Thanks in advance!

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] RunAfterJob when verify differences fails..., Kalin Damyanov <=