Hello, > Date: Fri, 08 Jun 2007 03:30:43 -0400 > From: Ryan Novosielski <[EMAIL PROTECTED]> > Subject: Re: [Bacula-users] Problems using smartmontools as Tape Alert > Command > To: bacula-users@lists.sourceforge.net > Message-ID: <[EMAIL PROTECTED]> > 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 > |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users