Author: "Reynier Perez Mira" <rperezm AT uci DOT cu>
Date: Fri, 12 Jun 2009 10:16:49 -0400
Hi every: I have Bacula configured for send me a beeper in case a Job fail. This script (make in Perl) needs Internet connection. Now I want to set the environment var http_proxy and unset directly f
You can always create a send_bacula_beeper.sh which contains http_proxy=some_ip:some_port send_beeper.pl $* -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licens
Just like you do now from Bacula. The parameter $* means 'all parameters', so the new shell script passes all of its parameters to send_beeper.pl. Just pass to it the %n and %e in Bacula. -- Crystal
Author: Reynier Pérez Mira <rperezm AT uci DOT cu>
Date: Mon, 15 Jun 2009 10:23:59 -0400
Jari, sorry about my poor knowledge about this topic, could you please leave me a clear example? Regards -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing
Author: Reynier Pérez Mira <rperezm AT uci DOT cu>
Date: Mon, 15 Jun 2009 09:28:29 -0400
Hi: I haven't enough knowledge of Bash. I want to use var from Bacula as %n and %e. I create a script as you suggest me. http_proxy=some_ip:some_port send_beeper.pl $* http_proxy= But how I can pass
I'm sorry; I have not implemented any beeper scripts with Bacula. But I though that you have an idea how to implement the beeper.pm. My beeper.sh shell script was ment to be put the in where you cal
You need to study the Messages stanza in bacula-dir.conf I have it like this (propably very default setting) Messages { Name = Standard mailcommand = "/sbin/bsmtp -h localhost -f \"Bacula <%r>\" -s