-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralf Gross wrote:
> Ryan Novosielski schrieb:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> 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'"
>>> 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?
> 
> It's in 'CHAPTER 28. AUTOCHANGER SUPPORT'
> ...
> %c = changer device name
> ...
> 
> Of course you can use the device path instead of %c.

I don't have an autochanger. Would that mean I'd have to type the path
in manually, or use a different variable?

- --
 ---- _  _ _  _ ___  _  _  _
 |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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGaQi6mb+gadEcsb4RAgQzAKCbs3ODQYi0x8PrnZyKtGZqOVPZSQCdHyxx
G3zhWtoKmdrVOVtX0C4zC3E=
=CbWF
-----END PGP SIGNATURE-----
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
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

Reply via email to