Thank you, Ken,
that works :)

Anyway, still want to hear opinions for 
http://www.bacula.org/5.2.x-manuals/en/problems/problems/Tips_Suggestions.html#SECTION003160000000000000000.

 --
Trigve


----- Original Message -----
> From: Ken Barclay <ken.barc...@qbmore.com>
> To: 'Trigve Siver' <trig...@yahoo.com>; bacula-users@lists.sourceforge.net
> Sent: Tuesday, December 8, 2015 10:08 AM
> Subject: RE: [Bacula-users] Manual tape change email
> 
> Hi Trigve,
> 
> In your Messages section, you need something like this:
> 
> operatorcommand = "/usr/sbin/bsmtp -h localhost -f 
> \"\(Bacula\) \<%r\>\" -s
> \"Bacula: Intervention needed for %j\" %r"
>   operator = your.n...@example.com = mount
> 
> http://www.bacula.org/5.1.x-manuals/en/problems/problems/Tips_Suggestions.ht
> ml#SECTION00320000000000000000
> 
> Ken
> 
> -----Original Message-----
> From: Trigve Siver [mailto:trig...@yahoo.com] 
> Sent: Tuesday, 8 December 2015 3:55 PM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Manual tape change email
> 
>> ________________________________
>>  From: Heitor Faria <hei...@bacula.com.br>
>> To: Trigve Siver <trig...@yahoo.com>
>> Cc: bacula-users@lists.sourceforge.net
>> Sent: Friday, December 4, 2015 3:37 PM
>> Subject: Re: [Bacula-users] Manual tape change email
>> 
>> 
>> 
>> Hello Siver: those are the operator messages, defined in stock Bacula
> Configuration in the Messages resource.
>> If you are not receiving emails check mail.log / .err.
>> It is advisible to use a local relay in order to have more email sending
> options.
>> Regards,
>> =======================================================================
>> ==== Heitor Medrado de Faria - LPIC-III | ITIL-F |  Bacula Systems 
>> Certified Administrator II Do you need Bacula training? 
>> http://bacula.us/video-classes/ I do Bacula training and deploy in any 
>> city of the world. More information: http://bacula.us/
>> +55 61 8268-4220
>> Site: http://bacula.us FB: heitor.faria 
>> =======================================================================
>> ====
>> Enviado por TypeMail
>> 
>> 
>> 
>> 
>> 
>> Em 4 de dez de 2015, pelo 12:31, Trigve Siver <trig...@yahoo.com> 
> escrito:
>> Hi,
>>> I'm using bacula 5.2.6 on debian, using LTO-4 tape drive.
>>> 
>>> I've got couple of job defined, and one of them is run on the 1st of 
> each
> month with its own volume. So I need to change the tape.
>>> 
>>> What I would like is to have email notification if the tape needs to be
> changed. I've tried to find some solutions but without the luck.
>>> 
>>> Is there some settings I can set to give me this notifications?
>>> 
>>> I've also found
>>> http://www.bacula.org/5.1.x-manuals/en/problems/problems/Tips_Suggestions.
> html#SECTION003160000000000000000 . Has anyone tried this?
>>> 
>>> Or
> http://wiki.bacula.org/doku.php?id=sample_configs#faking_an_auto-changer_wit
> h_one_tape_drive?
>>> 
>>> Thank You
>>> 
>>> 
>>> --
>>> Trigve
>>> 
>>> 
>>> ________________________________
>>> 
>>> Go from Idea to Many App Stores Faster with Intel(R) XDK Give your 
>>> users amazing mobile app experiences with Intel(R) XDK.
>>> Use one codebase in this all-in-one HTML5 development environment.
>>> Design, debug & build mobile apps & 2D/3D high-impact games for 
> multiple
> OSs.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
>>>>> ________________________________
>>> 
>>> Bacula-users mailing list
>>> Bacula-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>> 
>> 
> 
>> 
> 
> Thanks for the reply,
> and sorry for my late reply.
> 
> I'm using the stock configuration with some minor modifications for the
> email (custom command for sending the mail). I would like to note, that I'm
> getting other notifications by email. Just not the one when volume need to
> be changed.
> 
> Here is my message configuration.
> 
> 
> Messages {
> Name = Standard
> mailcommand = "..."
> mail = ... = all, !skipped
> console = all, !skipped, !saved
> append = "/var/log/bacula/bacula.log" = all, !skipped }
> 
> Also, anyone have tried this
> http://www.bacula.org/5.1.x-manuals/en/problems/problems/Tips_Suggestions.ht
> ml#SECTION003160000000000000000? I would like to know your experience.
> 
> 
> Thank You
> 
> --
> Trigve
> 
> ----------------------------------------------------------------------------
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users
> amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to