archiver.sh - StorageTek QFS or Oracle HSM archiver exception notification script
∕etc∕opt∕SUNWsamfs∕scripts∕archiver.sh
prg_name
pid
severity
msg_no
msg
SUNWsamfs
The archiver executes the
∕etc∕opt∕SUNWsamfs∕scripts∕archiver.sh
script when it encounters abnormal
or exceptional events. You can substitute a site-specific
version of this script by using the archiver's notify
directive in the archiver.cmd (4) file.
For all events, the
∕etc∕opt∕SUNWsamfs∕scripts∕archiver.sh
script logs events to
syslog
using the
∕usr∕bin∕logger
command. In addition,
the
emerg, alert, crit, and err
keywords generate email to the root account, echoing the message
string.
The archiver executes
∕etc∕opt∕SUNWsamfs∕scripts∕archiver.sh
and any scripts defined by the user through the notify directive
with the following arguments:
The name of the program that is calling this script.
The process ID of the program that is calling this script.
A keyword that identifies the severity and the
syslog
level of the event. The keywords are as follows:
emerg, alert, crit, err, warning,
notice, info, and debug.
The message number as found in the message catalog.
The text of the translated message string.