In my bacula director i have a Messages resoruces used for generic messages
like:
Messages {
Name = Daemon
Description = "Messages resource for daemons (no jobs)"
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula LNF\) \<%r\>\" -s
\"[BaculaLNF] Notifica generica dal sistema di backup.\" %r"
mail = [email protected] = all, !skipped
console = all, !skipped, !saved
append = "/var/log/bacula/bacula.log" = all, !skipped
catalog = all, !skipped, !saved
}
In some event, tipically when director get restarted, but also sometime
whene someone on bacula console type 'messages' to show the messages log, i
got spurious email with, as an example:
26-Jan 11:07 lnfbacula-dir JobId 0: Max configured use duration=864,000 sec.
exceeded. Marking Volume "SVPVE3002" as Used.
26-Jan 11:07 lnfbacula-dir JobId 0: Max configured use duration=86,400 sec.
exceeded. Marking Volume "PDPVE2RDX_0002_0003" as Used.
26-Jan 11:07 lnfbacula-dir JobId 0: Recycled volume "PDPVE2RDX_0001_0004"
23-Jan 16:00 lnfbacula-dir JobId 0: Error: bsockcore.c:285 gethostbyname() for
host "bts-station1513.dyn.pp.lnf.it" failed: ERR=Name or service not known
23-Jan 16:00 lnfbacula-dir JobId 0: Failed to connect to File daemon.
23-Jan 16:00 lnfbacula-dir JobId 0: 3000 JobId=3205
Job="Bts-station1513.2023-01-23_08.00.00_40" marked to be canceled.
('bts-station1513.dyn.pp.lnf.it' is an host that is not always on, so it is
normal as an error).
I've log full of these, clearly, but simply sometime they are sent via
message resources, while normally no.
WHY?! Thanks.
--
Solo una sana e consapevole libidine
salva il giovane dagli SCOUT e dall'Azione Cattolica!
(Zucchero, circa O;-)
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users