Hello,
Date: Fri, 08 Jun 2007 03:30:43 -0400
From: Ryan Novosielski <novosirj < at > um...>
Subject: Re: [Bacula-users] Problems using smartmontools as Tape
Alert
Command
To: bacula-users < at > li...
Message-ID: <466905A3.6050707 < at > um...>
Content-Type: text/plain; charset="iso-8859-1"
Message was signed with unknown key 0xD11CB1BE.
The validity of the signature cannot be verified.
Ralf Gross wrote:
Ryan Novosielski schrieb:
Could someone tell me where I'm going wrong here? Here is my line that
I've added to the config files, stolen directly from those who know what
they're doing:
Alert Command = "sh -c '/opt/csw/sbin/smartctl -H -l error %c'"
The original command given just above is probably correct, but I imagine the
user is not using an Autochanger and hence forgot to add the "Changer Device"
directive (the name is not totally appropriate in this particular case) that
tells Bacula where to find the control device (%c).
Try something like this:
Alert Command = "sh -c 'smartctl -H -d scsi -l error %c'"
I'll certainly give it a shot, but doesn't it look like the %c is never
getting expanded to anything? Does anyone know where in the manual these
% variables are discussed?
--
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III
|$&| |__| | | |__/ | \| _| |novosirj < at > um... - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
