Thanks Sachin, but the $nimts_exp is the time of Origin of the alarm. Here is the problem.
When the alarm is sent out, it is in the following format
<b>Time:</b> $nimts_exp, <b>Arrival Time:</b> $arrival_exp
So we have an email that lists the Time the offending behavior happened (Origin) and then the time it hit the NAS (Arrival). The problem being that the majority of cases, people think the Arrival time is the latest time that the alert came in. So in some cases, you have a problem occur on July 13th, the alarm shows as follows
Time: Tue Jul 13 10:05:52 2011, Arrival Time: Tue Jul 13 10:05:58 2011
Now, lets say the offending behavior does not clear until the next day (July 14), when the clear goes out, it shows the same information.
Time: Tue Jul 13 10:05:52 2011, Arrival Time: Tue Jul 13 10:05:58 2011
Then I get calls, "How come I am only getting this alert now? It is July 14th and the clear shows an Arrival of July 13th."
I am looking to replace the $arrival_exp with the actual received time of the message. I am trying the $aots_exp, but so far it enters
Recieved Time: Wed Dec 31 19:00:00 1969