-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Keith Sudbury wrote:
> Cesare Montresor wrote:
>> I'm using bacula 2.2.8 on debian, my e-mail notification is "mail on
>> error" but i would like to recive an e-mail on "OK with warning" jobs,
>> how to setup ?
>>
>
> I Have done this with:
>
> Messages {
> Name = Standard
> mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
> \"Bacula: %t %e of %c %l\" %r"
> operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\"
> -s \"Bacula: Intervention needed for %j\" %r"
> mail = me AT mydomain DOT com = all, !skipped
> operator = me AT mydomain DOT com = mount
> console = all, !skipped, !saved
> append = "/var/spool/bacula/log" = all, !skipped
> }
>
>
>
> Messages {
> Name = Daemon
> mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
> \"Bacula daemon message\" %r"
> mail = me AT mydomain DOT com = all, !skipped
> console = all, !skipped, !saved
> append = "/var/log/bacula.log" = all, !skipped
> }
>
>
> If you search your bacula-dir.conf you will probably already have it
> there and just need to change root to your email address.
You've misunderstood the question I think. He wants e-mail on a
condition that currently does not receive special e-mail: "OK, with
warnings"
- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIkg1lmb+gadEcsb4RAlvFAJ0Y7LcQcDLLRNBXHjqE4Y2ofgyHYgCfZAoq
Ps33Ag6y/boZ3X7f8qDUf6w=
=vzsU
-----END PGP SIGNATURE-----
novosirj.vcf
Description: Vcard
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|