> Is there are way of distinguishing between such messages? I am
> assuming it is to do with the priority settings in the notifications
> section but if so I can't find any reference to what it is.
>
> I'd like for no failures the notification to email addressA, when any
> failures, the notification is to a different, addressB
Yes, you can set up savegroup completion notifications with different
priority. In my environment I've defined one with priorities "notice, alert"
for normal/failed backups and the second one with priority "alert" for
failed backups that goes to a different email address:
type: NSR notification;
name: Savegroup completion;
comment: ;
action: "/usr/ucb/mail -s \"backup's savegroup
completion\" backupmail";
event: Savegroup;
priority: alert, notice;
enabled: ;
additional email recipients: ;
type: NSR notification;
name: Savegroup completion failure;
comment: ;
action: "/usr/ucb/mail -s \"backup's savegroup
failure\" backfailmail";
event: Savegroup;
priority: Alert;
enabled: ;
additional email recipients: ;
Regards,
Janis Smits
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu
if you have any problems
wit this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|