Automated Response
Sample Response Programs
Forwarding Information
Sending an
#!/usr/bin/sh
#
#Sample
#Send an email to root if a severity 1 alert is received
#Replace this with the target email address RECIPIENT=”root”
#If we have a severity 1 alert then send the details in email if [ $3 = “1” ]
then
echo “$8” /usr/bin/mailx
fi
196 | Appendix B |