Hi, Rather than using email, I would like OSSEC to send it’s notifications to a bash script which I wrote. This script then publishes the message to Amazon’s Simple Notification Service (SNS). So the usage for my script is as so:
./myscript $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11, etc. I have this working with Nagios monitoring system, I have it setup to call my script rather than /usr/bin/mail. Is it possible to do this with OSSEC? And if so, how? Cheers
