Hi,
I just tested the patch at:
http://bugs.bacula.org/view.php?id=1526
and it works fine and solves the problem in my case.
Thank you.
Daniel.
* Daniel De Marco <ddm AT bartol.udel DOT edu> [03/05/2010 12:54]:
> Hi,
>
> I have the following RunScript directive in my jobdefs to notify nagios
> about the status of backups:
> RunScript {
> Command = "/usr/local/sbin/bacula2nagios.sh \"%n\" \"%e\" \"%e %l %v\""
> RunsWhen = After
> RunsOnFailure = yes
> RunsOnClient = no
> RunsOnSuccess = yes
> }
>
> This seems to work fine for Backup jobs: the script gets run both for
> successful and failed jobs. I use the same directive/script for my
> Verify jobs and in that case the script is being called only if the
> Verify job completed without finding differences, if differences are
> found, the script is not being executed.
>
> Any idea of how I could fix this and have the script run all times?
>
> Thanks, Daniel.
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|