Hi
bacula reacts very badly when not enough space on the disk when running Job.
When checking Volumes appear incorrigibility errors ("short block" and others).
Workaround:
METHOD 1. Simple.
Job {
...
RunBeforeJob = "/path/diskmon.sh"
}
And see diskmon.sh in attachments.
METHOD 2. Using snmp.
RunBeforeJob = "/path/chk_free_space_on_sd1.pl -j %n"
And see chk_free_space_on_sd1.pl in attachments.
This script is looking for Storage for Job, and on behalf Storage is
looking for his network address.
Plugin from nagios inside.
Used two bacula configuration file: "our-clients" (it all in boxing
with which backup), Director's file, there is information about
Storages.
--
with best regards
diskmon.sh
Description: Bourne shell script
chk_free_space_on_sd.pl
Description: Perl program
-------------------------------------------------------------------------
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
|