Bacula-users

Re: [Bacula-users] Problem with RunScript

2010-03-23 10:00:00
Subject: Re: [Bacula-users] Problem with RunScript
From: Daniel De Marco <ddm AT bartol.udel DOT edu>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 23 Mar 2010 09:33:50 -0400
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&#174; 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&#174; 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

<Prev in Thread] Current Thread [Next in Thread>