bacula: Hard coded device name to tape alert command and forced smartctl exit status to 0
This commit is contained in:
parent
35f585fd41
commit
1410f68590
1 changed files with 2 additions and 2 deletions
|
@ -7,6 +7,6 @@ Device {
|
|||
AlwaysOpen = no;
|
||||
RemovableMedia = yes;
|
||||
RandomAccess = no;
|
||||
Alert Command = "sh -c 'tapeinfo -f %c | grep TapeAlert | cat'"
|
||||
Alert Command = "sh -c 'smartctl -H -l error %c'"
|
||||
Alert Command = "sh -c 'tapeinfo -f <%= @device %> | grep TapeAlert | cat'"
|
||||
Alert Command = "sh -c 'smartctl -H -l error <%= @device %>' | cat"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue