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

Hey all,

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

...however, this is what happens when my jobs run, at the top of the job
report e-mail that comes back:

04-Jun 23:01 helios-sd: Alert: smartctl version 5.36
[sparc-sun-solaris2.8] Copyright (C) 2002-6 Bruce Allen
04-Jun 23:01 helios-sd: Alert: Home page is
http://smartmontools.sourceforge.net/
04-Jun 23:01 helios-sd: Alert:
04-Jun 23:01 helios-sd: Alert: Smartctl: please specify device type with
the -d option.
04-Jun 23:01 helios-sd: Alert:
04-Jun 23:01 helios-sd: Alert: Use smartctl -h to get a usage summary
04-Jun 23:01 helios-sd: Alert:
04-Jun 23:01 helios-sd: 3997 Bad alert command: sh -c
'/opt/csw/sbin/smartctl -H -l error *None*': ERR=Child exited with code 1.

...clearly the %c is supposed to turn into something better than *None*.
I also find it curious that this command is running BEFORE the job
writes to tape, but if I'm not mistaken, I believe this is because I'm
using 2.0.2 instead of 2.0.3, and order of some things that happen
during a backup (ie. backup is considered finsihed) happen in a
different order in 2.0.3.

Thanks for any of your insights!

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

iD8DBQFGaLTomb+gadEcsb4RAuKwAKCDemE6JeWM+9CZJ7dwy9QIum02bACgmT93
aGdU57KRp6LGwghqinVw0Ew=
=a6WI
-----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