Script-Based Alert Dispatcher now pass five parameters to script,including alert definition name, definition label,service name, alert state, and alert text.
But if script can receive other two parameters from dispather,it will be better.
Because hostname the alert for is not always included in alert text,although it may be null like aggregate alerts.
With it we can more quick to find the related host that occured alert.
We may need to know the alert occurrence time ( state change time) more exactly. After the alert happened,it will spend some time to schedule the script to run.
Without it,we can only regard the script start time as the alert occurrence time.
We now use this feature to send alert information to mobile phone and suggest also passing hostname and alert timestamp.