This function enables you to run a script along with each event sent in an email. This script is executed for each new event and receives the following arguments:
Note -
The script must be able to run from a cron
environment and, therefore, full command paths are required.
A complete example for the script /usr/local/bin/test
follows:
/usr/local/bin/test -C "t3" -S "2" -E "communicationLostEvent" \
-T "switch:10000023EA348A" -N "sw1a" \
-G " 21.26.37" \
-A "TRUE" \
-D "Lost communication (out of band) with switch swa1"
-I "[ipno]"
Note -
Email might not be sent if the system is not properly configured to send mail to the recipient. This is primarily evident in Storage Service Processor environments where the Storage Service Processors are on a subnet and there is no gateway to the intended recipient.