Re: [bareos-users] Re: some mount messages not sent by e-mail

2020-09-23 Thread Spadajspadaj
You have the messages configuration but do you have it attached to the 
appropriate job resource?



On 23.09.2020 12:19, 'birgit.ducarroz' via bareos-users wrote:

Hi, no one can help me?

birgit.ducarroz schrieb am Montag, 14. September 2020 um 11:32:42 UTC+2:

Hi,

I would like to receive an e-mail when a cartridge is full and I
need to
insert a new one, but I wonder why I do not get the following
messages
by mail:

"bareos-sd JobId 12: Please mount append Volume "users-0005" or
label a
new one for:
Job: users.2020-09-11_13.11.37_17
Storage: "LTO7-Tape-Drive"
(/dev/tape/by-id/scsi-350050763121460f3-nst)"


When restoring, I got the following e-mail, so this seems to work...
"10-Sep 15:33 bareos-sd JobId 9: Please mount read Volume
"WORM-0003" for:
Job: RestoreFiles.2020-09-10_15.33.47_55"


I re-checked the doc here, but I cannot figure out what is going
wrong.
https://docs.bareos.org/bareos-18.2/Configuration/Messages.html


This is my Standard Mail Config:

Messages {
Name = Standard
Description = "Reasonable message delivery -- send most everything to
email address and to the console."

operatorcommand = "/usr/bin/bsmtp -h root@localhost -f\"\(Bareos
lx85\) \<%r\>\" -s \"Bareos lx85: Intervention needed for %j\" %r"

mailcommand = "/usr/bin/bsmtp -h root@localhost -f \"\(Bareos lx85\)
\<%r\>\" -s \"Bareos lx85: %t %e of %c %l\" %r"

operator = root@localhost = mount #


mail = root@localhost = warning, error, fatal, mount, notsaved,
restored, security, alert, volmgmt
console = all, !skipped, !saved, !audit
append = "/var/log/bareos/bareos.log" = all, !skipped, !saved, !audit
catalog = all, !skipped, !saved, !audit
}

Can someone give me a hint please?

Thank you in advance,
Birgit

--
You received this message because you are subscribed to the Google 
Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to bareos-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/adbbd431-d144-48c0-85e5-f2683891b790n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/8695befb-a390-fbed-ba11-ef545f1f88c7%40gmail.com.


[bareos-users] Re: some mount messages not sent by e-mail

2020-09-23 Thread 'birgit.ducarroz' via bareos-users
Hi, no one can help me?

birgit.ducarroz schrieb am Montag, 14. September 2020 um 11:32:42 UTC+2:

> Hi,
>
> I would like to receive an e-mail when a cartridge is full and I need to 
> insert a new one, but I wonder why I do not get the following messages 
> by mail:
>
> "bareos-sd JobId 12: Please mount append Volume "users-0005" or label a 
> new one for:
> Job: users.2020-09-11_13.11.37_17
> Storage: "LTO7-Tape-Drive" (/dev/tape/by-id/scsi-350050763121460f3-nst)"
>
>
> When restoring, I got the following e-mail, so this seems to work...
> "10-Sep 15:33 bareos-sd JobId 9: Please mount read Volume "WORM-0003" for:
> Job: RestoreFiles.2020-09-10_15.33.47_55"
>
>
> I re-checked the doc here, but I cannot figure out what is going wrong.
> https://docs.bareos.org/bareos-18.2/Configuration/Messages.html
>
>
> This is my Standard Mail Config:
>
> Messages {
> Name = Standard
> Description = "Reasonable message delivery -- send most everything to 
> email address and to the console."
>
> operatorcommand = "/usr/bin/bsmtp -h root@localhost -f\"\(Bareos 
> lx85\) \<%r\>\" -s \"Bareos lx85: Intervention needed for %j\" %r"
>
> mailcommand = "/usr/bin/bsmtp -h root@localhost -f \"\(Bareos lx85\) 
> \<%r\>\" -s \"Bareos lx85: %t %e of %c %l\" %r"
>
> operator = root@localhost = mount #
>
>
> mail = root@localhost = warning, error, fatal, mount, notsaved, 
> restored, security, alert, volmgmt
> console = all, !skipped, !saved, !audit
> append = "/var/log/bareos/bareos.log" = all, !skipped, !saved, !audit
> catalog = all, !skipped, !saved, !audit
> }
>
> Can someone give me a hint please?
>
> Thank you in advance,
> Birgit
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/adbbd431-d144-48c0-85e5-f2683891b790n%40googlegroups.com.